summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdowndlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksmserver/shutdowndlg.h')
-rw-r--r--ksmserver/shutdowndlg.h30
1 files changed, 8 insertions, 22 deletions
diff --git a/ksmserver/shutdowndlg.h b/ksmserver/shutdowndlg.h
index 25ee60f77..7539fd75b 100644
--- a/ksmserver/shutdowndlg.h
+++ b/ksmserver/shutdowndlg.h
@@ -34,16 +34,6 @@ class TDEAction;
#include <config.h>
-#ifdef COMPILE_HALBACKEND
- #ifndef NO_QT3_DBUS_SUPPORT
- /* We acknowledge the the dbus API is unstable */
- #define DBUS_API_SUBJECT_TO_CHANGE
- #include <dbus/connection.h>
- #endif // NO_QT3_DBUS_SUPPORT
-
- #include <hal/libhal.h>
-#endif // COMPILE_HALBACKEND
-
namespace SuspendType {
enum SuspendType {
NotSpecified = 0,
@@ -58,7 +48,7 @@ enum SuspendType {
// The (singleton) widget that makes/fades the desktop gray.
class KSMShutdownFeedback : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
static void start() { s_pSelf = new KSMShutdownFeedback(); }
@@ -92,7 +82,7 @@ private:
// The (singleton) widget that shows either pretty pictures or a black screen during logout
class KSMShutdownIPFeedback : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
static void start() { s_pSelf = new KSMShutdownIPFeedback(); }
@@ -135,7 +125,7 @@ private:
// The confirmation dialog
class KSMShutdownDlg : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
static bool confirmShutdown( bool maysd, bool mayrb, TDEApplication::ShutdownType& sdtype, TQString& bopt, int* selection=0 );
@@ -159,10 +149,6 @@ private:
TQString m_bootOption;
TQPopupMenu *targets;
TQStringList rebootOptions;
-#ifdef COMPILE_HALBACKEND
- LibHalContext* m_halCtx;
- DBusConnection *m_dbusConn;
-#endif
bool m_lockOnResume;
int* m_selection;
};
@@ -170,7 +156,7 @@ private:
// The shutdown-in-progress dialog
class KSMShutdownIPDlg : public KSMModalDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
static TQWidget* showShutdownIP();
@@ -196,7 +182,7 @@ private:
class KSMDelayedPushButton : public KPushButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -215,7 +201,7 @@ private:
class KSMPushButton : public KPushButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -235,7 +221,7 @@ private:
class FlatButton : public TQToolButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -264,7 +250,7 @@ class TQLabel;
class KSMDelayedMessageBox : public TimedLogoutDlg
{
- Q_OBJECT
+ TQ_OBJECT
public:
KSMDelayedMessageBox( TDEApplication::ShutdownType sdtype, const TQString &bootOption, int confirmDelay );