diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-03-09 13:51:11 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-03-09 13:51:11 +0000 |
| commit | 358003e84b713bf7c99d57f13e0eda0a02c97678 (patch) | |
| tree | 874aeb510810b06b17f992f9e52443b9bd467813 /src/qmmpui/prefassociations.cpp | |
| parent | 88571372f965b75842e26771355d8ef85ea03482 (diff) | |
| download | qmmp-358003e84b713bf7c99d57f13e0eda0a02c97678.tar.gz qmmp-358003e84b713bf7c99d57f13e0eda0a02c97678.tar.bz2 qmmp-358003e84b713bf7c99d57f13e0eda0a02c97678.zip | |
added 'file types' settings page
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4139 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/prefassociations.cpp')
| -rw-r--r-- | src/qmmpui/prefassociations.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/qmmpui/prefassociations.cpp b/src/qmmpui/prefassociations.cpp index a60498e80..89c12bca2 100644 --- a/src/qmmpui/prefassociations.cpp +++ b/src/qmmpui/prefassociations.cpp @@ -23,18 +23,18 @@ #include "prefassociations.h" -#include "images.h" +//#include "images.h" #include <QSettings> #include <QApplication> #include <QMessageBox> #include "winfileassoc.h" -#include "extensions.h" +//#include "extensions.h" static Qt::CheckState CurItemCheckState = Qt::Unchecked; PrefAssociations::PrefAssociations(QWidget * parent, Qt::WindowFlags f) -: PrefWidget(parent, f ) +: QWidget(parent, f ) { setupUi(this); @@ -52,7 +52,7 @@ PrefAssociations::PrefAssociations(QWidget * parent, Qt::WindowFlags f) //connect(lpbButton, SIGNAL(clicked(bool)), this, SLOT(launchAppDefaults())); } - Extensions e; + /*Extensions e; for (int n=0; n < e.multimedia().count(); n++) { addItem( e.multimedia()[n] ); } @@ -60,7 +60,7 @@ PrefAssociations::PrefAssociations(QWidget * parent, Qt::WindowFlags f) for (int n=0; n < e.playlist().count(); n++) { addItem( e.playlist()[n] ); } - retranslateStrings(); + retranslateStrings();*/ something_changed = false; } @@ -126,7 +126,7 @@ void PrefAssociations::addItem(QString label) void PrefAssociations::refreshList() { m_regExtensions.clear(); - WinFileAssoc ().GetRegisteredExtensions(Extensions().multimedia(), m_regExtensions); + //WinFileAssoc ().GetRegisteredExtensions(Extensions().multimedia(), m_regExtensions); for (int k = 0; k < listWidget->count(); k++) { @@ -207,21 +207,21 @@ QString PrefAssociations::sectionName() { return tr("File Types"); } -QPixmap PrefAssociations::sectionIcon() { +/*QPixmap PrefAssociations::sectionIcon() { return Images::icon("pref_associations", 22); -} +}*/ -void PrefAssociations::retranslateStrings() { +/*void PrefAssociations::retranslateStrings() { retranslateUi(this); createHelp(); -} +}*/ void PrefAssociations::createHelp() { - clearHelp(); + //clearHelp(); - setWhatsThis(selectAll, tr("Select all"), + /*setWhatsThis(selectAll, tr("Select all"), tr("Check all file types in the list")); setWhatsThis(selectNone, tr("Select none"), @@ -232,7 +232,7 @@ void PrefAssociations::createHelp() { "When you click Apply, the checked files will be associated with " "SMPlayer. If you uncheck a media type, the file association will " "be restored.") + - tr(" <b>Note:</b> (Restoration doesn't work on Windows Vista).")); + tr(" <b>Note:</b> (Restoration doesn't work on Windows Vista)."));*/ } #include "moc_prefassociations.cpp" |
