Update GPL blurb in source files.
[toast/confclerk.git] / src / gui / searchtabcontainer.h
1 /*
2  * Copyright (C) 2010 Ixonos Plc.
3  *
4  * This file is part of ConfClerk.
5  *
6  * ConfClerk is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the Free
8  * Software Foundation, either version 2 of the License, or (at your option)
9  * any later version.
10  *
11  * ConfClerk is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14  * more details.
15  *
16  * You should have received a copy of the GNU General Public License along with
17  * ConfClerk.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #ifndef SEARCHTAB_H_
21 #define SEARCHTAB_H_
22
23 #include <QWidget>
24
25 #include "tabcontainer.h"
26 #include "searchhead.h"
27
28 class SearchTabContainer: public TabContainer {
29     Q_OBJECT
30 public:
31     SearchTabContainer(QWidget *aParent);
32     virtual ~SearchTabContainer();
33 protected:
34     virtual void loadEvents( const QDate &aDate, const int aConferenceId );
35 public slots:
36     void searchAgainClicked(); // made it public - to show header when 1.st conf importing is done successfuly
37 private slots:
38     void searchButtonClicked();
39
40 private:
41     SearchHead *header;
42     QToolButton *searchAgainButton;
43 };
44
45 #endif /* SEARCHTAB_H_ */