diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-27 06:25:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-27 06:25:36 +0000 |
commit | 5939318451b18c30ca5838a6993a0ced83ff61e8 (patch) | |
tree | 98b6719de8d6736e9f842ba9119f9a48aed26f66 /kdesktop/desktop.h | |
parent | 8cc8a98b4054dfdd64cf784cdf52450c9a2c7c50 (diff) | |
download | tdebase-5939318451b18c30ca5838a6993a0ced83ff61e8.tar.gz tdebase-5939318451b18c30ca5838a6993a0ced83ff61e8.zip |
Add show desktop get/set commands to DCOP
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1180138 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/desktop.h')
-rw-r--r-- | kdesktop/desktop.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kdesktop/desktop.h b/kdesktop/desktop.h index 31928e9d4..19cc4cbbe 100644 --- a/kdesktop/desktop.h +++ b/kdesktop/desktop.h @@ -24,6 +24,7 @@ #include <tqwidget.h> #include <tqstringlist.h> +#include <tqvaluevector.h> #include <kapplication.h> // for logout parameters @@ -75,6 +76,9 @@ public: virtual void selectAll(); virtual void unselectAll(); virtual void refreshIcons(); + virtual void setShowDesktop( bool b ); + virtual bool showDesktopState(); + virtual void toggleShowDesktop(); virtual TQStringList selectedURLs(); virtual void configure(); @@ -151,6 +155,11 @@ private slots: // when there seems to be no kicker, we have to get desktopIconsArea from kwinModule void slotNoKicker(); + /** Used for desktop show/hide functionality */ + void slotCurrentDesktopChanged(int); + void slotWindowAdded(WId w); + void slotWindowChanged(WId w, unsigned int dirty); + protected: void initConfig(); void initRoot(); @@ -172,6 +181,9 @@ protected: private slots: void desktopResized(); +signals: + void desktopShown(bool shown); + private: KGlobalAccel *keys; @@ -212,6 +224,10 @@ private: /** Possible values for "kdesktoprc"->"Mouse Buttons"->"WheelDirection" */ static const char* m_wheelDirectionStrings[2]; + + bool m_wmSupport; + WId m_activeWindow; + TQValueVector<WId> m_iconifiedList; }; #endif |