summaryrefslogtreecommitdiffabout
path: root/korganizer/datenavigatorcontainer.h
Unidiff
Diffstat (limited to 'korganizer/datenavigatorcontainer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/datenavigatorcontainer.h5
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,24 +1,27 @@
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
17 You should have received a copy of the GNU General Public License 20 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 21 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 23
21 As a special exception, permission is given to link this program 24 As a special exception, permission is given to link this program
22 with any edition of Qt, and distribute the resulting executable, 25 with any edition of Qt, and distribute the resulting executable,
23 without including the source code for Qt in the source distribution. 26 without including the source code for Qt in the source distribution.
24*/ 27*/
@@ -79,31 +82,31 @@ class DateNavigatorContainer: public QWidget
79 void goNextYear(); 82 void goNextYear();
80 void goPrevYear(); 83 void goPrevYear();
81 void showMonth( const QDate & ); 84 void showMonth( const QDate & );
82 85
83 void monthSelected( int month ); 86 void monthSelected( int month );
84 87
85 protected: 88 protected:
86 void computeMonthSelected( int month , bool forceEmit ); 89 void computeMonthSelected( int month , bool forceEmit );
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