diff options
author | Slávek Banko <[email protected]> | 2015-10-01 17:05:29 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-10-01 17:05:29 +0200 |
commit | 39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70 (patch) | |
tree | d6bc97f38d36892b14703c788cef782f13ee2a4d /src/clip.h | |
download | kooldock-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.h | 29 |
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_ |