summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -43,13 +43,13 @@ NetworkSettings::NetworkSettings( QWidget *parent,
QVBoxLayout* V = new QVBoxLayout( LED_Frm );
QHBoxLayout * H = new QHBoxLayout( 0 );
V->addStretch(1);
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 );
V->addStretch(1);
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
@@ -6,9 +6,18 @@ class ANetNode;
class ANetNodeInstance;
class QTimer;
class QListBoxItem;
class QEvent;
-class OLedBox;
+
+namespace Opie {
+
+ namespace Ui {
+
+ class OLedBox;
+
+ };
+
+};
class NetworkSettings : public NetworkSettingsGUI {
Q_OBJECT
@@ -54,6 +63,6 @@ private :
(2) available : hardware present and active
(3) up : present active and connected
*/
- OLedBox * Leds[3];
+ Opie::Ui::OLedBox * Leds[3];
};