-rw-r--r-- | korganizer/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index a4d0523..953774f 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -84,88 +84,89 @@ class MainWindow : public QMainWindow | |||
84 | void save(); | 84 | void save(); |
85 | void backupAllFiles(); | 85 | void backupAllFiles(); |
86 | void saveStopTimer(); | 86 | void saveStopTimer(); |
87 | void configureToolBar( int ); | 87 | void configureToolBar( int ); |
88 | void printSel(); | 88 | void printSel(); |
89 | void printCal(); | 89 | void printCal(); |
90 | void printListView(); | 90 | void printListView(); |
91 | void saveCalendar(); | 91 | void saveCalendar(); |
92 | void loadCalendar(); | 92 | void loadCalendar(); |
93 | void exportVCalendar(); | 93 | void exportVCalendar(); |
94 | void fillFilterMenu(); | 94 | void fillFilterMenu(); |
95 | void fillFilterMenuTB(); | 95 | void fillFilterMenuTB(); |
96 | void selectFilter( int ); | 96 | void selectFilter( int ); |
97 | void fillFilterMenuPopup(); | 97 | void fillFilterMenuPopup(); |
98 | void selectFilterPopup( int ); | 98 | void selectFilterPopup( int ); |
99 | void exportToPhone( int ); | 99 | void exportToPhone( int ); |
100 | void toggleBeamReceive(); | 100 | void toggleBeamReceive(); |
101 | void disableBR(bool); | 101 | void disableBR(bool); |
102 | signals: | 102 | signals: |
103 | void selectWeek ( int ); | 103 | void selectWeek ( int ); |
104 | private slots: | 104 | private slots: |
105 | void showConfigureAgenda(); | 105 | void showConfigureAgenda(); |
106 | void getFile( bool ); | 106 | void getFile( bool ); |
107 | void syncFileRequest(); | 107 | void syncFileRequest(); |
108 | 108 | ||
109 | protected: | 109 | protected: |
110 | void hideEvent ( QHideEvent * ); | 110 | void hideEvent ( QHideEvent * ); |
111 | QString sentSyncFile(); | 111 | QString sentSyncFile(); |
112 | void displayText( QString, QString); | 112 | void displayText( QString, QString); |
113 | void enableIncidenceActions( bool ); | 113 | void enableIncidenceActions( bool ); |
114 | 114 | ||
115 | private: | 115 | private: |
116 | bool mBRdisabled; | 116 | bool mBRdisabled; |
117 | #ifndef DESKTOP_VERSION | 117 | #ifndef DESKTOP_VERSION |
118 | QCopChannel* infrared; | 118 | QCopChannel* infrared; |
119 | #endif | 119 | #endif |
120 | QAction* brAction; | 120 | QAction* brAction; |
121 | KSyncManager* mSyncManager; | 121 | KSyncManager* mSyncManager; |
122 | bool mClosed; | 122 | bool mClosed; |
123 | void saveOnClose(); | 123 | void saveOnClose(); |
124 | bool mFlagKeyPressed; | 124 | bool mFlagKeyPressed; |
125 | bool mBlockAtStartup; | 125 | bool mBlockAtStartup; |
126 | QPEToolBar *iconToolBar; | 126 | QPEToolBar *iconToolBar; |
127 | QPEToolBar *viewToolBar; | 127 | QPEToolBar *viewToolBar; |
128 | QPEToolBar *navigatorToolBar; | 128 | QPEToolBar *navigatorToolBar; |
129 | QPEToolBar *filterToolBar; | 129 | QPEToolBar *filterToolBar; |
130 | QMenuBar *filterMenubar; | 130 | QMenuBar *filterMenubar; |
131 | QPopupMenu * filterPopupMenu; | 131 | QPopupMenu * filterPopupMenu; |
132 | QPopupMenu * mCurrentItemMenu; | ||
132 | void initActions(); | 133 | void initActions(); |
133 | void setDefaultPreferences(); | 134 | void setDefaultPreferences(); |
134 | void resizeEvent( QResizeEvent* e); | 135 | void resizeEvent( QResizeEvent* e); |
135 | void keyPressEvent ( QKeyEvent * ) ; | 136 | void keyPressEvent ( QKeyEvent * ) ; |
136 | void keyReleaseEvent ( QKeyEvent * ) ; | 137 | void keyReleaseEvent ( QKeyEvent * ) ; |
137 | QPopupMenu *configureToolBarMenu; | 138 | QPopupMenu *configureToolBarMenu; |
138 | QPopupMenu *selectFilterMenu; | 139 | QPopupMenu *selectFilterMenu; |
139 | QPopupMenu *selectFilterMenuTB; | 140 | QPopupMenu *selectFilterMenuTB; |
140 | QPopupMenu *configureAgendaMenu, *syncMenu; | 141 | QPopupMenu *configureAgendaMenu, *syncMenu; |
141 | CalendarLocal *mCalendar; | 142 | CalendarLocal *mCalendar; |
142 | CalendarView *mView; | 143 | CalendarView *mView; |
143 | QAction *mNewSubTodoAction; | 144 | QAction *mNewSubTodoAction; |
144 | QAction *mWeekAction; | 145 | QAction *mWeekAction; |
145 | QFont mWeekFont; | 146 | QFont mWeekFont; |
146 | QPixmap mWeekPixmap; | 147 | QPixmap mWeekPixmap; |
147 | QColor mWeekBgColor; | 148 | QColor mWeekBgColor; |
148 | 149 | ||
149 | QAction *mShowAction; | 150 | QAction *mShowAction; |
150 | QAction *mEditAction; | 151 | QAction *mEditAction; |
151 | QAction *mDeleteAction; | 152 | QAction *mDeleteAction; |
152 | QAction *mCloneAction; | 153 | QAction *mCloneAction; |
153 | QAction *mMoveAction; | 154 | QAction *mMoveAction; |
154 | QAction *mBeamAction; | 155 | QAction *mBeamAction; |
155 | QAction *mCancelAction; | 156 | QAction *mCancelAction; |
156 | 157 | ||
157 | QAction *mToggleNav; | 158 | QAction *mToggleNav; |
158 | QAction *mToggleFilter; | 159 | QAction *mToggleFilter; |
159 | QAction *mToggleAllday; | 160 | QAction *mToggleAllday; |
160 | QAction *actionFilterMenuTB; | 161 | QAction *actionFilterMenuTB; |
161 | 162 | ||
162 | void closeEvent( QCloseEvent* ce ); | 163 | void closeEvent( QCloseEvent* ce ); |
163 | QTimer mSaveTimer; | 164 | QTimer mSaveTimer; |
164 | //bool mBlockSaveFlag; | 165 | //bool mBlockSaveFlag; |
165 | bool mCalendarModifiedFlag; | 166 | bool mCalendarModifiedFlag; |
166 | QPixmap loadPixmap( QString ); | 167 | QPixmap loadPixmap( QString ); |
167 | QPixmap listviewPix, listviewPix0, listviewPix20, listviewPix40, listviewPix60, listviewPix80; | 168 | QPixmap listviewPix, listviewPix0, listviewPix20, listviewPix40, listviewPix60, listviewPix80; |
168 | }; | 169 | }; |
169 | 170 | ||
170 | 171 | ||
171 | #endif | 172 | #endif |