summaryrefslogtreecommitdiffstats
path: root/kdesktop/krootwm.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-04-08 15:13:08 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-04-14 02:27:23 +0200
commitd9fe0f0bf3ffa245e094e9d86da3b92a33d27bb9 (patch)
tree20979d92829808e36d5ff17557a301a8f2486da7 /kdesktop/krootwm.h
parent15e069f3e078dd97e7cc99a66b77b2647a82c53d (diff)
downloadtdebase-d9fe0f0bf3ffa245e094e9d86da3b92a33d27bb9.tar.gz
tdebase-d9fe0f0bf3ffa245e094e9d86da3b92a33d27bb9.zip
Remove external dcop call and associated thread
Fix lockup on lock screen command due to signal race condition (cherry picked from commit e80c2baea0319decdad80c3c98cc7b28a010b0f0)
Diffstat (limited to 'kdesktop/krootwm.h')
-rw-r--r--kdesktop/krootwm.h27
1 files changed, 3 insertions, 24 deletions
diff --git a/kdesktop/krootwm.h b/kdesktop/krootwm.h
index 0e27001b2..8fb5af8b9 100644
--- a/kdesktop/krootwm.h
+++ b/kdesktop/krootwm.h
@@ -33,6 +33,7 @@ typedef XID Window;
class KMenuBar;
class KDesktop;
+class SaverEngine;
class TQPopupMenu;
class KCMultiDialog;
class KNewMenu;
@@ -66,7 +67,7 @@ class KRootWm: public TQObject {
Q_OBJECT
public:
- KRootWm(KDesktop*);
+ KRootWm(SaverEngine*, KDesktop*);
~KRootWm();
bool startup;
@@ -126,14 +127,8 @@ public slots:
void slotOpenTerminal();
void slotLockNNewSession();
-signals:
- void initializeHelperThread();
- void terminateHelperThread();
- void asyncLock();
- void asyncLockAndDoNewSession();
- void asyncSlotSessionActivated(int vt);
-
private:
+ SaverEngine* m_pSaver;
KDesktop* m_pDesktop;
// The five root menus :
@@ -176,10 +171,6 @@ private:
static KRootWm * s_rootWm;
- TQEventLoopThread* m_helperThread;
- KRootWmThreadHelperObject* m_threadHelperObject;
-
-
private slots:
void slotMenuItemActivated(int);
@@ -188,16 +179,4 @@ private slots:
void slotConfigClosed();
};
-class KRootWmThreadHelperObject : public TQObject
-{
- TQ_OBJECT
-
- public slots:
- void initializeThread();
- void terminateThread();
- void slotLock();
- void lockAndDoNewSession();
- void slotSessionActivated(int vt);
-};
-
#endif