author | drw <drw> | 2004-03-26 15:31:48 (UTC) |
---|---|---|
committer | drw <drw> | 2004-03-26 15:31:48 (UTC) |
commit | a49f5d4c801068e94d91fd5b3cf7ec06cddab537 (patch) (unidiff) | |
tree | 73c157799dc961a82c0af52240ccd73f689c3b97 | |
parent | 50ea752cc48729aa9dd3948e40a18a047c1b821b (diff) | |
download | opie-a49f5d4c801068e94d91fd5b3cf7ec06cddab537.zip opie-a49f5d4c801068e94d91fd5b3cf7ec06cddab537.tar.gz opie-a49f5d4c801068e94d91fd5b3cf7ec06cddab537.tar.bz2 |
Fix compiler warnings
-rw-r--r-- | noncore/settings/packagemanager/filterdlg.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/settings/packagemanager/filterdlg.h b/noncore/settings/packagemanager/filterdlg.h index 42bae8b..de9ea80 100644 --- a/noncore/settings/packagemanager/filterdlg.h +++ b/noncore/settings/packagemanager/filterdlg.h | |||
@@ -46,17 +46,17 @@ class FilterDlg : public QDialog | |||
46 | public: | 46 | public: |
47 | FilterDlg( QWidget *parent = 0x0, OPackageManager *pm = 0x0, const QString &name = 0x0, | 47 | FilterDlg( QWidget *parent = 0x0, OPackageManager *pm = 0x0, const QString &name = 0x0, |
48 | const QString &server = 0x0, const QString &destination = 0x0, | 48 | const QString &server = 0x0, const QString &destination = 0x0, |
49 | OPackageManager::Status status = OPackageManager::All, | 49 | OPackageManager::Status status = OPackageManager::All, |
50 | const QString &category = 0x0 ); | 50 | const QString &category = 0x0 ); |
51 | 51 | ||
52 | const QString &name() | 52 | QString name() |
53 | { return m_nameCB->isChecked() ? m_name->text() : QString::null; }; | 53 | { return m_nameCB->isChecked() ? m_name->text() : QString::null; }; |
54 | const QString &server() | 54 | QString server() |
55 | { return m_serverCB->isChecked() ? m_server->currentText() : QString::null; }; | 55 | { return m_serverCB->isChecked() ? m_server->currentText() : QString::null; }; |
56 | const QString &destination() | 56 | QString destination() |
57 | { return m_destCB->isChecked() ? m_destination->currentText() : QString::null; }; | 57 | { return m_destCB->isChecked() ? m_destination->currentText() : QString::null; }; |
58 | OPackageManager::Status status() | 58 | OPackageManager::Status status() |
59 | { | 59 | { |
60 | if ( m_statusCB->isChecked() ) | 60 | if ( m_statusCB->isChecked() ) |
61 | { | 61 | { |
62 | if ( m_status->currentText() == tr( "All" ) ) | 62 | if ( m_status->currentText() == tr( "All" ) ) |
@@ -65,16 +65,16 @@ public: | |||
65 | return OPackageManager::Installed; | 65 | return OPackageManager::Installed; |
66 | else if ( m_status->currentText() == tr( "Not installed" ) ) | 66 | else if ( m_status->currentText() == tr( "Not installed" ) ) |
67 | return OPackageManager::NotInstalled; | 67 | return OPackageManager::NotInstalled; |
68 | else if ( m_status->currentText() == tr( "Updated" ) ) | 68 | else if ( m_status->currentText() == tr( "Updated" ) ) |
69 | return OPackageManager::Updated; | 69 | return OPackageManager::Updated; |
70 | } | 70 | } |
71 | else | 71 | |
72 | return OPackageManager::NotDefined; | 72 | return OPackageManager::NotDefined; |
73 | }; | 73 | }; |
74 | const QString &category() | 74 | QString category() |
75 | { return m_categoryCB->isChecked() ? m_category->currentText() : QString::null; }; | 75 | { return m_categoryCB->isChecked() ? m_category->currentText() : QString::null; }; |
76 | 76 | ||
77 | private: | 77 | private: |
78 | QCheckBox *m_nameCB; | 78 | QCheckBox *m_nameCB; |
79 | QCheckBox *m_serverCB; | 79 | QCheckBox *m_serverCB; |
80 | QCheckBox *m_destCB; | 80 | QCheckBox *m_destCB; |