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 /kdm/kfrontend/themer/kdmrect.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 'kdm/kfrontend/themer/kdmrect.h')
-rw-r--r-- | kdm/kfrontend/themer/kdmrect.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdm/kfrontend/themer/kdmrect.h b/kdm/kfrontend/themer/kdmrect.h index 2e89a6a52..7e4776233 100644 --- a/kdm/kfrontend/themer/kdmrect.h +++ b/kdm/kfrontend/themer/kdmrect.h @@ -24,8 +24,8 @@ #include "kdmitem.h" -#include <qcolor.h> -#include <qfont.h> +#include <tqcolor.h> +#include <tqfont.h> /* * KdmRect: A themed rectangular element @@ -35,11 +35,11 @@ class KdmRect : public KdmItem { Q_OBJECT public: - KdmRect( KdmItem *parent, const QDomNode &node, const char *name = 0 ); + KdmRect( KdmItem *parent, const TQDomNode &node, const char *name = 0 ); protected: // draw the rect - virtual void drawContents( QPainter *p, const QRect &r ); + virtual void drawContents( TQPainter *p, const TQRect &r ); // handle switching between normal / active / prelight configurations virtual void statusChanged(); @@ -47,19 +47,19 @@ protected: struct RectStruct { struct RectClass { float alpha; - QColor color; + TQColor color; bool present; - QFont font; + TQFont font; } normal, active, prelight; bool hasBorder; } rect; -// virtual void setWidget( QWidget *widget ); -// virtual void setLayoutItem( QLayoutItem *item ); +// virtual void setWidget( TQWidget *widget ); +// virtual void setLayoutItem( TQLayoutItem *item ); private: - void setAttribs( QWidget *widget ); - void recursiveSetAttribs( QLayoutItem *item ); + void setAttribs( TQWidget *widget ); + void recursiveSetAttribs( TQLayoutItem *item ); }; #endif |