-rw-r--r-- | library/findwidget_p.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/findwidget_p.cpp b/library/findwidget_p.cpp index 7ed8bca..9ecaa40 100644 --- a/library/findwidget_p.cpp +++ b/library/findwidget_p.cpp | |||
@@ -1,52 +1,52 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2001 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "findwidget_p.h" | 21 | #include "findwidget_p.h" |
22 | 22 | ||
23 | #include <qpe/categories.h> | 23 | #include <qpe/categories.h> |
24 | #include <qpe/categoryselect.h> | 24 | #include <qpe/categoryselect.h> |
25 | #include <qpe/datebookmonth.h> | 25 | #include <qpe/datebookmonth.h> |
26 | #include <qpe/timestring.h> | 26 | #include <qpe/timestring.h> |
27 | 27 | ||
28 | #include <qcheckbox.h> | 28 | #include <qcheckbox.h> |
29 | #include <qlabel.h> | 29 | #include <qlabel.h> |
30 | #include <qlineedit.h> | 30 | #include <qlineedit.h> |
31 | #include <qmessagebox.h> | 31 | #include <qmessagebox.h> |
32 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
33 | #include <qpopupmenu.h> | 33 | #include <qpopupmenu.h> |
34 | #include <qtoolbutton.h> | 34 | #include <qtoolbutton.h> |
35 | 35 | ||
36 | FindWidget::FindWidget( const QString &appName, QWidget *parent, | 36 | FindWidget::FindWidget( const QString &appName, QWidget *parent, |
37 | const char *name ) | 37 | const char *name ) |
38 | : FindWidgetBase( parent, name ), | 38 | : FindWidgetBase( parent, name ), |
39 | mStrApp( appName ), | 39 | mStrApp( appName ), |
40 | mDate( QDate::currentDate() ) | 40 | mDate( QDate::currentDate() ) |
41 | { | 41 | { |
42 | setMaximumSize( sizeHint() ); | 42 | setMaximumSize( sizeHint() ); |
43 | QArray<int> vl(0); | 43 | QArray<int> vl(0); |
44 | cmbCat->setCategories( vl, mStrApp ); | 44 | cmbCat->setCategories( vl, mStrApp ); |
45 | cmbCat->setRemoveCategoryEdit( TRUE ); | 45 | cmbCat->setRemoveCategoryEdit( TRUE ); |
46 | cmbCat->setAllCategories( TRUE ); | 46 | cmbCat->setAllCategories( TRUE ); |
47 | // hide junk for the moment... | 47 | // hide junk for the moment... |
48 | lblStartDate->hide(); | 48 | lblStartDate->hide(); |
49 | cmdStartDate->hide(); | 49 | cmdStartDate->hide(); |
50 | QPopupMenu *m1 = new QPopupMenu( this ); | 50 | QPopupMenu *m1 = new QPopupMenu( this ); |
51 | dtPicker = new DateBookMonth( m1, 0, TRUE ); | 51 | dtPicker = new DateBookMonth( m1, 0, TRUE ); |
52 | dtPicker->setDate( mDate.year(), mDate.month(), mDate.day() ); | 52 | dtPicker->setDate( mDate.year(), mDate.month(), mDate.day() ); |