-rw-r--r-- | korganizer/ktimeedit.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/korganizer/ktimeedit.h b/korganizer/ktimeedit.h index b3d842d..1c7d18d 100644 --- a/korganizer/ktimeedit.h +++ b/korganizer/ktimeedit.h | |||
@@ -21,27 +21,30 @@ | |||
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef _KTIMEEDIT_H | 23 | #ifndef _KTIMEEDIT_H |
24 | #define _KTIMEEDIT_H | 24 | #define _KTIMEEDIT_H |
25 | 25 | ||
26 | #include <qevent.h> | 26 | #include <qevent.h> |
27 | #include <qkeycode.h> | 27 | #include <qnamespace.h> |
28 | #include <qstring.h> | 28 | #include <qstring.h> |
29 | #include <qdatetime.h> | 29 | #include <qdatetime.h> |
30 | #include <qcombobox.h> | 30 | #include <qcombobox.h> |
31 | #include <Q3ComboBox> | ||
32 | //Added by qt3to4: | ||
33 | #include <QKeyEvent> | ||
31 | 34 | ||
32 | #include <kapplication.h> | 35 | #include <kapplication.h> |
33 | 36 | ||
34 | /** | 37 | /** |
35 | This is a class that provides an easy, user friendly way to edit times. | 38 | This is a class that provides an easy, user friendly way to edit times. |
36 | up/down/ increase or decrease time, respectively. | 39 | up/down/ increase or decrease time, respectively. |
37 | 40 | ||
38 | @short Provides a way to edit times in a user-friendly manner. | 41 | @short Provides a way to edit times in a user-friendly manner. |
39 | @author Preston Brown, Ian Dawes | 42 | @author Preston Brown, Ian Dawes |
40 | */ | 43 | */ |
41 | class KOTimeEdit : public QComboBox | 44 | class KOTimeEdit : public Q3ComboBox |
42 | { | 45 | { |
43 | Q_OBJECT | 46 | Q_OBJECT |
44 | public: | 47 | public: |
45 | /** constructs a new time edit. */ | 48 | /** constructs a new time edit. */ |
46 | KOTimeEdit(QWidget *parent=0, QTime qt=QTime(12,0), const char *name=0); | 49 | KOTimeEdit(QWidget *parent=0, QTime qt=QTime(12,0), const char *name=0); |
47 | 50 | ||