summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdowndlg.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-12 20:26:03 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-12 20:26:03 +0000
commitb971f9aae70373db39fb62a75c82f25e9252f6b3 (patch)
treeae35ba91c40e293d6ea6ed40978b4b81cddf5764 /ksmserver/shutdowndlg.h
parent9925fc58bcca4faf6f6a356ace24acdf19556560 (diff)
downloadtdebase-b971f9aae70373db39fb62a75c82f25e9252f6b3.tar.gz
tdebase-b971f9aae70373db39fb62a75c82f25e9252f6b3.zip
Use new modal system nofitication dialog in kdebase smserver
Add fancy startup dialog to match the fancy shutdown dialog This is only used if the themed splash screen is turned off git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253056 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmserver/shutdowndlg.h')
-rw-r--r--ksmserver/shutdowndlg.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/ksmserver/shutdowndlg.h b/ksmserver/shutdowndlg.h
index 7ba93401f..3cf9860a9 100644
--- a/ksmserver/shutdowndlg.h
+++ b/ksmserver/shutdowndlg.h
@@ -10,7 +10,7 @@ Copyright (C) 2000 Matthias Ettrich <[email protected]>
#include <tqpixmap.h>
#include <tqimage.h>
#include <tqdatetime.h>
-#include <tqdialog.h>
+#include <kdialog.h>
#include <kpushbutton.h>
#include <tqpushbutton.h>
#include <tqframe.h>
@@ -141,23 +141,18 @@ private:
};
// The shutdown-in-progress dialog
-class KSMShutdownIPDlg : public TQWidget
+class KSMShutdownIPDlg : public KSMModalDialog
{
Q_OBJECT
public:
static TQWidget* showShutdownIP();
- void setStatusMessage(TQString message);
protected:
~KSMShutdownIPDlg();
-protected slots:
- void closeEvent(TQCloseEvent *e);
-
private:
KSMShutdownIPDlg( TQWidget* parent );
- TQLabel* m_statusLabel;
};
class KSMDelayedPushButton : public KPushButton