summaryrefslogtreecommitdiffstats
path: root/ksquirrel/ksquirrelpart/sq_label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksquirrel/ksquirrelpart/sq_label.cpp')
-rw-r--r--ksquirrel/ksquirrelpart/sq_label.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksquirrel/ksquirrelpart/sq_label.cpp b/ksquirrel/ksquirrelpart/sq_label.cpp
index 4d9b14a..70ecff8 100644
--- a/ksquirrel/ksquirrelpart/sq_label.cpp
+++ b/ksquirrel/ksquirrelpart/sq_label.cpp
@@ -15,26 +15,26 @@
* *
***************************************************************************/
-#include <qpainter.h>
+#include <tqpainter.h>
#include "sq_label.h"
#define MARGIN 15
-SQ_Label::SQ_Label(QWidget *parent, const char *name) : QWidget(parent, name), single(false)
+SQ_Label::SQ_Label(TQWidget *tqparent, const char *name) : TQWidget(tqparent, name), single(false)
{}
SQ_Label::~SQ_Label()
{}
-void SQ_Label::paintEvent(QPaintEvent *)
+void SQ_Label::paintEvent(TQPaintEvent *)
{
if((single && ltext.isEmpty() && rtext.isEmpty()) || (!single && ltext.isEmpty()))
return;
- QPainter paint(this);
+ TQPainter paint(this);
- QFont font = paint.font();
+ TQFont font = paint.font();
font.setBold(true);
font.setPointSize(10);
paint.setFont(font);
@@ -57,7 +57,7 @@ void SQ_Label::paintEvent(QPaintEvent *)
}
}
-void SQ_Label::setText(const QString &lt, const QString &rt)
+void SQ_Label::setText(const TQString &lt, const TQString &rt)
{
ltext = lt;
rtext = rt;
@@ -65,7 +65,7 @@ void SQ_Label::setText(const QString &lt, const QString &rt)
update();
}
-void SQ_Label::setText(const QString &lt)
+void SQ_Label::setText(const TQString &lt)
{
ltext = lt;