/*
* 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.
*
}
+bool SearchTabContainer::searchDialogIsVisible() const {
+ return header->isVisible();
+}
+
+
int SearchTabContainer::searchResultCount(const QDate& date) const {
int confId = Conference::activeConference();
if (confId == -1) return 0;
}
-void SearchTabContainer::showSearchDialog() {
- header->show();
- treeView->hide();
+void SearchTabContainer::showSearchDialog(bool show) {
+ header->setVisible(show);
+ treeView->setVisible(!show);
}