From 2eb5c075b612498c4b65f3d49389b8612612a930 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 13 Mar 2004 21:53:54 +0000 Subject: Introduce the namespace and the new APPLET_EXPORT define --- (limited to 'noncore/applets/networkapplet/networkapplet.h') diff --git a/noncore/applets/networkapplet/networkapplet.h b/noncore/applets/networkapplet/networkapplet.h index 8022537..1e2cac8 100644 --- a/noncore/applets/networkapplet/networkapplet.h +++ b/noncore/applets/networkapplet/networkapplet.h @@ -38,7 +38,13 @@ #include #include -class ONetworkInterface; + +namespace Opie { +namespace Net { + class ONetwork; + class ONetworkInterface; +} +} class QShowEvent; class QHideEvent; class QVBoxLayout; @@ -55,7 +61,7 @@ class IfaceUpDownButton : public QToolButton virtual void clicked(); private: - ONetworkInterface* _iface; + Opie::Net::ONetworkInterface* _iface; }; @@ -71,13 +77,13 @@ class IfaceIPAddress : public QLineEdit virtual void returnPressed(); private: - ONetworkInterface* _iface; + Opie::Net::ONetworkInterface* _iface; }; class NetworkAppletControl : public QFrame { public: - NetworkAppletControl( OTaskbarApplet* parent, const char* name = 0 ); + NetworkAppletControl( Opie::Ui::OTaskbarApplet* parent, const char* name = 0 ); ~NetworkAppletControl(); virtual QSize sizeHint() const; @@ -85,7 +91,7 @@ class NetworkAppletControl : public QFrame protected: virtual void showEvent( QShowEvent* ); virtual void hideEvent( QHideEvent* ); - QString guessDevice( ONetworkInterface* iface ); + QString guessDevice( Opie::Net::ONetworkInterface* iface ); void build(); private: @@ -94,7 +100,7 @@ class NetworkAppletControl : public QFrame }; -class NetworkApplet : public OTaskbarApplet +class NetworkApplet : public Opie::Ui::OTaskbarApplet { public: NetworkApplet( QWidget* parent = 0, const char* name = 0 ); -- cgit v0.9.0.2