]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/search/dolphinfacetswidget.h
Use cmakedefine01
[dolphin.git] / src / search / dolphinfacetswidget.h
index 21eb47360165f417f2182fe8b89f498e432a26da..3e3b0f264411cd63d5c4dac0adf18b89eda7cb5c 100644 (file)
@@ -48,13 +48,13 @@ public:
 
     void setFacetType(const QString& type);
 
-signals:
+Q_SIGNALS:
     void facetChanged();
 
 protected:
     void changeEvent(QEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void updateTagsMenu();
     void updateTagsMenuItems(const QUrl&, const KFileItemList& items);
 
@@ -63,6 +63,7 @@ private:
     void setTimespan(const QDate& date);
     void addSearchTag(const QString& tag);
     void removeSearchTag(const QString& tag);
+    void resetSearchTags();
 
     void initComboBox(QComboBox* combo);
     void updateTagsSelector();
@@ -75,6 +76,7 @@ private:
 
     QStringList m_searchTags;
     KCoreDirLister m_tagsLister;
+    QAction *m_clearTagsAction;
 };
 
 #endif