summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/mainwindow.h
Unidiff
Diffstat (limited to 'core/pim/datebook2/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook2/mainwindow.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/core/pim/datebook2/mainwindow.h b/core/pim/datebook2/mainwindow.h
new file mode 100644
index 0000000..5ea0c89
--- a/dev/null
+++ b/core/pim/datebook2/mainwindow.h
@@ -0,0 +1,41 @@
1#ifndef DATE_BOOK_MAIN_WINDOW_H
2#define DATE_BOOK_MAIN_WINDOW_H
3
4#include <qlist.h>
5
6#include <opie/opimmainwindow.h>
7
8namespace Datebook {
9
10 class MainWindow : public OPimMainWindow {
11 Q_OBJECT
12 public:
13 MainWindow();
14 ~MainWindow();
15
16 private slots:
17 void initUI(); // init the UI
18 void initConfig(); // apply the config
19 void initView(); // init the Views..
20 void initManagers(); // init the Managers including templates, location and description
21 void raiseCurrentView(); // raise the current View
22
23 protected slots:
24 void populate();
25 void doSetDocument( const QString& str );
26 void flush();
27 void reload();
28 int create();
29 bool remove( int uid );
30 void beam( int uid );
31 void show( int uid );
32 void edit( int uid );
33 void add( const OPimRecord& );
34
35 private:
36 QList<View> m_view; // the Views.. not autoDelete
37
38 };
39}
40
41#endif