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