summaryrefslogtreecommitdiff
path: root/core/pim/datebook2/mainwindow.h
Side-by-side diff
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 @@
+#ifndef DATE_BOOK_MAIN_WINDOW_H
+#define DATE_BOOK_MAIN_WINDOW_H
+
+#include <qlist.h>
+
+#include <opie/opimmainwindow.h>
+
+namespace Datebook {
+
+ class MainWindow : public OPimMainWindow {
+ Q_OBJECT
+ public:
+ MainWindow();
+ ~MainWindow();
+
+ private slots:
+ void initUI(); // init the UI
+ void initConfig(); // apply the config
+ void initView(); // init the Views..
+ void initManagers(); // init the Managers including templates, location and description
+ void raiseCurrentView(); // raise the current View
+
+ protected slots:
+ void populate();
+ void doSetDocument( const QString& str );
+ void flush();
+ void reload();
+ int create();
+ bool remove( int uid );
+ void beam( int uid );
+ void show( int uid );
+ void edit( int uid );
+ void add( const OPimRecord& );
+
+ private:
+ QList<View> m_view; // the Views.. not autoDelete
+
+ };
+}
+
+#endif