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 --- kdm/kfrontend/themer/kdmpixmap.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kdm/kfrontend/themer/kdmpixmap.h') diff --git a/kdm/kfrontend/themer/kdmpixmap.h b/kdm/kfrontend/themer/kdmpixmap.h index eb621a0a5..479ef0f8d 100644 --- a/kdm/kfrontend/themer/kdmpixmap.h +++ b/kdm/kfrontend/themer/kdmpixmap.h @@ -24,8 +24,8 @@ #include "kdmitem.h" -//#include -#include +//#include +#include /* * KdmPixmap. A pixmap element @@ -35,26 +35,26 @@ class KdmPixmap : public KdmItem { Q_OBJECT public: - KdmPixmap( KdmItem *parent, const QDomNode &node, const char *name = 0 ); + KdmPixmap( KdmItem *parent, const TQDomNode &node, const char *name = 0 ); protected: // reimplemented; returns the size of loaded pixmap - virtual QSize sizeHint(); + virtual TQSize sizeHint(); // draw the pixmap - 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(); - virtual void setGeometry( const QRect &newGeometry, bool force ); + virtual void setGeometry( const TQRect &newGeometry, bool force ); struct PixmapStruct { struct PixmapClass { - QString fullpath; - QPixmap pixmap; - QPixmap readyPixmap; - QColor tint; + TQString fullpath; + TQPixmap pixmap; + TQPixmap readyPixmap; + TQColor tint; float alpha; //TODO added: not in greeter.dtd bool present; } normal, active, prelight; @@ -62,8 +62,8 @@ protected: private: // Method to load the pixmap given by the theme - void loadPixmap( const QString &fileName, QPixmap &p, QString &path ); - void renderSvg( PixmapStruct::PixmapClass *pClass, const QRect &area ); + void loadPixmap( const TQString &fileName, TQPixmap &p, TQString &path ); + void renderSvg( PixmapStruct::PixmapClass *pClass, const TQRect &area ); }; #endif -- cgit v1.2.1