-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 3e854cb..47a7a90 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -68,48 +68,49 @@ class MainWindow : public QMainWindow | |||
68 | void printCal(); | 68 | void printCal(); |
69 | void saveCalendar(); | 69 | void saveCalendar(); |
70 | void loadCalendar(); | 70 | void loadCalendar(); |
71 | void exportVCalendar(); | 71 | void exportVCalendar(); |
72 | void fillFilterMenu(); | 72 | void fillFilterMenu(); |
73 | void selectFilter( int ); | 73 | void selectFilter( int ); |
74 | 74 | ||
75 | void slotSyncMenu( int ); | 75 | void slotSyncMenu( int ); |
76 | void syncSSH(); | 76 | void syncSSH(); |
77 | void confSync(); | 77 | void confSync(); |
78 | void syncSharp(); | 78 | void syncSharp(); |
79 | void syncPhone(); | 79 | void syncPhone(); |
80 | void syncLocalFile(); | 80 | void syncLocalFile(); |
81 | bool syncWithFile( QString, bool ); | 81 | bool syncWithFile( QString, bool ); |
82 | void quickSyncLocalFile(); | 82 | void quickSyncLocalFile(); |
83 | 83 | ||
84 | 84 | ||
85 | protected: | 85 | protected: |
86 | void displayText( QString, QString); | 86 | void displayText( QString, QString); |
87 | void displayFile( QString, QString); | 87 | void displayFile( QString, QString); |
88 | 88 | ||
89 | void enableIncidenceActions( bool ); | 89 | void enableIncidenceActions( bool ); |
90 | 90 | ||
91 | private: | 91 | private: |
92 | bool mClosed; | ||
92 | void saveOnClose(); | 93 | void saveOnClose(); |
93 | int mCurrentSyncProfile; | 94 | int mCurrentSyncProfile; |
94 | void syncRemote( KSyncProfile* , bool ask = true); | 95 | void syncRemote( KSyncProfile* , bool ask = true); |
95 | void fillSyncMenu(); | 96 | void fillSyncMenu(); |
96 | bool mFlagKeyPressed; | 97 | bool mFlagKeyPressed; |
97 | bool mBlockAtStartup; | 98 | bool mBlockAtStartup; |
98 | QPEToolBar *iconToolBar; | 99 | QPEToolBar *iconToolBar; |
99 | void initActions(); | 100 | void initActions(); |
100 | void setDefaultPreferences(); | 101 | void setDefaultPreferences(); |
101 | void keyPressEvent ( QKeyEvent * ) ; | 102 | void keyPressEvent ( QKeyEvent * ) ; |
102 | void keyReleaseEvent ( QKeyEvent * ) ; | 103 | void keyReleaseEvent ( QKeyEvent * ) ; |
103 | QPopupMenu *configureToolBarMenu; | 104 | QPopupMenu *configureToolBarMenu; |
104 | QPopupMenu *selectFilterMenu; | 105 | QPopupMenu *selectFilterMenu; |
105 | QPopupMenu *configureAgendaMenu, *syncMenu; | 106 | QPopupMenu *configureAgendaMenu, *syncMenu; |
106 | CalendarLocal *mCalendar; | 107 | CalendarLocal *mCalendar; |
107 | CalendarView *mView; | 108 | CalendarView *mView; |
108 | QString getPassword(); | 109 | QString getPassword(); |
109 | QAction *mNewSubTodoAction; | 110 | QAction *mNewSubTodoAction; |
110 | 111 | ||
111 | QAction *mShowAction; | 112 | QAction *mShowAction; |
112 | QAction *mEditAction; | 113 | QAction *mEditAction; |
113 | QAction *mDeleteAction; | 114 | QAction *mDeleteAction; |
114 | void closeEvent( QCloseEvent* ce ); | 115 | void closeEvent( QCloseEvent* ce ); |
115 | SimpleAlarmClient mAlarmClient; | 116 | SimpleAlarmClient mAlarmClient; |