-rw-r--r-- | korganizer/mainwindow.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index b3041dc..79fb305 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -23,8 +23,9 @@ class KSyncProfile; #define QPEToolBar QToolBar #define QPEMenuBar QMenuBar #endif class QPEToolBar; +class QPEMenuBar; namespace KCal { class CalendarLocal; @@ -52,8 +53,9 @@ class MainWindow : public QMainWindow public slots: void setCaption ( const QString & ); void updateWeekNum(const KCal::DateList &); void updateWeek(QDate); + void updateFilterToolbar(); virtual void showMaximized (); void configureAgenda( int ); void recieve( const QCString& msg, const QByteArray& data ); protected slots: @@ -92,8 +94,10 @@ class MainWindow : public QMainWindow void loadCalendar(); void exportVCalendar(); void fillFilterMenu(); void selectFilter( int ); + void fillFilterMenuPopup(); + void selectFilterPopup( int ); void exportToPhone( int ); void toggleBeamReceive(); void disableBR(bool); signals: @@ -113,15 +117,20 @@ class MainWindow : public QMainWindow bool mBRdisabled; #ifndef DESKTOP_VERSION QCopChannel* infrared; #endif - QAction* brAction; + QAction* brAction; KSyncManager* mSyncManager; bool mClosed; void saveOnClose(); bool mFlagKeyPressed; bool mBlockAtStartup; QPEToolBar *iconToolBar; + QPEToolBar *viewToolBar; + QPEToolBar *navigatorToolBar; + QPEToolBar *filterToolBar; + QPEMenuBar *filterMenubar; + QPopupMenu * filterPopupMenu; void initActions(); void setDefaultPreferences(); void keyPressEvent ( QKeyEvent * ) ; void keyReleaseEvent ( QKeyEvent * ) ; |