Diffstat (limited to 'core/pim/datebook/datebookday.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookday.h | 49 |
1 files changed, 30 insertions, 19 deletions
diff --git a/core/pim/datebook/datebookday.h b/core/pim/datebook/datebookday.h index 3b75eba..82021af 100644 --- a/core/pim/datebook/datebookday.h +++ b/core/pim/datebook/datebookday.h | |||
@@ -1,51 +1,62 @@ | |||
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 | */ | ||
30 | |||
20 | #ifndef DATEBOOKDAY_H | 31 | #ifndef DATEBOOKDAY_H |
21 | #define DATEBOOKDAY_H | 32 | #define DATEBOOKDAY_H |
22 | 33 | ||
23 | #include <qpe/event.h> | 34 | #include <qpe/event.h> |
24 | 35 | ||
25 | #include <qdatetime.h> | 36 | #include <qdatetime.h> |
26 | #include <qtable.h> | 37 | #include <qtable.h> |
27 | #include <qvbox.h> | 38 | #include <qvbox.h> |
28 | #include <qlist.h> | 39 | #include <qlist.h> |
29 | 40 | ||
30 | #include "datebook.h" | 41 | #include "datebook.h" |
31 | #include "datebooktypes.h" | 42 | #include "datebooktypes.h" |
32 | #include <qlineedit.h> | 43 | #include <qlineedit.h> |
33 | 44 | ||
34 | class DateBookDayHeader; | 45 | class DateBookDayHeader; |
35 | class DateBookDB; | 46 | class DateBookDB; |
36 | class DateBookDBHoliday; | 47 | class DateBookDBHoliday; |
37 | class DatebookdayAllday; | 48 | class DatebookdayAllday; |
38 | class QDateTime; | 49 | class QDateTime; |
39 | class QMouseEvent; | 50 | class QMouseEvent; |
40 | class QPaintEvent; | 51 | class QPaintEvent; |
41 | class QResizeEvent; | 52 | class QResizeEvent; |
42 | 53 | ||
43 | class DateBookDayViewQuickLineEdit : public QLineEdit | 54 | class DateBookDayViewQuickLineEdit : public QLineEdit |
44 | { | 55 | { |
45 | Q_OBJECT | 56 | Q_OBJECT |
46 | public: | 57 | public: |
47 | DateBookDayViewQuickLineEdit(const QDateTime &start, const QDateTime &end,QWidget * parent, const char *name=0); | 58 | DateBookDayViewQuickLineEdit(const QDateTime &start, const QDateTime &end,QWidget * parent, const char *name=0); |
48 | protected: | 59 | protected: |
49 | Event quickEvent; | 60 | Event quickEvent; |
50 | int active; | 61 | int active; |
51 | void focusOutEvent( QFocusEvent *e ); | 62 | void focusOutEvent( QFocusEvent *e ); |