author | zecke <zecke> | 2004-03-13 23:00:19 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-13 23:00:19 (UTC) |
commit | 874af2f5ce2d48a460d5d9fa1d6535b68e5966da (patch) (unidiff) | |
tree | 50c2f0dbe0b0aa4b0ef53c537d6005a4afcf210d | |
parent | 8f5b7d0ee495901cdd9aa7901c445d82827e99b1 (diff) | |
download | opie-874af2f5ce2d48a460d5d9fa1d6535b68e5966da.zip opie-874af2f5ce2d48a460d5d9fa1d6535b68e5966da.tar.gz opie-874af2f5ce2d48a460d5d9fa1d6535b68e5966da.tar.bz2 |
ODP namespace adjustment
-rw-r--r-- | noncore/graphics/drawpad/drawpad.cpp | 4 | ||||
-rw-r--r-- | noncore/graphics/drawpad/exportdialog.cpp | 5 | ||||
-rw-r--r-- | noncore/graphics/drawpad/importdialog.cpp | 7 | ||||
-rw-r--r-- | noncore/graphics/drawpad/importdialog.h | 2 | ||||
-rw-r--r-- | noncore/graphics/drawpad/main.cpp | 2 |
5 files changed, 13 insertions, 7 deletions
diff --git a/noncore/graphics/drawpad/drawpad.cpp b/noncore/graphics/drawpad/drawpad.cpp index 55b23cc..3331193 100644 --- a/noncore/graphics/drawpad/drawpad.cpp +++ b/noncore/graphics/drawpad/drawpad.cpp | |||
@@ -36,5 +36,5 @@ | |||
36 | #include <qpe/applnk.h> | 36 | #include <qpe/applnk.h> |
37 | #include <qpe/config.h> | 37 | #include <qpe/config.h> |
38 | #include <qpe/qpetoolbar.h> | 38 | #include <qtoolbar.h> |
39 | #include <qpe/resource.h> | 39 | #include <qpe/resource.h> |
40 | #include <qpe/qpeapplication.h> | 40 | #include <qpe/qpeapplication.h> |
@@ -49,4 +49,6 @@ | |||
49 | #include <qwhatsthis.h> | 49 | #include <qwhatsthis.h> |
50 | 50 | ||
51 | using namespace Opie::Ui; | ||
52 | using namespace Opie::Ui; | ||
51 | DrawPad::DrawPad(QWidget* parent, const char* name, WFlags /*fl*/ ) | 53 | DrawPad::DrawPad(QWidget* parent, const char* name, WFlags /*fl*/ ) |
52 | : QMainWindow(parent, name, WStyle_ContextHelp) | 54 | : QMainWindow(parent, name, WStyle_ContextHelp) |
diff --git a/noncore/graphics/drawpad/exportdialog.cpp b/noncore/graphics/drawpad/exportdialog.cpp index 169acef..f053bb5 100644 --- a/noncore/graphics/drawpad/exportdialog.cpp +++ b/noncore/graphics/drawpad/exportdialog.cpp | |||
@@ -27,4 +27,5 @@ | |||
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | 28 | ||
29 | using namespace Opie::Ui; | ||
29 | ExportDialog::ExportDialog(uint pageAt, uint pageCount, QWidget* parent, const char* name) | 30 | ExportDialog::ExportDialog(uint pageAt, uint pageCount, QWidget* parent, const char* name) |
30 | : QDialog(parent, name, true) | 31 | : QDialog(parent, name, true) |
@@ -67,6 +68,6 @@ ExportDialog::ExportDialog(uint pageAt, uint pageCount, QWidget* parent, const c | |||
67 | 68 | ||
68 | MimeTypes types; types.insert( tr("All Images"), "image/*" ); | 69 | MimeTypes types; types.insert( tr("All Images"), "image/*" ); |
69 | Opie::OFileSelector* fileSelector = new Opie::OFileSelector(this, Opie::OFileSelector::FileSelector, | 70 | OFileSelector* fileSelector = new OFileSelector(this, OFileSelector::FileSelector, |
70 | Opie::OFileSelector::Normal, | 71 | OFileSelector::Normal, |
71 | QString::null, QString::null, | 72 | QString::null, QString::null, |
72 | types ); | 73 | types ); |
diff --git a/noncore/graphics/drawpad/importdialog.cpp b/noncore/graphics/drawpad/importdialog.cpp index 4fc0a0e..a2f4c40 100644 --- a/noncore/graphics/drawpad/importdialog.cpp +++ b/noncore/graphics/drawpad/importdialog.cpp | |||
@@ -22,4 +22,5 @@ | |||
22 | #include <qpushbutton.h> | 22 | #include <qpushbutton.h> |
23 | 23 | ||
24 | using namespace Opie::Ui; | ||
24 | ImportDialog::ImportDialog(QWidget* parent, const char* name) | 25 | ImportDialog::ImportDialog(QWidget* parent, const char* name) |
25 | : QDialog(parent, name, true) | 26 | : QDialog(parent, name, true) |
@@ -28,7 +29,7 @@ ImportDialog::ImportDialog(QWidget* parent, const char* name) | |||
28 | 29 | ||
29 | MimeTypes types; types.insert( tr("All images"),"image/*" ); | 30 | MimeTypes types; types.insert( tr("All images"),"image/*" ); |
30 | m_pFileSelector = new Opie::OFileSelector(this, | 31 | m_pFileSelector = new OFileSelector(this, |
31 | Opie::OFileSelector::FileSelector, | 32 | OFileSelector::FileSelector, |
32 | Opie::OFileSelector::Normal, | 33 | OFileSelector::Normal, |
33 | QString::null, | 34 | QString::null, |
34 | QString::null, types ); | 35 | QString::null, types ); |
diff --git a/noncore/graphics/drawpad/importdialog.h b/noncore/graphics/drawpad/importdialog.h index 16227d2..0e0727a 100644 --- a/noncore/graphics/drawpad/importdialog.h +++ b/noncore/graphics/drawpad/importdialog.h | |||
@@ -39,5 +39,5 @@ private slots: | |||
39 | 39 | ||
40 | private: | 40 | private: |
41 | Opie::OFileSelector* m_pFileSelector; | 41 | Opie::Ui::OFileSelector* m_pFileSelector; |
42 | QLabel* m_pPreviewLabel; | 42 | QLabel* m_pPreviewLabel; |
43 | QCheckBox* m_pAutomaticPreviewCheckBox; | 43 | QCheckBox* m_pAutomaticPreviewCheckBox; |
diff --git a/noncore/graphics/drawpad/main.cpp b/noncore/graphics/drawpad/main.cpp index a6c666b..e48bb2e 100644 --- a/noncore/graphics/drawpad/main.cpp +++ b/noncore/graphics/drawpad/main.cpp | |||
@@ -16,3 +16,5 @@ | |||
16 | #include <opie2/oapplicationfactory.h> | 16 | #include <opie2/oapplicationfactory.h> |
17 | 17 | ||
18 | using namespace Opie::Core; | ||
19 | using namespace Opie::Core; | ||
18 | OPIE_EXPORT_APP( OApplicationFactory<DrawPad> ) | 20 | OPIE_EXPORT_APP( OApplicationFactory<DrawPad> ) |