summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp3
-rw-r--r--noncore/settings/appearance2/appearance.h6
-rw-r--r--noncore/settings/appearance2/editScheme.cpp5
-rw-r--r--noncore/settings/appearance2/editScheme.h6
-rw-r--r--noncore/settings/appearance2/main.cpp1
5 files changed, 11 insertions, 10 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index 8ae87fe..6b9fe4d 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -74,5 +74,6 @@
using namespace Opie;
-
+using namespace Opie::Ui;
+using namespace Opie::Core;
class DefaultWindowDecoration : public WindowDecorationInterface
diff --git a/noncore/settings/appearance2/appearance.h b/noncore/settings/appearance2/appearance.h
index f45f549..134a918 100644
--- a/noncore/settings/appearance2/appearance.h
+++ b/noncore/settings/appearance2/appearance.h
@@ -36,5 +36,5 @@
#include <qdialog.h>
-using Opie::OFontSelector;
+using Opie::Ui::OFontSelector;
class QCheckBox;
@@ -48,5 +48,5 @@ class QRadioButton;
class QToolButton;
class SampleWindow;
-class OFontSelector;
+namespace Opie {namespace Ui {class OFontSelector;}}
class QListView;
class QListViewItem;
@@ -113,5 +113,5 @@ private:
QListBox * m_color_list;
- OFontSelector *m_fontselect;
+ Opie::Ui::OFontSelector *m_fontselect;
SampleWindow *m_sample;
diff --git a/noncore/settings/appearance2/editScheme.cpp b/noncore/settings/appearance2/editScheme.cpp
index 0f3702f..18c69a5 100644
--- a/noncore/settings/appearance2/editScheme.cpp
+++ b/noncore/settings/appearance2/editScheme.cpp
@@ -37,4 +37,5 @@
#include <qwhatsthis.h>
+using namespace Opie::Ui;
EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget* parent, const char* name, bool modal, WFlags )
: QDialog ( parent, name, modal, WStyle_ContextHelp )
@@ -44,5 +45,5 @@ EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget
m_count = cnt;
- m_buttons = new OColorButton * [cnt];
+ m_buttons = new Opie::OColorButton * [cnt];
m_colors = colors;
@@ -53,5 +54,5 @@ EditScheme::EditScheme ( int cnt, const QString *labels, QColor *colors, QWidget
QWhatsThis::add( l, tr( "Click here to select a color for: " ).arg( labels [i] ) );
- m_buttons [i] = new OColorButton ( this, colors [i] );
+ m_buttons [i] = new Opie::OColorButton ( this, colors [i] );
layout-> addWidget ( m_buttons [i], i, 1 );
QWhatsThis::add( m_buttons [i], tr( "Click here to select a color for: " ).arg( labels [i] ) );
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h
index c7539cb..302652c 100644
--- a/noncore/settings/appearance2/editScheme.h
+++ b/noncore/settings/appearance2/editScheme.h
@@ -34,8 +34,6 @@
#include <qdialog.h>
-using Opie::OColorButton;
-
class QColor;
-class OColorButton;
+namespace Opie {namespace Ui {class OColor;}}
class EditScheme : public QDialog {
@@ -52,5 +50,5 @@ private:
int m_count;
QColor *m_colors;
- OColorButton **m_buttons;
+ Opie::OColorButton **m_buttons;
};
diff --git a/noncore/settings/appearance2/main.cpp b/noncore/settings/appearance2/main.cpp
index 8ac45d8..87061e3 100644
--- a/noncore/settings/appearance2/main.cpp
+++ b/noncore/settings/appearance2/main.cpp
@@ -31,3 +31,4 @@
+using namespace Opie::Core;
OPIE_EXPORT_APP( OApplicationFactory<Appearance> )