summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waLabel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/winskin/waLabel.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/winskin/waLabel.cpp')
-rw-r--r--noatun/modules/winskin/waLabel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun/modules/winskin/waLabel.cpp b/noatun/modules/winskin/waLabel.cpp
index 8f3ddb60..54b7513b 100644
--- a/noatun/modules/winskin/waLabel.cpp
+++ b/noatun/modules/winskin/waLabel.cpp
@@ -11,20 +11,20 @@
*/
-#include <qpainter.h>
-#include <qpixmap.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
#include "waLabel.h"
#include "waSkinModel.h"
WaLabel::WaLabel(int mapping) : WaWidget(mapping)
{
- connect(WaSkinModel::instance(), SIGNAL(skinChanged()),
- this, SLOT(pixmapChange()));
+ connect(WaSkinModel::instance(), TQT_SIGNAL(skinChanged()),
+ this, TQT_SLOT(pixmapChange()));
- completePixmap = new QPixmap();
+ completePixmap = new TQPixmap();
- QSize size = sizeHint();
+ TQSize size = sizeHint();
completePixmap->resize(size.width(), size.height());
}
@@ -34,12 +34,12 @@ WaLabel::~WaLabel()
delete completePixmap;
}
-void WaLabel::paintEvent(QPaintEvent *)
+void WaLabel::paintEvent(TQPaintEvent *)
{
bitBlt(this, 0, 0, completePixmap);
}
-void WaLabel::setText(const QString &new_text)
+void WaLabel::setText(const TQString &new_text)
{
int width = WaSkinModel::instance()->getMapGeometry(mapping).width();