From 5a63d5945b2f886322c3ed6f5561822bcb1ed6fa Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 8 Sep 2011 02:02:57 +0000 Subject: Allow kdebase to build with HAL disabled git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252060 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmserver/shutdowndlg.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ksmserver/shutdowndlg.h') diff --git a/ksmserver/shutdowndlg.h b/ksmserver/shutdowndlg.h index e6bcfdab2..0db328a79 100644 --- a/ksmserver/shutdowndlg.h +++ b/ksmserver/shutdowndlg.h @@ -26,18 +26,21 @@ class TQPainter; class TQString; class KAction; - #include "timed.h" #include #include +#include + #ifndef NO_QT3_DBUS_SUPPORT /* We acknowledge the the dbus API is unstable */ #define DBUS_API_SUBJECT_TO_CHANGE #include #endif // NO_QT3_DBUS_SUPPORT +#ifdef COMPILE_HALBACKEND #include +#endif // The (singleton) widget that makes/fades the desktop gray. class KSMShutdownFeedback : public TQWidget @@ -128,8 +131,10 @@ private: TQString m_bootOption; TQPopupMenu *targets; TQStringList rebootOptions; +#ifdef COMPILE_HALBACKEND LibHalContext* m_halCtx; DBusConnection *m_dbusConn; +#endif bool m_lockOnResume; }; -- cgit v1.2.1