summaryrefslogtreecommitdiff
path: root/examples/simple-pim/simple.h
authorzecke <zecke>2004-03-14 20:08:59 (UTC)
committer zecke <zecke>2004-03-14 20:08:59 (UTC)
commit0d79c003839718ae70b3b997162044abd5c26bf6 (patch) (side-by-side diff)
tree19708b041da3a09df8f3b571cd634a846f4ad6d7 /examples/simple-pim/simple.h
parent05c8d999941989a97a581fb5822437034ec10fd7 (diff)
downloadopie-0d79c003839718ae70b3b997162044abd5c26bf6.zip
opie-0d79c003839718ae70b3b997162044abd5c26bf6.tar.gz
opie-0d79c003839718ae70b3b997162044abd5c26bf6.tar.bz2
Update the Examples
Diffstat (limited to 'examples/simple-pim/simple.h') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/simple-pim/simple.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/examples/simple-pim/simple.h b/examples/simple-pim/simple.h
index bf9ede7..2a6e8ce 100644
--- a/examples/simple-pim/simple.h
+++ b/examples/simple-pim/simple.h
@@ -20,4 +20,4 @@
-#include <opie/otodoaccess.h>
-#include <opie/odatebookaccess.h>
+#include <opie2/otodoaccess.h>
+#include <opie2/odatebookaccess.h>
@@ -28,4 +28,8 @@ class QDate;
class QCopChannel;
+namespace Opie{
+namespace Ui {
class OWait;
class OTabWidget;
+}
+}
@@ -52,3 +56,3 @@ private slots:
void slotDate();
- void slotShowRecord( const OPimRecord& );
+ void slotShowRecord( const Opie::OPimRecord& );
@@ -58,6 +62,6 @@ private:
QAction *m_dateAction;
- OTabWidget* m_tab;
+ Opie::Ui::OTabWidget* m_tab;
- OTodoAccess m_tb;
- ODateBookAccess m_db;
+ Opie::OPimTodoAccess m_tb;
+ Opie::ODateBookAccess m_db;
PIMListView *m_todoView;
@@ -67,3 +71,3 @@ private:
QCopChannel *m_desktopChannel;
- OWait *m_loading;
+ Opie::Ui::OWait *m_loading;
};
@@ -82,4 +86,4 @@ public:
- void set( OTodoAccess::List );
- void set( const OEffectiveEvent::ValueList& );
+ void set( Opie::OPimTodoAccess::List );
+ void set( const Opie::OEffectiveEvent::ValueList& );
void showCurrentRecord();
@@ -87,6 +91,6 @@ public:
signals:
- void showRecord( const OPimRecord& );
+ void showRecord( const Opie::OPimRecord& );
private:
- static QString makeString( const OEffectiveEvent& ev );
+ static QString makeString( const Opie::OEffectiveEvent& ev );