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/datenavigatorcontainer.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'korganizer/datenavigatorcontainer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/datenavigatorcontainer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/datenavigatorcontainer.h b/korganizer/datenavigatorcontainer.h index 87cc59f..75d387c 100644 --- a/korganizer/datenavigatorcontainer.h +++ b/korganizer/datenavigatorcontainer.h | |||
@@ -1,16 +1,19 @@ | |||
1 | //Added by qt3to4: | ||
2 | #include <QResizeEvent> | ||
3 | #include <Q3PtrList> | ||
1 | /* | 4 | /* |
2 | This file is part of KOrganizer. | 5 | This file is part of KOrganizer. |
3 | 6 | ||
4 | Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> | 7 | Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> |
5 | Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> | 8 | Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> |
6 | 9 | ||
7 | This program is free software; you can redistribute it and/or modify | 10 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
9 | the Free Software Foundation; either version 2 of the License, or | 12 | the Free Software Foundation; either version 2 of the License, or |
10 | (at your option) any later version. | 13 | (at your option) any later version. |
11 | 14 | ||
12 | This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | GNU General Public License for more details. | 18 | GNU General Public License for more details. |
16 | 19 | ||
@@ -87,23 +90,23 @@ class DateNavigatorContainer: public QWidget | |||
87 | void jumpMonth( int month ); | 90 | void jumpMonth( int month ); |
88 | void resizeEvent( QResizeEvent * ); | 91 | void resizeEvent( QResizeEvent * ); |
89 | 92 | ||
90 | void setBaseDates(); | 93 | void setBaseDates(); |
91 | void connectNavigatorView( KDateNavigator *v ); | 94 | void connectNavigatorView( KDateNavigator *v ); |
92 | 95 | ||
93 | private: | 96 | private: |
94 | bool mResizeEnabled; | 97 | bool mResizeEnabled; |
95 | QTimer* mUpdateTimer; | 98 | QTimer* mUpdateTimer; |
96 | int mLastDisplayedDN; | 99 | int mLastDisplayedDN; |
97 | QDate mFirstSelectedDate; | 100 | QDate mFirstSelectedDate; |
98 | int mSelectedDateCount; | 101 | int mSelectedDateCount; |
99 | KDateNavigator *mNavigatorView; | 102 | KDateNavigator *mNavigatorView; |
100 | 103 | ||
101 | KCal::Calendar *mCalendar; | 104 | KCal::Calendar *mCalendar; |
102 | 105 | ||
103 | QPtrList<KDateNavigator> mExtraViews; | 106 | Q3PtrList<KDateNavigator> mExtraViews; |
104 | 107 | ||
105 | int mHorizontalCount; | 108 | int mHorizontalCount; |
106 | int mVerticalCount; | 109 | int mVerticalCount; |
107 | }; | 110 | }; |
108 | 111 | ||
109 | #endif | 112 | #endif |