summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/autologout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/lock/autologout.cc')
-rw-r--r--kdesktop/lock/autologout.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/lock/autologout.cc b/kdesktop/lock/autologout.cc
index 7a9cc9e66..eadb48de9 100644
--- a/kdesktop/lock/autologout.cc
+++ b/kdesktop/lock/autologout.cc
@@ -17,7 +17,7 @@
#include <kmessagebox.h>
#include <kdialog.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqmessagebox.h>
#include <tqlabel.h>
#include <tqstyle.h>
@@ -55,7 +55,7 @@ AutoLogout::AutoLogout(LockProcess *parent) : TQDialog(parent, "password dialog"
TQLabel *infoLabel = new TQLabel(i18n("<qt>To prevent being logged out, resume using this session by moving the mouse or pressing a key.</qt>"), frame);
mStatusLabel = new TQLabel("<b> </b>", frame);
- mStatusLabel->tqsetAlignment(TQLabel::AlignCenter);
+ mStatusLabel->setAlignment(TQLabel::AlignCenter);
TQLabel *mProgressLabel = new TQLabel("Time Remaining:", frame);
mProgressRemaining = new TQProgressBar(frame);