Fix FTBFS for build without tdehwlib.

Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 82e214c84f)
r14.0.x
François Andriot 5 years ago committed by Slávek Banko
parent eaf53f100d
commit c35e6e8cce
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -25,8 +25,10 @@ class KCharsets;
class TDEConfig; class TDEConfig;
class TDESharedConfig; class TDESharedConfig;
class TDEIconLoader; class TDEIconLoader;
#ifdef __TDE_HAVE_TDEHWLIB
class TDEHardwareDevices; class TDEHardwareDevices;
class TDEGlobalNetworkManager; class TDEGlobalNetworkManager;
#endif
class TDELocale; class TDELocale;
class TDEStandardDirs; class TDEStandardDirs;
class KStaticDeleterBase; class KStaticDeleterBase;
@ -79,6 +81,7 @@ public:
*/ */
static TDEIconLoader *iconLoader(); static TDEIconLoader *iconLoader();
#ifdef __TDE_HAVE_TDEHWLIB
/** /**
* Returns a TDEHardwareDevices object. * Returns a TDEHardwareDevices object.
* @return the global hardware devices object * @return the global hardware devices object
@ -90,6 +93,7 @@ public:
* @return the global network manager object * @return the global network manager object
*/ */
static TDEGlobalNetworkManager *networkManager(); static TDEGlobalNetworkManager *networkManager();
#endif
/** /**
* Returns the global locale object. * Returns the global locale object.

Loading…
Cancel
Save