summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waLabel.cpp
diff options
context:
space:
mode:
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();