summaryrefslogtreecommitdiff
path: root/libopie2/opieui/otimepicker.h
authorzecke <zecke>2004-03-13 19:51:45 (UTC)
committer zecke <zecke>2004-03-13 19:51:45 (UTC)
commit6d08277737e22b7a1527124623f3571969073ddf (patch) (side-by-side diff)
tree4129e674e21df767b31299e873dd44e33a308e1b /libopie2/opieui/otimepicker.h
parent8e28911f7199f4450ac5eef09482069f9b9caea2 (diff)
downloadopie-6d08277737e22b7a1527124623f3571969073ddf.zip
opie-6d08277737e22b7a1527124623f3571969073ddf.tar.gz
opie-6d08277737e22b7a1527124623f3571969073ddf.tar.bz2
Move XML class to internal PIM
Add namespaces!!! Opie::Core and Opie::Core::Private Opie::Net and Opie::Net::Private Opie::Ui and Opie::Ui::Private Opie::MM and Opie::MM::Private Opie::DB and Opie::DB::Private PIM classes are not yet converted because we will do other work on it as well
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 @@
#include <opie2/oclickablelabel.h>
-#include "otimepickerbase.h"
+#include <opie2/otimepickerbase.h>
@@ -42,6 +42,5 @@
-using namespace Opie;
-// namespace Opie
-// {
+namespace Opie {
+namespace Ui {
@@ -58,3 +57,3 @@ using namespace Opie;
*/
-class OTimePicker: public QWidget
+class OTimePicker : public QWidget
{
@@ -116,2 +115,3 @@ public slots:
private:
+ OTimePicker *m_timePicker;
QTime m_time;
@@ -121,4 +121,11 @@ private:
-// };
+}
+}
+/* for Qt2 */
+#if ( QT_VERSION-0 >= 0x030000 )
+#error "Fix the UI File to use namespaces"
+#else
+typedef Opie::Ui::OTimePicker OUIOTimePicker;
+#endif
#endif