diff options
author | Timothy Pearson <[email protected]> | 2011-11-07 21:50:33 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-07 21:50:33 -0600 |
commit | 0b6057404f65218182ab27a9483a21065ef61fca (patch) | |
tree | b8b06dfa2deb965bebfbe131a772124e3e693a96 /kwin/clients/kwmtheme/kwmthemeclient.h | |
parent | 43d99cc2477266cb9072e179137f0e8485370b3d (diff) | |
download | tdebase-0b6057404f65218182ab27a9483a21065ef61fca.tar.gz tdebase-0b6057404f65218182ab27a9483a21065ef61fca.zip |
Rename kwin to twin (Part 2 of 2)
Diffstat (limited to 'kwin/clients/kwmtheme/kwmthemeclient.h')
-rw-r--r-- | kwin/clients/kwmtheme/kwmthemeclient.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/kwin/clients/kwmtheme/kwmthemeclient.h b/kwin/clients/kwmtheme/kwmthemeclient.h deleted file mode 100644 index e51bfe6d1..000000000 --- a/kwin/clients/kwmtheme/kwmthemeclient.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef __KWMTHEMECLIENT_H -#define __KWMTHEMECLIENT_H - -#include <tqbutton.h> -#include <tqtoolbutton.h> -#include <kpixmap.h> -#include <kdecoration.h> -#include <kdecorationfactory.h> - -class TQLabel; -class TQSpacerItem; -class TQGridLayout; - -namespace KWMTheme { - -class MyButton : public TQToolButton -{ -public: - MyButton(TQWidget *parent=0, const char *name=0) - : TQToolButton(parent, name){setAutoRaise(true);setCursor( arrowCursor ); } -protected: - void drawButtonLabel(TQPainter *p); -}; - -class KWMThemeClient : public KDecoration -{ - Q_OBJECT -public: - KWMThemeClient( KDecorationBridge* b, KDecorationFactory* f ); - ~KWMThemeClient(){;} - void init(); - void resize( const TQSize& s ); - TQSize tqminimumSize() const; - void borders( int& left, int& right, int& top, int& bottom ) const; -protected: - void doShape(); - void drawTitle(TQPainter &p); - void resizeEvent( TQResizeEvent* ); - void paintEvent( TQPaintEvent* ); - void showEvent( TQShowEvent* ); - void mouseDoubleClickEvent( TQMouseEvent * ); - bool eventFilter( TQObject* o, TQEvent* e ); - void captionChange(); - void desktopChange(); - void maximizeChange(); - void iconChange(); - void activeChange(); - void shadeChange() {}; - Position mousePosition(const TQPoint &) const; -protected slots: - //void slotReset(); - void menuButtonPressed(); - void slotMaximize(); -private: - TQPixmap buffer; - KPixmap *aGradient, *iGradient; - MyButton *maxBtn, *stickyBtn, *mnuBtn; - TQSpacerItem *titlebar; - TQGridLayout* layout; -}; - -class KWMThemeFactory : public KDecorationFactory -{ -public: - KWMThemeFactory(); - ~KWMThemeFactory(); - KDecoration* createDecoration( KDecorationBridge* b ); - bool reset( unsigned long mask ); -}; - -} - -#endif - |