diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/clients/default/kdedefault.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/clients/default/kdedefault.h')
-rw-r--r-- | kwin/clients/default/kdedefault.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kwin/clients/default/kdedefault.h b/kwin/clients/default/kdedefault.h index 53ad23fa2..6e09025f1 100644 --- a/kwin/clients/default/kdedefault.h +++ b/kwin/clients/default/kdedefault.h @@ -13,9 +13,9 @@ #ifndef _KDE_DEFAULT_H #define _KDE_DEFAULT_H -#include <qbutton.h> -#include <qbitmap.h> -#include <qdatetime.h> +#include <tqbutton.h> +#include <tqbitmap.h> +#include <tqdatetime.h> #include <kpixmap.h> #include <kcommondecoration.h> #include <kdecorationfactory.h> @@ -35,7 +35,7 @@ class KDEDefaultHandler: public KDecorationFactory ~KDEDefaultHandler(); KDecoration* createDecoration( KDecorationBridge* b ); bool reset( unsigned long changed ); - virtual QValueList< BorderSize > borderSizes() const; + virtual TQValueList< BorderSize > borderSizes() const; virtual bool supports( Ability ability ); private: @@ -43,11 +43,11 @@ class KDEDefaultHandler: public KDecorationFactory void createPixmaps(); void freePixmaps(); void drawButtonBackground(KPixmap *pix, - const QColorGroup &g, bool sunken); + const TQColorGroup &g, bool sunken); }; -// class KDEDefaultButton : public QButton, public KDecorationDefines +// class KDEDefaultButton : public TQButton, public KDecorationDefines class KDEDefaultButton : public KCommonDecorationButton { public: @@ -59,12 +59,12 @@ class KDEDefaultButton : public KCommonDecorationButton void setBitmap(const unsigned char *bitmap); protected: - void enterEvent(QEvent *); - void leaveEvent(QEvent *); - void drawButton(QPainter *p); - void drawButtonLabel(QPainter*) {;} + void enterEvent(TQEvent *); + void leaveEvent(TQEvent *); + void drawButton(TQPainter *p); + void drawButtonLabel(TQPainter*) {;} - QBitmap* deco; + TQBitmap* deco; bool large; bool isMouseOver; }; @@ -76,20 +76,20 @@ class KDEDefaultClient : public KCommonDecoration KDEDefaultClient( KDecorationBridge* b, KDecorationFactory* f ); ~KDEDefaultClient() {;} - virtual QString visibleName() const; - virtual QString defaultButtonsLeft() const; - virtual QString defaultButtonsRight() const; + virtual TQString visibleName() const; + virtual TQString defaultButtonsLeft() const; + virtual TQString defaultButtonsRight() const; virtual bool decorationBehaviour(DecorationBehaviour behaviour) const; virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const KCommonDecorationButton * = 0) const; virtual KCommonDecorationButton *createButton(ButtonType type); - virtual QRegion cornerShape(WindowCorner corner); + virtual TQRegion cornerShape(WindowCorner corner); void init(); void reset( unsigned long changed ); protected: - void paintEvent( QPaintEvent* ); + void paintEvent( TQPaintEvent* ); private: bool mustDrawHandle() const; |