diff options
| author | Vishesh Handa <[email protected]> | 2014-03-30 20:33:53 +0200 |
|---|---|---|
| committer | Vishesh Handa <[email protected]> | 2014-03-30 20:33:53 +0200 |
| commit | 2849f71ba04025abcc9fa6b25bd95b36fec09280 (patch) | |
| tree | 3a532f5a17e0c5f18d03759ee0b7abc5fac8eec2 /src/search/dolphinfacetswidget.h | |
| parent | 6c437c12917981829626bef6ff22c8c729357266 (diff) | |
| parent | 5d63b9a111e6ae76ff7b9f5ba9cd26be873aa115 (diff) | |
Merge branch 'KDE/4.13'
Diffstat (limited to 'src/search/dolphinfacetswidget.h')
| -rw-r--r-- | src/search/dolphinfacetswidget.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/search/dolphinfacetswidget.h b/src/search/dolphinfacetswidget.h index 526fe1c79..8f6d8eb6f 100644 --- a/src/search/dolphinfacetswidget.h +++ b/src/search/dolphinfacetswidget.h @@ -57,19 +57,20 @@ public: #ifdef HAVE_BALOO Baloo::Term ratingTerm() const; - QStringList facetTypes() const; + QString facetType() const; + + bool isRatingTerm(const Baloo::Term& term) const; + void setRatingTerm(const Baloo::Term& term); #endif + void setFacetType(const QString& type); + signals: void facetChanged(); private: - /** - * @return New checkbox which is connected to the - * slotFacedChanged() slot whenever it has - * been toggled. - */ - QCheckBox* createCheckBox(const QString& text); + void setRating(const int stars); + void setTimespan(const QDate& date); /** * @return New radiobutton which is connected to the @@ -80,10 +81,11 @@ private: QButtonGroup* group); private: - QCheckBox* m_documents; - QCheckBox* m_images; - QCheckBox* m_audio; - QCheckBox* m_videos; + QRadioButton* m_anyType; + QRadioButton* m_documents; + QRadioButton* m_images; + QRadioButton* m_audio; + QRadioButton* m_videos; QRadioButton* m_anytime; QRadioButton* m_today; |
