summaryrefslogtreecommitdiff
authorwimpie <wimpie>2005-01-05 02:28:57 (UTC)
committer wimpie <wimpie>2005-01-05 02:28:57 (UTC)
commit2f343aab63dd30e97a893e3691501cdd55114e82 (patch) (side-by-side diff)
tree819ec07fa02e9a422a9ba834663b18bc34bbb208
parent46a75181b493c25304f06cbd9f757f4165ac2b5e (diff)
downloadopie-2f343aab63dd30e97a893e3691501cdd55114e82.zip
opie-2f343aab63dd30e97a893e3691501cdd55114e82.tar.gz
opie-2f343aab63dd30e97a893e3691501cdd55114e82.tar.bz2
Networksettings2 also uses ledboxes -> hence added namespaces
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/networksettings.cpp6
-rw-r--r--noncore/settings/networksettings2/networksettings.h13
2 files changed, 14 insertions, 5 deletions
diff --git a/noncore/settings/networksettings2/networksettings.cpp b/noncore/settings/networksettings2/networksettings.cpp
index a0d4c7c..dca6631 100644
--- a/noncore/settings/networksettings2/networksettings.cpp
+++ b/noncore/settings/networksettings2/networksettings.cpp
@@ -46,7 +46,7 @@ NetworkSettings::NetworkSettings( QWidget *parent,
V->addLayout( H );
- Leds[0] = new OLedBox( red, LED_Frm );
+ Leds[0] = new Opie::Ui::OLedBox( red, LED_Frm );
H->addWidget( Leds[0], 0, Qt::AlignVCenter );
- Leds[1] = new OLedBox( red, LED_Frm );
+ Leds[1] = new Opie::Ui::OLedBox( red, LED_Frm );
H->addWidget( Leds[1], 0, Qt::AlignVCenter );
- Leds[2] = new OLedBox( red, LED_Frm );
+ Leds[2] = new Opie::Ui::OLedBox( red, LED_Frm );
H->addWidget( Leds[2], 0, Qt::AlignVCenter );
diff --git a/noncore/settings/networksettings2/networksettings.h b/noncore/settings/networksettings2/networksettings.h
index 987e311..e1c2b80 100644
--- a/noncore/settings/networksettings2/networksettings.h
+++ b/noncore/settings/networksettings2/networksettings.h
@@ -9,3 +9,12 @@ class QListBoxItem;
class QEvent;
-class OLedBox;
+
+namespace Opie {
+
+ namespace Ui {
+
+ class OLedBox;
+
+ };
+
+};
@@ -57,3 +66,3 @@ private :
*/
- OLedBox * Leds[3];
+ Opie::Ui::OLedBox * Leds[3];
};