]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/searchtabcontainer.h
Changed the alarm icon due to ticket #40. I haven't tried it because I don't have...
[toast/confclerk.git] / src / gui / searchtabcontainer.h
index fdb1bc3df47ce0fc211a6c2178f8f7523f3594b0..ea278d7ac3dd0ff686c71509776f55accc6d8796 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2010 Ixonos Plc.
- * Copyright (C) 2011 Philipp Spitzer, gregor herrmann
+ * Copyright (C) 2011-2012 Philipp Spitzer, gregor herrmann
  *
  * This file is part of ConfClerk.
  *
@@ -31,11 +31,17 @@ class SearchTabContainer: public TabContainer {
 public:
     SearchTabContainer(QWidget *aParent);
     virtual ~SearchTabContainer() {}
+    bool searchDialogIsVisible() const;
+    int searchResultCount(const QDate& date) const; ///< returns the number of events found on that specific date
+
 protected:
     virtual void loadEvents( const QDate &aDate, const int aConferenceId );
 
+signals:
+    void searchResultChanged();
+
 public slots:
-    void showSearchDialog();
+    void showSearchDialog(bool show=true);
 
 private slots:
     void searchButtonClicked();