From 594e12002884f0e105eea3cea75504acca5730a2 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 14 Mar 2004 20:55:00 +0000 Subject: Now that using namespace if out of the header fixup todo --- (limited to 'core') 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 @@ -7,6 +7,8 @@ #include "otaskeditor.h" using namespace Opie::Ui; +using namespace Opie; + OTaskEditor::OTaskEditor(int cur) : QDialog( 0, 0, TRUE, WStyle_ContextHelp ) { init(); 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 @@ -6,6 +6,7 @@ #include #include #include +#include class TaskEditorOverView; class TaskEditorStatus; @@ -16,7 +17,7 @@ class OTaskEditor : public QDialog { Q_OBJECT public: OTaskEditor(int cur); - OTaskEditor( const OPimTodo& todo ); + OTaskEditor( const Opie::OPimTodo& todo ); ~OTaskEditor(); /* @@ -24,11 +25,11 @@ public: * 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; @@ -37,7 +38,7 @@ private: 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 @@ -4,6 +4,7 @@ #include "otaskeditor.h" #include "todoeditor.h" +using namespace Opie; using namespace Todo; Editor::Editor() { 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 @@ -11,10 +11,10 @@ namespace Todo { 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; -- cgit v0.9.0.2