summaryrefslogtreecommitdiff
path: root/libopie2/opieui/otimepicker.h
Unidiff
Diffstat (limited to 'libopie2/opieui/otimepicker.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/otimepicker.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/libopie2/opieui/otimepicker.h b/libopie2/opieui/otimepicker.h
index 2da7773..01bb557 100644
--- a/libopie2/opieui/otimepicker.h
+++ b/libopie2/opieui/otimepicker.h
@@ -34,3 +34,3 @@
34#include <opie2/oclickablelabel.h> 34#include <opie2/oclickablelabel.h>
35#include "otimepickerbase.h" 35#include <opie2/otimepickerbase.h>
36 36
@@ -42,6 +42,5 @@
42 42
43using namespace Opie;
44 43
45// namespace Opie 44namespace Opie {
46// { 45namespace Ui {
47 46
@@ -58,3 +57,3 @@ using namespace Opie;
58 */ 57 */
59class OTimePicker: public QWidget 58class OTimePicker : public QWidget
60{ 59{
@@ -116,2 +115,3 @@ public slots:
116private: 115private:
116 OTimePicker *m_timePicker;
117 QTime m_time; 117 QTime m_time;
@@ -121,4 +121,11 @@ private:
121 121
122// }; 122}
123}
123 124
125/* for Qt2 */
126#if ( QT_VERSION-0 >= 0x030000 )
127#error "Fix the UI File to use namespaces"
128#else
129typedef Opie::Ui::OTimePicker OUIOTimePicker;
130#endif
124#endif 131#endif