summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/mainwindow.h
authorzecke <zecke>2003-02-22 22:59:37 (UTC)
committer zecke <zecke>2003-02-22 22:59:37 (UTC)
commit47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c (patch) (unidiff)
tree034af2ca8bb5ee3e0b751739f9f9a9fbcc241530 /core/pim/datebook2/mainwindow.h
parent00c146960fa7fd05dc56fac2a24b3d7968a4a772 (diff)
downloadopie-47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c.zip
opie-47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c.tar.gz
opie-47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c.tar.bz2
import the new layout/design of datebook
sorry this was not put into a branch and once its done it'll replace datebook and be put into that subdir. but currently I want both versions available so I can test... So by design it'll feature Showing BirthDays Showing Due and OVerDue Todos Better AllDay handling Pinning Events to TimeZones Exceptions to Recurrence
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