summaryrefslogtreecommitdiffstats
path: root/kdeprint/tools/escputil
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/tools/escputil')
-rw-r--r--kdeprint/tools/escputil/escpwidget.cpp14
-rw-r--r--kdeprint/tools/escputil/escpwidget.h2
2 files changed, 8 insertions, 8 deletions
diff --git a/kdeprint/tools/escputil/escpwidget.cpp b/kdeprint/tools/escputil/escpwidget.cpp
index ef0e2390b..4a65a380d 100644
--- a/kdeprint/tools/escputil/escpwidget.cpp
+++ b/kdeprint/tools/escputil/escpwidget.cpp
@@ -97,20 +97,20 @@ EscpWidget::EscpWidget(TQWidget *parent, const char *name)
connect(identbtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonClicked()));
QLabel *printerlab = new TQLabel(i18n("Printer:"), this);
- printerlab->setAlignment(AlignRight|AlignVCenter);
+ printerlab->tqsetAlignment(AlignRight|AlignVCenter);
QLabel *devicelab = new TQLabel(i18n("Device:"), this);
- devicelab->setAlignment(AlignRight|AlignVCenter);
+ devicelab->tqsetAlignment(AlignRight|AlignVCenter);
QLabel *cleanlab = new TQLabel(i18n("Clea&n print head"), this);
QLabel *nozzlelab = new TQLabel(i18n("&Print a nozzle test pattern"), this);
QLabel *alignlab = new TQLabel(i18n("&Align print head"), this);
QLabel *inklab = new TQLabel(i18n("&Ink level"), this);
QLabel *identlab = new TQLabel(i18n("P&rinter identification"), this);
- cleanlab->setAlignment(AlignLeft|AlignVCenter|ShowPrefix);
- nozzlelab->setAlignment(AlignLeft|AlignVCenter|ShowPrefix);
- alignlab->setAlignment(AlignLeft|AlignVCenter|ShowPrefix);
- inklab->setAlignment(AlignLeft|AlignVCenter|ShowPrefix);
- identlab->setAlignment(AlignLeft|AlignVCenter|ShowPrefix);
+ cleanlab->tqsetAlignment(AlignLeft|AlignVCenter|ShowPrefix);
+ nozzlelab->tqsetAlignment(AlignLeft|AlignVCenter|ShowPrefix);
+ alignlab->tqsetAlignment(AlignLeft|AlignVCenter|ShowPrefix);
+ inklab->tqsetAlignment(AlignLeft|AlignVCenter|ShowPrefix);
+ identlab->tqsetAlignment(AlignLeft|AlignVCenter|ShowPrefix);
cleanbtn->setAccel(TQAccel::shortcutKey(cleanlab->text()));
nozzlebtn->setAccel(TQAccel::shortcutKey(nozzlelab->text()));
diff --git a/kdeprint/tools/escputil/escpwidget.h b/kdeprint/tools/escputil/escpwidget.h
index 528de97c9..9cc0f2d38 100644
--- a/kdeprint/tools/escputil/escpwidget.h
+++ b/kdeprint/tools/escputil/escpwidget.h
@@ -27,7 +27,7 @@
class TQLabel;
class TQCheckBox;
-class EscpWidget : public QWidget
+class EscpWidget : public TQWidget
{
Q_OBJECT