diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 18:46:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 18:46:25 +0000 |
| commit | 013ee07b55a3738b28b5d46324392d8498b50f2b (patch) | |
| tree | 50979d3872a15fd3e25a746418da0f56c8e8dadd /src/plugins/General/fileops | |
| parent | 542c1d2d3a26ce23b1d0668011b420db231334d2 (diff) | |
| download | qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.gz qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.bz2 qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.zip | |
removed obsolete members
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/fileops')
| -rw-r--r-- | src/plugins/General/fileops/fileops.cpp | 6 | ||||
| -rw-r--r-- | src/plugins/General/fileops/fileopsfactory.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/General/fileops/settingsdialog.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/General/fileops/fileops.cpp b/src/plugins/General/fileops/fileops.cpp index 32aa7b2e2..f9555592b 100644 --- a/src/plugins/General/fileops/fileops.cpp +++ b/src/plugins/General/fileops/fileops.cpp @@ -42,9 +42,9 @@ FileOps::FileOps(QObject *parent) { //separators QAction *separator1 = new QAction(this); - separator1->setSeparator (TRUE); + separator1->setSeparator (true); QAction *separator2 = new QAction(this); - separator2->setSeparator (TRUE); + separator2->setSeparator (true); //load settings QSignalMapper *mapper = new QSignalMapper(this); QSettings settings(Qmmp::configFile(), QSettings::IniFormat); @@ -58,7 +58,7 @@ FileOps::FileOps(QObject *parent) for (int i = 0; i < count; ++i) { - if (settings.value(QString("enabled_%1").arg(i), TRUE).toBool()) + if (settings.value(QString("enabled_%1").arg(i), true).toBool()) { m_types << settings.value(QString("action_%1").arg(i), FileOps::COPY).toInt(); QString name = settings.value(QString("name_%1").arg(i), "Action").toString(); diff --git a/src/plugins/General/fileops/fileopsfactory.cpp b/src/plugins/General/fileops/fileopsfactory.cpp index 20e8aca0e..13b126afa 100644 --- a/src/plugins/General/fileops/fileopsfactory.cpp +++ b/src/plugins/General/fileops/fileopsfactory.cpp @@ -29,8 +29,8 @@ const GeneralProperties FileOpsFactory::properties() const GeneralProperties properties; properties.name = tr("File Operations Plugin"); properties.shortName = "fileops"; - properties.hasAbout = TRUE; - properties.hasSettings = TRUE; + properties.hasAbout = true; + properties.hasSettings = true; properties.visibilityControl = FALSE; return properties; } diff --git a/src/plugins/General/fileops/settingsdialog.cpp b/src/plugins/General/fileops/settingsdialog.cpp index feadafb8c..090cd1e79 100644 --- a/src/plugins/General/fileops/settingsdialog.cpp +++ b/src/plugins/General/fileops/settingsdialog.cpp @@ -55,7 +55,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) comboBox->addItem (tr("Remove"), FileOps::REMOVE); comboBox->setFocusPolicy (Qt::NoFocus); - checkBox->setChecked(settings.value(QString("enabled_%1").arg(i), TRUE).toBool()); + checkBox->setChecked(settings.value(QString("enabled_%1").arg(i), true).toBool()); int ci = comboBox->findData (settings.value(QString("action_%1").arg(i), FileOps::COPY).toInt()); if (ci >= 0) comboBox->setCurrentIndex(ci); @@ -126,7 +126,7 @@ void SettingsDialog::createAction() ui.tableWidget->insertRow (row); QCheckBox *checkBox = new QCheckBox; checkBox->setFocusPolicy (Qt::NoFocus); - checkBox->setChecked(TRUE); + checkBox->setChecked(true); QComboBox *comboBox = new QComboBox; comboBox->addItem (tr("Copy"), FileOps::COPY); |
