From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/clients/modernsystem/modernsys.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kwin/clients/modernsystem/modernsys.h') diff --git a/kwin/clients/modernsystem/modernsys.h b/kwin/clients/modernsystem/modernsys.h index d185be048..2606d8786 100644 --- a/kwin/clients/modernsystem/modernsys.h +++ b/kwin/clients/modernsystem/modernsys.h @@ -1,7 +1,7 @@ #ifndef __MODSYSTEMCLIENT_H #define __MODSYSTEMCLIENT_H -#include +#include #include #include #include @@ -21,9 +21,9 @@ public: virtual void reset(unsigned long changed); protected: - virtual void drawButton(QPainter *p); - void drawButtonLabel(QPainter *){;} - QBitmap deco; + virtual void drawButton(TQPainter *p); + void drawButtonLabel(TQPainter *){;} + TQBitmap deco; }; class ModernSys : public KCommonDecoration @@ -32,9 +32,9 @@ public: ModernSys( KDecorationBridge* b, KDecorationFactory* f ); ~ModernSys(){;} - 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); @@ -44,17 +44,17 @@ public: void init(); protected: - void drawRoundFrame(QPainter &p, int x, int y, int w, int h); - void paintEvent( QPaintEvent* ); + void drawRoundFrame(TQPainter &p, int x, int y, int w, int h); + void paintEvent( TQPaintEvent* ); void recalcTitleBuffer(); void reset( unsigned long ); private: - QPixmap titleBuffer; - QString oldTitle; + TQPixmap titleBuffer; + TQString oldTitle; bool reverse; }; -class ModernSysFactory : public QObject, public KDecorationFactory +class ModernSysFactory : public TQObject, public KDecorationFactory { public: ModernSysFactory(); @@ -62,7 +62,7 @@ public: virtual KDecoration* createDecoration( KDecorationBridge* ); virtual bool reset( unsigned long changed ); virtual bool supports( Ability ability ); - QValueList< BorderSize > borderSizes() const; + TQValueList< BorderSize > borderSizes() const; private: void read_config(); }; -- cgit v1.2.1