summaryrefslogtreecommitdiffstats
path: root/kdeui/kdialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-12 20:24:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-12 20:24:53 +0000
commit05b7686a12889c994a2edc3f1a8c1604474db59b (patch)
tree1bfbf3ea11a6e4721de72903ad85ab6794434900 /kdeui/kdialog.h
parent02c813356a95dc20d3e81fbc2ec8315e196e8e44 (diff)
downloadtdelibs-05b7686a12889c994a2edc3f1a8c1604474db59b.tar.gz
tdelibs-05b7686a12889c994a2edc3f1a8c1604474db59b.zip
Add systemwide modal notification dialog to kdelibs
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1253055 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kdialog.h')
-rw-r--r--kdeui/kdialog.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/kdeui/kdialog.h b/kdeui/kdialog.h
index cea1532e7..07aa31f24 100644
--- a/kdeui/kdialog.h
+++ b/kdeui/kdialog.h
@@ -1,6 +1,7 @@
/* This file is part of the KDE Libraries
* Copyright (C) 1998 Thomas Tanghus (tanghus@earthling.net)
* Additions 1999-2000 by Espen Sand (espen@kde.org)
+ * Additions 2011 by Timothy Pearson (kb9vqf@pearsoncomputing.net)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -207,4 +208,34 @@ protected:
static KDialogQueue *_self;
};
+ /**
+ * \brief The default system modal dialog
+ *
+ * This displays the special TDE system modal dialog,
+ * which is used solely to present noninterruptible
+ * session management status messages to the user.
+ *
+ * @author Timothy Pearson <kb9vqf@pearsoncomputing.net>
+ */
+class TQLabel;
+class KDEUI_EXPORT KSMModalDialog : public TQWidget
+{
+ Q_OBJECT
+
+public:
+ KSMModalDialog( TQWidget* parent );
+ ~KSMModalDialog();
+
+ void setStatusMessage(TQString message);
+ void setStartupPhase(TQString msg);
+ void closeSMDialog();
+
+protected slots:
+ void closeEvent(TQCloseEvent *e);
+
+private:
+ TQLabel* m_statusLabel;
+ bool m_allowClose;
+};
+
#endif // __KDIALOG_H