From 49588c7322679fe3dadf7aaad058d7df76e0d8d3 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 06 May 2004 19:47:25 +0000 Subject: Error spotted by Clement with Opie::Core and namespaces --- (limited to 'noncore/net') diff --git a/noncore/net/opietooth/lib/device.cc b/noncore/net/opietooth/lib/device.cc index 18d26e4..04c50d9 100644 --- a/noncore/net/opietooth/lib/device.cc +++ b/noncore/net/opietooth/lib/device.cc @@ -7,7 +7,7 @@ using namespace OpieTooth; -using namespace Opie::Core; +using Opie::Core::OProcess; namespace { int parsePid( const QCString& par ){ int id=0; diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h index f3339fc..3631c97 100644 --- a/noncore/net/opietooth/lib/device.h +++ b/noncore/net/opietooth/lib/device.h @@ -8,7 +8,7 @@ #include -namespace Opie {namespace Core {class Opie::Core::OProcess;}} +namespace Opie {namespace Core {class OProcess;}} namespace OpieTooth { /** * Device takes care of attaching serial diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc index 7c9ea5b..18e1df9 100644 --- a/noncore/net/opietooth/lib/manager.cc +++ b/noncore/net/opietooth/lib/manager.cc @@ -8,8 +8,7 @@ using namespace OpieTooth; -using namespace Opie::Core; -using namespace Opie::Core; +using Opie::Core::OProcess; Manager::Manager( const QString& dev ) : QObject() { diff --git a/noncore/net/opietooth/lib/manager.h b/noncore/net/opietooth/lib/manager.h index 9b1c714..930eb56 100644 --- a/noncore/net/opietooth/lib/manager.h +++ b/noncore/net/opietooth/lib/manager.h @@ -11,7 +11,7 @@ #include "remotedevice.h" #include "services.h" -namespace Opie {namespace Core {class Opie::Core::OProcess;}} +namespace Opie {namespace Core {class OProcess;}} namespace OpieTooth { class Device; /** Manager manages a blueZ device (hci0 for example) -- cgit v0.9.0.2