author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/mainwindow.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/mainwindow.h | 68 |
1 files changed, 38 insertions, 30 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index a533d8b..6756216 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -3,9 +3,17 @@ | |||
3 | 3 | ||
4 | #include <qmainwindow.h> | 4 | #include <q3mainwindow.h> |
5 | #include <qtimer.h> | 5 | #include <qtimer.h> |
6 | #include <qdict.h> | 6 | #include <q3dict.h> |
7 | #include <qfile.h> | 7 | #include <qfile.h> |
8 | #include <qmenubar.h> | 8 | #include <qmenubar.h> |
9 | #include <qtextstream.h> | 9 | #include <q3textstream.h> |
10 | #include <qregexp.h> | 10 | #include <qregexp.h> |
11 | //Added by qt3to4: | ||
12 | #include <Q3CString> | ||
13 | #include <QCloseEvent> | ||
14 | #include <QResizeEvent> | ||
15 | #include <QPixmap> | ||
16 | #include <Q3PopupMenu> | ||
17 | #include <QHideEvent> | ||
18 | #include <QKeyEvent> | ||
11 | 19 | ||
@@ -17,3 +25,3 @@ | |||
17 | #endif | 25 | #endif |
18 | class QAction; | 26 | class Q3Action; |
19 | class CalendarView; | 27 | class CalendarView; |
@@ -22,3 +30,3 @@ class KSyncProfile; | |||
22 | 30 | ||
23 | #define QPEToolBar QToolBar | 31 | #define QPEToolBar Q3ToolBar |
24 | #endif | 32 | #endif |
@@ -33,3 +41,3 @@ using namespace KCal; | |||
33 | 41 | ||
34 | class MainWindow : public QMainWindow | 42 | class MainWindow : public Q3MainWindow |
35 | { | 43 | { |
@@ -51,4 +59,4 @@ class MainWindow : public QMainWindow | |||
51 | void configureAgenda( int ); | 59 | void configureAgenda( int ); |
52 | void recieve( const QCString& msg, const QByteArray& data ); | 60 | void recieve( const Q3CString& msg, const QByteArray& data ); |
53 | void receiveStart( const QCString& msg, const QByteArray& data ); | 61 | void receiveStart( const Q3CString& msg, const QByteArray& data ); |
54 | protected slots: | 62 | protected slots: |
@@ -126,3 +134,3 @@ class MainWindow : public QMainWindow | |||
126 | bool checkAutosave(); | 134 | bool checkAutosave(); |
127 | QCString mCStringMess; | 135 | Q3CString mCStringMess; |
128 | QByteArray mByteData; | 136 | QByteArray mByteData; |
@@ -134,3 +142,3 @@ class MainWindow : public QMainWindow | |||
134 | #endif | 142 | #endif |
135 | QAction* brAction; | 143 | Q3Action* brAction; |
136 | KSyncManager* mSyncManager; | 144 | KSyncManager* mSyncManager; |
@@ -146,4 +154,4 @@ class MainWindow : public QMainWindow | |||
146 | KMenuBar *filterMenubar; | 154 | KMenuBar *filterMenubar; |
147 | QPopupMenu * filterPopupMenu; | 155 | Q3PopupMenu * filterPopupMenu; |
148 | QPopupMenu * mCurrentItemMenu; | 156 | Q3PopupMenu * mCurrentItemMenu; |
149 | void initActions(); | 157 | void initActions(); |
@@ -153,10 +161,10 @@ class MainWindow : public QMainWindow | |||
153 | void keyReleaseEvent ( QKeyEvent * ) ; | 161 | void keyReleaseEvent ( QKeyEvent * ) ; |
154 | QPopupMenu *configureToolBarMenu; | 162 | Q3PopupMenu *configureToolBarMenu; |
155 | QPopupMenu *selectFilterMenu; | 163 | Q3PopupMenu *selectFilterMenu; |
156 | QPopupMenu *selectFilterMenuTB; | 164 | Q3PopupMenu *selectFilterMenuTB; |
157 | QPopupMenu *configureAgendaMenu, *syncMenu; | 165 | Q3PopupMenu *configureAgendaMenu, *syncMenu; |
158 | CalendarLocal *mCalendar; | 166 | CalendarLocal *mCalendar; |
159 | CalendarView *mView; | 167 | CalendarView *mView; |
160 | QAction *mNewSubTodoAction; | 168 | Q3Action *mNewSubTodoAction; |
161 | QAction *mWeekAction; | 169 | Q3Action *mWeekAction; |
162 | QFont mWeekFont; | 170 | QFont mWeekFont; |
@@ -165,15 +173,15 @@ class MainWindow : public QMainWindow | |||
165 | 173 | ||
166 | QAction *mShowAction; | 174 | Q3Action *mShowAction; |
167 | QAction *mEditAction; | 175 | Q3Action *mEditAction; |
168 | QAction *mDeleteAction; | 176 | Q3Action *mDeleteAction; |
169 | QAction *mCloneAction; | 177 | Q3Action *mCloneAction; |
170 | QAction *mMoveAction; | 178 | Q3Action *mMoveAction; |
171 | QAction *mBeamAction; | 179 | Q3Action *mBeamAction; |
172 | QAction *mCancelAction; | 180 | Q3Action *mCancelAction; |
173 | QAction *mPrintSelAction; | 181 | Q3Action *mPrintSelAction; |
174 | 182 | ||
175 | QAction *mToggleNav; | 183 | Q3Action *mToggleNav; |
176 | QAction *mToggleFilter; | 184 | Q3Action *mToggleFilter; |
177 | QAction *mToggleAllday; | 185 | Q3Action *mToggleAllday; |
178 | QAction *actionFilterMenuTB; | 186 | Q3Action *actionFilterMenuTB; |
179 | 187 | ||