From 47fc358e914aecd13c4cb3d9cb4b3f2ca1a93b6c Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 22 Feb 2003 22:59:37 +0000 Subject: 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 --- (limited to 'core/pim/datebook2/mainwindow.h') 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 + +#include + +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 m_view; // the Views.. not autoDelete + + }; +} + +#endif -- cgit v0.9.0.2