author | zecke <zecke> | 2004-03-14 20:37:48 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:37:48 (UTC) |
commit | fb19e9dc49a8ed0f1b85fa88ed97d357000955e1 (patch) (unidiff) | |
tree | 9fb860c6fdda787351cabb5e57a4ef1661bdb60c | |
parent | c4784ed159d96c6ba69dcf53eed9fe791e732e52 (diff) | |
download | opie-fb19e9dc49a8ed0f1b85fa88ed97d357000955e1.zip opie-fb19e9dc49a8ed0f1b85fa88ed97d357000955e1.tar.gz opie-fb19e9dc49a8ed0f1b85fa88ed97d357000955e1.tar.bz2 |
no using namespace in a header
-rw-r--r-- | core/pim/osearch/adresssearch.cpp | 1 | ||||
-rw-r--r-- | core/pim/osearch/adresssearch.h | 3 | ||||
-rw-r--r-- | core/pim/osearch/contactitem.cpp | 2 | ||||
-rw-r--r-- | core/pim/osearch/contactitem.h | 5 | ||||
-rw-r--r-- | core/pim/osearch/eventitem.cpp | 1 | ||||
-rw-r--r-- | core/pim/osearch/eventitem.h | 5 | ||||
-rw-r--r-- | core/pim/osearch/todoitem.h | 5 | ||||
-rw-r--r-- | core/pim/osearch/todosearch.cpp | 2 | ||||
-rw-r--r-- | core/pim/osearch/todosearch.h | 3 | ||||
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginwidget.h | 1 | ||||
-rw-r--r-- | core/pim/today/plugins/mail/mailpluginwidget.cpp | 1 | ||||
-rw-r--r-- | core/pim/today/plugins/mail/mailpluginwidget.h | 3 | ||||
-rw-r--r-- | core/pim/today/plugins/todolist/todoplugin.h | 1 |
13 files changed, 14 insertions, 19 deletions
diff --git a/core/pim/osearch/adresssearch.cpp b/core/pim/osearch/adresssearch.cpp index 6891f03..f0495c6 100644 --- a/core/pim/osearch/adresssearch.cpp +++ b/core/pim/osearch/adresssearch.cpp | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | //#include <qwhatsthis.h> | 18 | //#include <qwhatsthis.h> |
19 | 19 | ||
20 | using namespace Opie; | ||
20 | AdressSearch::AdressSearch(QListView* parent, QString name): | 21 | AdressSearch::AdressSearch(QListView* parent, QString name): |
21 | SearchGroup(parent, name) | 22 | SearchGroup(parent, name) |
22 | { | 23 | { |
diff --git a/core/pim/osearch/adresssearch.h b/core/pim/osearch/adresssearch.h index 028521a..34c4f11 100644 --- a/core/pim/osearch/adresssearch.h +++ b/core/pim/osearch/adresssearch.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #include "searchgroup.h" | 14 | #include "searchgroup.h" |
15 | #include <opie2/ocontactaccess.h> | 15 | #include <opie2/ocontactaccess.h> |
16 | 16 | ||
17 | using namespace Opie; | ||
18 | 17 | ||
19 | 18 | ||
20 | /** | 19 | /** |
@@ -32,7 +31,7 @@ protected: | |||
32 | virtual void insertItem( void* ); | 31 | virtual void insertItem( void* ); |
33 | 32 | ||
34 | private: | 33 | private: |
35 | OPimContactAccess *_contacts; | 34 | Opie::OPimContactAccess *_contacts; |
36 | }; | 35 | }; |
37 | 36 | ||
38 | #endif | 37 | #endif |
diff --git a/core/pim/osearch/contactitem.cpp b/core/pim/osearch/contactitem.cpp index 639af46..c89c6e2 100644 --- a/core/pim/osearch/contactitem.cpp +++ b/core/pim/osearch/contactitem.cpp | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <qpe/qcopenvelope_qws.h> | 16 | #include <qpe/qcopenvelope_qws.h> |
17 | 17 | ||
18 | 18 | ||
19 | 19 | using namespace Opie; | |
20 | ContactItem::ContactItem(OListViewItem* parent, OPimContact *contact) | 20 | ContactItem::ContactItem(OListViewItem* parent, OPimContact *contact) |
21 | : ResultItem(parent) | 21 | : ResultItem(parent) |
22 | { | 22 | { |
diff --git a/core/pim/osearch/contactitem.h b/core/pim/osearch/contactitem.h index 3c553fc..c038082 100644 --- a/core/pim/osearch/contactitem.h +++ b/core/pim/osearch/contactitem.h | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | #include "resultitem.h" | 19 | #include "resultitem.h" |
20 | 20 | ||
21 | using namespace Opie; | ||
22 | 21 | ||
23 | /** | 22 | /** |
24 | @author Patrick S. Vogt | 23 | @author Patrick S. Vogt |
@@ -26,7 +25,7 @@ using namespace Opie; | |||
26 | class ContactItem : public ResultItem | 25 | class ContactItem : public ResultItem |
27 | { | 26 | { |
28 | public: | 27 | public: |
29 | ContactItem(OListViewItem* parent, OPimContact *contact); | 28 | ContactItem(OListViewItem* parent, Opie::OPimContact *contact); |
30 | 29 | ||
31 | ~ContactItem(); | 30 | ~ContactItem(); |
32 | 31 | ||
@@ -37,7 +36,7 @@ public: | |||
37 | 36 | ||
38 | private: | 37 | private: |
39 | void setIcon(); | 38 | void setIcon(); |
40 | OPimContact *_contact; | 39 | Opie::OPimContact *_contact; |
41 | 40 | ||
42 | }; | 41 | }; |
43 | 42 | ||
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp index 8dcfc70..7bcf340 100644 --- a/core/pim/osearch/eventitem.cpp +++ b/core/pim/osearch/eventitem.cpp | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <qpe/qcopenvelope_qws.h> | 17 | #include <qpe/qcopenvelope_qws.h> |
18 | 18 | ||
19 | 19 | ||
20 | using namespace Opie; | ||
20 | EventItem::EventItem(OListViewItem* parent, OPimEvent *event) | 21 | EventItem::EventItem(OListViewItem* parent, OPimEvent *event) |
21 | : ResultItem(parent) | 22 | : ResultItem(parent) |
22 | { | 23 | { |
diff --git a/core/pim/osearch/eventitem.h b/core/pim/osearch/eventitem.h index 68923f1..d121020 100644 --- a/core/pim/osearch/eventitem.h +++ b/core/pim/osearch/eventitem.h | |||
@@ -17,7 +17,6 @@ | |||
17 | 17 | ||
18 | #include <opie2/opimevent.h> | 18 | #include <opie2/opimevent.h> |
19 | 19 | ||
20 | using namespace Opie; | ||
21 | 20 | ||
22 | /** | 21 | /** |
23 | @author Patrick S. Vogt | 22 | @author Patrick S. Vogt |
@@ -25,7 +24,7 @@ using namespace Opie; | |||
25 | class EventItem : public ResultItem | 24 | class EventItem : public ResultItem |
26 | { | 25 | { |
27 | public: | 26 | public: |
28 | EventItem(OListViewItem* parent, OPimEvent *event); | 27 | EventItem(OListViewItem* parent, Opie::OPimEvent *event); |
29 | 28 | ||
30 | ~EventItem(); | 29 | ~EventItem(); |
31 | 30 | ||
@@ -35,7 +34,7 @@ public: | |||
35 | 34 | ||
36 | private: | 35 | private: |
37 | void setIcon(); | 36 | void setIcon(); |
38 | OPimEvent *_event; | 37 | Opie::OPimEvent *_event; |
39 | 38 | ||
40 | }; | 39 | }; |
41 | 40 | ||
diff --git a/core/pim/osearch/todoitem.h b/core/pim/osearch/todoitem.h index 7c8537b..031369a 100644 --- a/core/pim/osearch/todoitem.h +++ b/core/pim/osearch/todoitem.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <opie2/opimtodo.h> | 17 | #include <opie2/opimtodo.h> |
18 | #include "resultitem.h" | 18 | #include "resultitem.h" |
19 | 19 | ||
20 | using namespace Opie; | ||
21 | 20 | ||
22 | /** | 21 | /** |
23 | @author Patrick S. Vogt | 22 | @author Patrick S. Vogt |
@@ -25,7 +24,7 @@ using namespace Opie; | |||
25 | class TodoItem : public ResultItem | 24 | class TodoItem : public ResultItem |
26 | { | 25 | { |
27 | public: | 26 | public: |
28 | TodoItem(OListViewItem* parent, OPimTodo *todo); | 27 | TodoItem(OListViewItem* parent, Opie::OPimTodo *todo); |
29 | ~TodoItem(); | 28 | ~TodoItem(); |
30 | 29 | ||
31 | virtual QString toRichText(); | 30 | virtual QString toRichText(); |
@@ -34,7 +33,7 @@ public: | |||
34 | 33 | ||
35 | private: | 34 | private: |
36 | void setIcon(); | 35 | void setIcon(); |
37 | OPimTodo *_todo; | 36 | Opie::OPimTodo *_todo; |
38 | 37 | ||
39 | }; | 38 | }; |
40 | 39 | ||
diff --git a/core/pim/osearch/todosearch.cpp b/core/pim/osearch/todosearch.cpp index cdf3a1c..1839566 100644 --- a/core/pim/osearch/todosearch.cpp +++ b/core/pim/osearch/todosearch.cpp | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <qaction.h> | 19 | #include <qaction.h> |
20 | #include <qpopupmenu.h> | 20 | #include <qpopupmenu.h> |
21 | 21 | ||
22 | 22 | using namespace Opie; | |
23 | TodoSearch::TodoSearch(QListView* parent, QString name) | 23 | TodoSearch::TodoSearch(QListView* parent, QString name) |
24 | : SearchGroup(parent, name), _todos(0), _popupMenu(0) | 24 | : SearchGroup(parent, name), _todos(0), _popupMenu(0) |
25 | { | 25 | { |
diff --git a/core/pim/osearch/todosearch.h b/core/pim/osearch/todosearch.h index 740e483..c047348 100644 --- a/core/pim/osearch/todosearch.h +++ b/core/pim/osearch/todosearch.h | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | class QAction; | 21 | class QAction; |
22 | 22 | ||
23 | using namespace Opie; | ||
24 | 23 | ||
25 | /** | 24 | /** |
26 | @author Patrick S. Vogt | 25 | @author Patrick S. Vogt |
@@ -39,7 +38,7 @@ protected: | |||
39 | virtual void insertItem( void* ); | 38 | virtual void insertItem( void* ); |
40 | 39 | ||
41 | private: | 40 | private: |
42 | OPimTodoAccess *_todos; | 41 | Opie::OPimTodoAccess *_todos; |
43 | QAction *actionShowCompleted; | 42 | QAction *actionShowCompleted; |
44 | QPopupMenu *_popupMenu; | 43 | QPopupMenu *_popupMenu; |
45 | }; | 44 | }; |
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h index 68af323..f8ed89e 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.h +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <qguardedptr.h> | 27 | #include <qguardedptr.h> |
28 | #include <qlist.h> | 28 | #include <qlist.h> |
29 | 29 | ||
30 | using namespace Opie; | ||
31 | 30 | ||
32 | class DatebookPluginWidget : public QWidget { | 31 | class DatebookPluginWidget : public QWidget { |
33 | 32 | ||
diff --git a/core/pim/today/plugins/mail/mailpluginwidget.cpp b/core/pim/today/plugins/mail/mailpluginwidget.cpp index a8e4c41..a71c477 100644 --- a/core/pim/today/plugins/mail/mailpluginwidget.cpp +++ b/core/pim/today/plugins/mail/mailpluginwidget.cpp | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qpe/qcopenvelope_qws.h> | 19 | #include <qpe/qcopenvelope_qws.h> |
20 | 20 | ||
21 | using namespace Opie::Ui; | ||
21 | MailPluginWidget::MailPluginWidget( QWidget *parent, const char* name) | 22 | MailPluginWidget::MailPluginWidget( QWidget *parent, const char* name) |
22 | : QWidget(parent, name ) { | 23 | : QWidget(parent, name ) { |
23 | 24 | ||
diff --git a/core/pim/today/plugins/mail/mailpluginwidget.h b/core/pim/today/plugins/mail/mailpluginwidget.h index 0ad8738..2c6104f 100644 --- a/core/pim/today/plugins/mail/mailpluginwidget.h +++ b/core/pim/today/plugins/mail/mailpluginwidget.h | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <opie2/oclickablelabel.h> | 22 | #include <opie2/oclickablelabel.h> |
23 | 23 | ||
24 | using namespace Opie; | ||
25 | 24 | ||
26 | class MailPluginWidget : public QWidget { | 25 | class MailPluginWidget : public QWidget { |
27 | 26 | ||
@@ -37,7 +36,7 @@ protected slots: | |||
37 | void startMail(); | 36 | void startMail(); |
38 | 37 | ||
39 | private: | 38 | private: |
40 | OClickableLabel* m_mailLabel; | 39 | Opie::Ui::OClickableLabel* m_mailLabel; |
41 | QHBoxLayout* m_layout; | 40 | QHBoxLayout* m_layout; |
42 | void readConfig(); | 41 | void readConfig(); |
43 | void getInfo(); | 42 | void getInfo(); |
diff --git a/core/pim/today/plugins/todolist/todoplugin.h b/core/pim/today/plugins/todolist/todoplugin.h index bea15d5..976dbf7 100644 --- a/core/pim/today/plugins/todolist/todoplugin.h +++ b/core/pim/today/plugins/todolist/todoplugin.h | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <qguardedptr.h> | 27 | #include <qguardedptr.h> |
28 | #include <qwidget.h> | 28 | #include <qwidget.h> |
29 | 29 | ||
30 | using namespace Opie; | ||
31 | 30 | ||
32 | class TodolistPlugin : public TodayPluginObject { | 31 | class TodolistPlugin : public TodayPluginObject { |
33 | 32 | ||