summaryrefslogtreecommitdiffstats
path: root/tdecore/kglobal.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-27 11:52:10 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-27 11:52:10 -0500
commit2a415e33e054e00a9b1a3385d3883f36c9c1b6d4 (patch)
treeb9025bd120d65d48067e2f29ce13cf550580b119 /tdecore/kglobal.cpp
parentcfbdd55bb39f6e2012103a506d8d2506145cc936 (diff)
downloadtdelibs-2a415e33e054e00a9b1a3385d3883f36c9c1b6d4.tar.gz
tdelibs-2a415e33e054e00a9b1a3385d3883f36c9c1b6d4.zip
Add network manager global object to kinstance
This breaks the ABI
Diffstat (limited to 'tdecore/kglobal.cpp')
-rw-r--r--tdecore/kglobal.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tdecore/kglobal.cpp b/tdecore/kglobal.cpp
index efb9d803f..6c88302ce 100644
--- a/tdecore/kglobal.cpp
+++ b/tdecore/kglobal.cpp
@@ -35,6 +35,7 @@
#include <kcharsets.h>
#include <kiconloader.h>
#include <tdehardwaredevices.h>
+#include <tdenetworkconnections.h>
#include <kstandarddirs.h>
#include <kinstance.h>
#include "kstaticdeleter.h"
@@ -87,6 +88,13 @@ TDEHardwareDevices *KGlobal::hardwareDevices()
return _instance->hardwareDevices();
}
+TDEGlobalNetworkManager *KGlobal::networkManager()
+{
+ MYASSERT(_instance);
+
+ return _instance->networkManager();
+}
+
KInstance *KGlobal::instance()
{
MYASSERT(_instance);