summaryrefslogtreecommitdiffstats
path: root/kwin/clients/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/clients/test/test.h')
-rw-r--r--kwin/clients/test/test.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/kwin/clients/test/test.h b/kwin/clients/test/test.h
deleted file mode 100644
index e1d3d51a6..000000000
--- a/kwin/clients/test/test.h
+++ /dev/null
@@ -1,49 +0,0 @@
-#ifndef KWIN_TEST
-#define KWIN_TEST
-
-#include <kdecoration.h>
-#include <kdecorationfactory.h>
-#include <tqpushbutton.h>
-
-namespace KWinTest
-{
-
-const int SUPPORTED_WINDOW_TYPES_MASK = NET::NormalMask | NET::DesktopMask | NET::DockMask
- | NET::ToolbarMask | NET::MenuMask | NET::DialogMask /*| NET::OverrideMask*/ | NET::TopMenuMask
- | NET::UtilityMask | NET::SplashMask;
-
-class Decoration
- : public KDecoration
- {
- Q_OBJECT
- public:
- Decoration( KDecorationBridge* bridge, KDecorationFactory* factory );
- virtual void init();
- virtual MousePosition mousePosition( const TQPoint& p ) const;
- virtual void borders( int& left, int& right, int& top, int& bottom ) const;
- virtual void resize( const TQSize& s );
- virtual TQSize tqminimumSize() const;
- virtual void activeChange() {};
- virtual void captionChange() {};
- virtual void maximizeChange() {};
- virtual void desktopChange() {};
- virtual void shadeChange() {};
- virtual void iconChange() {};
- virtual bool eventFilter( TQObject* o, TQEvent* e );
- virtual void reset( unsigned long changed );
- virtual bool animateMinimize( bool minimize );
- private:
- TQPushButton* button;
- };
-
-class Factory
- : public KDecorationFactory
- {
- public:
- virtual KDecoration* createDecoration( KDecorationBridge* );
- virtual bool reset( unsigned long changed );
- };
-
-} // namespace
-
-#endif