summaryrefslogtreecommitdiff
authordwmw2 <dwmw2>2002-04-02 14:02:44 (UTC)
committer dwmw2 <dwmw2>2002-04-02 14:02:44 (UTC)
commit108f15e0121aca57d5828cf0f22285989d920bd7 (patch) (unidiff)
tree253c9bca48bb864b02428c72d4baf2d085579d9c
parent623ce8225b7f75755146601e2c8d7f1e7e9a65d0 (diff)
downloadopie-108f15e0121aca57d5828cf0f22285989d920bd7.zip
opie-108f15e0121aca57d5828cf0f22285989d920bd7.tar.gz
opie-108f15e0121aca57d5828cf0f22285989d920bd7.tar.bz2
Remove #include <stdiostream.h>. It wasn't used, and isn't present in my gcc3
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/dateentryimpl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp
index e563db0..403378e 100644
--- a/core/pim/datebook/dateentryimpl.cpp
+++ b/core/pim/datebook/dateentryimpl.cpp
@@ -14,66 +14,64 @@
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 "dateentryimpl.h" 21#include "dateentryimpl.h"
22#include "repeatentry.h" 22#include "repeatentry.h"
23 23
24#include <qpe/qpeapplication.h> 24#include <qpe/qpeapplication.h>
25#include <qpe/categoryselect.h> 25#include <qpe/categoryselect.h>
26#include <qpe/datebookmonth.h> 26#include <qpe/datebookmonth.h>
27#include <qpe/global.h> 27#include <qpe/global.h>
28#include <qpe/timeconversion.h> 28#include <qpe/timeconversion.h>
29#include <qpe/timestring.h> 29#include <qpe/timestring.h>
30#include <qpe/tzselect.h> 30#include <qpe/tzselect.h>
31 31
32#include <qcheckbox.h> 32#include <qcheckbox.h>
33#include <qcombobox.h> 33#include <qcombobox.h>
34#include <qlayout.h> 34#include <qlayout.h>
35#include <qlineedit.h> 35#include <qlineedit.h>
36#include <qmultilineedit.h> 36#include <qmultilineedit.h>
37#include <qpopupmenu.h> 37#include <qpopupmenu.h>
38#include <qscrollview.h> 38#include <qscrollview.h>
39#include <qspinbox.h> 39#include <qspinbox.h>
40#include <qtoolbutton.h> 40#include <qtoolbutton.h>
41 41
42#include "timepicker.h" 42#include "timepicker.h"
43 43
44#include <stdlib.h> 44#include <stdlib.h>
45 45
46#include <stdiostream.h>
47
48/* 46/*
49 * Constructs a DateEntry which is a child of 'parent', with the 47 * Constructs a DateEntry which is a child of 'parent', with the
50 * name 'name' and widget flags set to 'f' 48 * name 'name' and widget flags set to 'f'
51 * 49 *
52 * The dialog will by default be modeless, unless you set 'modal' to 50 * The dialog will by default be modeless, unless you set 'modal' to
53 * TRUE to construct a modal dialog. 51 * TRUE to construct a modal dialog.
54 */ 52 */
55 53
56DateEntry::DateEntry( bool startOnMonday, const QDateTime &start, 54DateEntry::DateEntry( bool startOnMonday, const QDateTime &start,
57 const QDateTime &end, bool whichClock, QWidget* parent, 55 const QDateTime &end, bool whichClock, QWidget* parent,
58 const char* name ) 56 const char* name )
59 : DateEntryBase( parent, name ), 57 : DateEntryBase( parent, name ),
60 ampm( whichClock ), 58 ampm( whichClock ),
61 startWeekOnMonday( startOnMonday ) 59 startWeekOnMonday( startOnMonday )
62{ 60{
63 init(); 61 init();
64 setDates(start,end); 62 setDates(start,end);
65 setFocusProxy(comboDescription); 63 setFocusProxy(comboDescription);
66} 64}
67 65
68static void addOrPick( QComboBox* combo, const QString& t ) 66static void addOrPick( QComboBox* combo, const QString& t )
69{ 67{
70 // Pick an item if one excists 68 // Pick an item if one excists
71 for (int i=0; i<combo->count(); i++) { 69 for (int i=0; i<combo->count(); i++) {
72 if ( combo->text(i) == t ) { 70 if ( combo->text(i) == t ) {
73 combo->setCurrentItem(i); 71 combo->setCurrentItem(i);
74 return; 72 return;
75 } 73 }
76 } 74 }
77 75
78 // Else add one 76 // Else add one
79 combo->insertItem(t); 77 combo->insertItem(t);