summaryrefslogtreecommitdiffstats
path: root/src/clip.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-10-01 17:05:29 +0200
committerSlávek Banko <[email protected]>2015-10-01 17:05:29 +0200
commit39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70 (patch)
treed6bc97f38d36892b14703c788cef782f13ee2a4d /src/clip.h
downloadkooldock-39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70.tar.gz
kooldock-39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70.zip
Initial import of kooldock 0.4.7
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/clip.h')
-rw-r--r--src/clip.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/clip.h b/src/clip.h
new file mode 100644
index 0000000..c14af10
--- /dev/null
+++ b/src/clip.h
@@ -0,0 +1,29 @@
+#ifndef clip_H_
+#define clip_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qwidget.h>
+
+#include <netwm.h>
+#include <kwin.h>
+
+class clip : public QWidget
+{
+Q_OBJECT
+ public:
+ clip(QWidget* parent=0, const char *name=0);
+
+ virtual ~clip();
+ void clipDesktop(int,int,int,int,int,int,int,int,int,int,int,int);
+
+ private:
+ NETWinInfo *info;
+
+ protected:
+ void paintEvent(QPaintEvent *);
+
+};
+#endif // CLIP_H_