summaryrefslogtreecommitdiffstats
path: root/client/myrootpixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/myrootpixmap.h')
-rw-r--r--client/myrootpixmap.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/client/myrootpixmap.h b/client/myrootpixmap.h
index 26ebc9c..7d8f0e8 100644
--- a/client/myrootpixmap.h
+++ b/client/myrootpixmap.h
@@ -25,10 +25,26 @@ class TQTimer;
class TDESharedPixmap;
class KMyRootPixmapData;
+class DesktopWallpaperWatcher : public TQWidget
+{
+ Q_OBJECT
+
+ public:
+ DesktopWallpaperWatcher();
+ ~DesktopWallpaperWatcher();
+
+ bool x11Event( XEvent * ev );
+
+ signals:
+ void currentDesktopChanged( int desktop);
+
+ private:
+ int m_old_current_desktop;
+};
+
class KMyRootPixmap: public TQObject
{
Q_OBJECT
-
public:
KMyRootPixmap( TQWidget *target=NULL, const char *name=0 );
@@ -91,7 +107,7 @@ private:
// TQWidget *m_pWidget;
// TQTimer *m_pTimer;
TDESharedPixmap *m_pPixmap;
- KMyRootPixmapData *d;
+ KMyRootPixmapData *d;
void init();
};