summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockprocess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-12 00:34:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-12 00:34:54 +0000
commit9925fc58bcca4faf6f6a356ace24acdf19556560 (patch)
treeba039e157eb6838fcfe0e2d178c92e1f86e2d08e /kdesktop/lock/lockprocess.h
parent1f40ada72d693d681ec6a32c2ef717e8dd73b5bb (diff)
downloadtdebase-9925fc58bcca4faf6f6a356ace24acdf19556560.tar.gz
tdebase-9925fc58bcca4faf6f6a356ace24acdf19556560.zip
Fix system modal dialogs
Fix shutdown background Add code to make the desktop locking system use the system window decorations and generally use the same theme and style as the active desktop This code is disabled for now, but can be enabled via the two new static variables in kdesktop/lock/main.cc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252900 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/lock/lockprocess.h')
-rw-r--r--kdesktop/lock/lockprocess.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/kdesktop/lock/lockprocess.h b/kdesktop/lock/lockprocess.h
index 9f9c2c0bf..2c209cc8f 100644
--- a/kdesktop/lock/lockprocess.h
+++ b/kdesktop/lock/lockprocess.h
@@ -68,6 +68,7 @@ public slots:
void desktopResized();
void doDesktopResizeFinish();
void doFunctionKeyBroadcast();
+ void slotPaintBackground();
protected:
virtual bool x11Event(XEvent *);
@@ -81,6 +82,9 @@ private slots:
void checkDPMSActive();
void slotDeadTimePassed();
void windowAdded( WId );
+ void resumeUnforced();
+ void displayLockDialogIfNeeded();
+ bool startHack();
private:
void configure();
@@ -97,7 +101,6 @@ private:
void cantLock(const TQString &reason);
bool startSaver();
void stopSaver();
- bool startHack();
void stopHack();
void setupSignals();
void setupPipe();
@@ -146,6 +149,8 @@ private:
TQTimer *resizeTimer;
unsigned int mkeyCode;
+ TQTimer *hackResumeTimer;
+
KProcess* mVkbdProcess;
KWinModule* mKWinModule;
struct VkbdWindow
@@ -162,9 +167,16 @@ private:
int mPipe_fd_out;
bool mInfoMessageDisplayed;
- TQDialog *currentDialog;
bool mDialogControlLock;
bool mForceReject;
+ TQDialog *currentDialog;
+
+ TQTimer* mForceContinualLockDisplayTimer;
+ TQTimer* mHackDelayStartupTimer;
+
+ int mHackDelayStartupTimeout;
+
+ TQPixmap backingPixmap;
};
#endif