summaryrefslogtreecommitdiff
path: root/examples/networksettings/exampleiface.cpp
authormickeyl <mickeyl>2004-04-05 13:49:07 (UTC)
committer mickeyl <mickeyl>2004-04-05 13:49:07 (UTC)
commitf44b1d4abe82cfb74db68bffcaf240f6f6134708 (patch) (side-by-side diff)
treec150abb3cbc842fd930d3ab7543a0b34ec3145ad /examples/networksettings/exampleiface.cpp
parent997a521a3ee84f614e2781a663911096ffb4a91a (diff)
downloadopie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.zip
opie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.tar.gz
opie-f44b1d4abe82cfb74db68bffcaf240f6f6134708.tar.bz2
use opie debugging
Diffstat (limited to 'examples/networksettings/exampleiface.cpp') (more/less context) (show whitespace changes)
-rw-r--r--examples/networksettings/exampleiface.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/networksettings/exampleiface.cpp b/examples/networksettings/exampleiface.cpp
index 5267a9c..8012bb2 100644
--- a/examples/networksettings/exampleiface.cpp
+++ b/examples/networksettings/exampleiface.cpp
@@ -1,5 +1,8 @@
#include "exampleiface.h"
+#include <opie2/odebug.h>
+using namespace Opie::Core;
+
VirtualInterface::VirtualInterface( QObject* parent,
const char* name,
bool status )
@@ -17,7 +20,7 @@ bool VirtualInterface::refresh() {
* I take wlan0 in my case
*/
QString old = getInterfaceName();
- qWarning("Interface name was " + old );
+ odebug << "Interface name was " << old << oendl;
setInterfaceName( "wlan0" );
bool b =Interface::refresh();