Diffstat (limited to 'core/pim/datebook/repeatentry.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/repeatentry.h | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/core/pim/datebook/repeatentry.h b/core/pim/datebook/repeatentry.h index 949fecd..d75af3c 100644 --- a/core/pim/datebook/repeatentry.h +++ b/core/pim/datebook/repeatentry.h | |||
@@ -1,51 +1,61 @@ | |||
1 | /********************************************************************** | 1 | /* |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | This file is part of the Opie Project |
3 | ** | 3 | |
4 | ** This file is part of Qtopia Environment. | 4 | Copyright (C) Opie Team <opie-devel@handhelds.org> |
5 | ** | 5 | =. |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | .=l. |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | .>+-= |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | _;:, .> :=|. This program is free software; you can |
9 | ** packaging of this file. | 9 | .> <`_, > . <= redistribute it and/or modify it under |
10 | ** | 10 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | .="- .-=="i, .._ License as published by the Free Software |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | - . .-<_> .<> Foundation; either version 2 of the License, |
13 | ** | 13 | ._= =} : or (at your option) any later version. |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | .%`+i> _;_. |
15 | ** | 15 | .i_,=:_. -<s. This program is distributed in the hope that |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
17 | ** not clear to you. | 17 | : .. .:, . . . without even the implied warranty of |
18 | ** | 18 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
19 | **********************************************************************/ | 19 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
20 | ..}^=.= = ; Library General Public License for more | ||
21 | ++= -. .` .: details. | ||
22 | : = ...= . :.=- | ||
23 | -. .:....=;==+<; You should have received a copy of the GNU | ||
24 | -_. . . )=. = Library General Public License along with | ||
25 | -- :-=` this library; see the file COPYING.LIB. | ||
26 | If not, write to the Free Software Foundation, | ||
27 | Inc., 59 Temple Place - Suite 330, | ||
28 | Boston, MA 02111-1307, USA. | ||
29 | */ | ||
20 | 30 | ||
21 | #ifndef REPEATENTRY_H | 31 | #ifndef REPEATENTRY_H |
22 | #define REPEATENTRY_H | 32 | #define REPEATENTRY_H |
23 | 33 | ||
24 | #include "repeatentrybase.h" | 34 | #include "repeatentrybase.h" |
25 | 35 | ||
26 | #include <qpe/event.h> | 36 | #include <qpe/event.h> |
27 | 37 | ||
28 | #include <qcheckbox.h> | 38 | #include <qcheckbox.h> |
29 | #include <qbuttongroup.h> | 39 | #include <qbuttongroup.h> |
30 | #include <qdatetime.h> | 40 | #include <qdatetime.h> |
31 | #include <qlist.h> | 41 | #include <qlist.h> |
32 | #include <qtoolbutton.h> | 42 | #include <qtoolbutton.h> |
33 | 43 | ||
34 | class DateBookMonth; | 44 | class DateBookMonth; |
35 | 45 | ||
36 | class RepeatEntry : public RepeatEntryBase | 46 | class RepeatEntry : public RepeatEntryBase |
37 | { | 47 | { |
38 | Q_OBJECT | 48 | Q_OBJECT |
39 | public: | 49 | public: |
40 | RepeatEntry( bool startOnMonday, | 50 | RepeatEntry( bool startOnMonday, |
41 | const QDate &start, QWidget *parent = 0, const char *name = 0, | 51 | const QDate &start, QWidget *parent = 0, const char *name = 0, |
42 | bool modal = TRUE, WFlags fl = 0 ); | 52 | bool modal = TRUE, WFlags fl = 0 ); |
43 | RepeatEntry( bool startOnMonday, | 53 | RepeatEntry( bool startOnMonday, |
44 | const Event::RepeatPattern &rp, const QDate &start, | 54 | const Event::RepeatPattern &rp, const QDate &start, |
45 | QWidget *parent = 0, const char *name = 0, bool modal = TRUE, | 55 | QWidget *parent = 0, const char *name = 0, bool modal = TRUE, |
46 | WFlags fl = 0 ); | 56 | WFlags fl = 0 ); |
47 | ~RepeatEntry(); | 57 | ~RepeatEntry(); |
48 | 58 | ||
49 | Event::RepeatPattern repeatPattern(); | 59 | Event::RepeatPattern repeatPattern(); |
50 | QDate endDate() { return end; }; | 60 | QDate endDate() { return end; }; |
51 | 61 | ||