author | zecke <zecke> | 2004-03-14 20:55:00 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:55:00 (UTC) |
commit | 594e12002884f0e105eea3cea75504acca5730a2 (patch) (side-by-side diff) | |
tree | 658625e7bb36a64af3f2d9632d6ccccbaa18c627 | |
parent | b7362708c9d5a1765aa22fdcc87a9b3009cda6b9 (diff) | |
download | opie-594e12002884f0e105eea3cea75504acca5730a2.zip opie-594e12002884f0e105eea3cea75504acca5730a2.tar.gz opie-594e12002884f0e105eea3cea75504acca5730a2.tar.bz2 |
Now that using namespace if out of the header fixup todo
-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 2 | ||||
-rw-r--r-- | core/pim/todo/otaskeditor.h | 11 | ||||
-rw-r--r-- | core/pim/todo/todoeditor.cpp | 1 | ||||
-rw-r--r-- | core/pim/todo/todoeditor.h | 6 |
4 files changed, 12 insertions, 8 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp index f0128bc..a8349c1 100644 --- a/core/pim/todo/otaskeditor.cpp +++ b/core/pim/todo/otaskeditor.cpp @@ -6,8 +6,10 @@ #include "otaskeditor.h" using namespace Opie::Ui; +using namespace Opie; + OTaskEditor::OTaskEditor(int cur) : QDialog( 0, 0, TRUE, WStyle_ContextHelp ) { init(); init( cur ); diff --git a/core/pim/todo/otaskeditor.h b/core/pim/todo/otaskeditor.h index 4a00018..65e7bda 100644 --- a/core/pim/todo/otaskeditor.h +++ b/core/pim/todo/otaskeditor.h @@ -5,8 +5,9 @@ #include <opie2/opimtodo.h> #include <opie2/otabwidget.h> #include <opie2/opimrecurrencewidget.h> +#include <opie2/opimrecurrencewidget.h> class TaskEditorOverView; class TaskEditorStatus; class TaskEditorAlarms; @@ -15,29 +16,29 @@ class QMultiLineEdit; class OTaskEditor : public QDialog { Q_OBJECT public: OTaskEditor(int cur); - OTaskEditor( const OPimTodo& todo ); + OTaskEditor( const Opie::OPimTodo& todo ); ~OTaskEditor(); /* * same as the c'tor but this gives us the * power to 'preload' the dialog */ void init( int cur ); - void init( const OPimTodo& todo ); + void init( const Opie::OPimTodo& todo ); - OPimTodo todo()const; + Opie::OPimTodo todo()const; private: - void load( const OPimTodo& ); + void load( const Opie::OPimTodo& ); void init(); Opie::Ui::OTabWidget *m_tab; TaskEditorOverView *m_overView; TaskEditorStatus *m_stat; TaskEditorAlarms *m_alarm; TaskEditorAlarms *m_remind; OPimRecurrenceWidget *m_rec; - OPimTodo m_todo; + Opie::OPimTodo m_todo; }; #endif diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp index 879d809..4b5ecb1 100644 --- a/core/pim/todo/todoeditor.cpp +++ b/core/pim/todo/todoeditor.cpp @@ -3,8 +3,9 @@ #include "otaskeditor.h" #include "todoeditor.h" +using namespace Opie; using namespace Todo; Editor::Editor() { m_accepted = false; diff --git a/core/pim/todo/todoeditor.h b/core/pim/todo/todoeditor.h index bcfd205..1ac7f8a 100644 --- a/core/pim/todo/todoeditor.h +++ b/core/pim/todo/todoeditor.h @@ -10,12 +10,12 @@ namespace Todo { public: Editor(); ~Editor(); - OPimTodo newTodo( int currentCatId, + Opie::OPimTodo newTodo( int currentCatId, QWidget* par ); - OPimTodo edit( QWidget* par, - const OPimTodo& ev = OPimTodo() ); + Opie::OPimTodo edit( QWidget* par, + const Opie::OPimTodo& ev = Opie::OPimTodo() ); bool accepted()const; protected: |