summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/themer/kdmlabel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdm/kfrontend/themer/kdmlabel.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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/kdmlabel.h')
-rw-r--r--kdm/kfrontend/themer/kdmlabel.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdm/kfrontend/themer/kdmlabel.h b/kdm/kfrontend/themer/kdmlabel.h
index b80d0189a..93801d594 100644
--- a/kdm/kfrontend/themer/kdmlabel.h
+++ b/kdm/kfrontend/themer/kdmlabel.h
@@ -24,8 +24,8 @@
#include "kdmitem.h"
-#include <qcolor.h>
-#include <qfont.h>
+#include <tqcolor.h>
+#include <tqfont.h>
class QTimer;
@@ -37,45 +37,45 @@ class KdmLabel : public KdmItem {
Q_OBJECT
public:
- KdmLabel( KdmItem *parent, const QDomNode &node, const char *name = 0 );
- void setText( const QString &txt );
+ KdmLabel( KdmItem *parent, const TQDomNode &node, const char *name = 0 );
+ void setText( const TQString &txt );
protected:
// reimplemented; returns the minimum size of rendered text
- virtual QSize sizeHint();
+ virtual TQSize sizeHint();
// draw the label
- 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();
struct LabelStruct {
- QString text;
+ TQString text;
bool isTimer;
bool hasId;
- QString id;
+ TQString id;
struct LabelClass {
- QColor color;
- QFont font;
+ TQColor color;
+ TQFont font;
bool present;
} normal, active, prelight;
int maximumWidth;
} label;
- QTimer *timer;
+ TQTimer *timer;
public slots:
void update();
private:
/* Method to lookup the caption associated with an item */
- QString lookupStock( const QString &stock );
+ TQString lookupStock( const TQString &stock );
/* Lookup variables in the text */
- QString lookupText( const QString &t );
+ TQString lookupText( const TQString &t );
- QString cText;
+ TQString cText;
};
#endif