Diffstat (limited to 'noncore/settings/packagemanager/filterdlg.h') (more/less context) (ignore whitespace changes)
-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 | |||
@@ -49,11 +49,11 @@ public: | |||
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 | { |
@@ -68,10 +68,10 @@ public: | |||
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: |