From b212a1de50010bf9f8ff93123281a6956291cdf2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Dec 2011 00:54:43 -0600 Subject: Rename tqsetAlignment to fix bindings --- tdeprint/tools/escputil/escpwidget.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tdeprint/tools/escputil') diff --git a/tdeprint/tools/escputil/escpwidget.cpp b/tdeprint/tools/escputil/escpwidget.cpp index 3000b0788..e4bc1e6f2 100644 --- a/tdeprint/tools/escputil/escpwidget.cpp +++ b/tdeprint/tools/escputil/escpwidget.cpp @@ -97,20 +97,20 @@ EscpWidget::EscpWidget(TQWidget *parent, const char *name) connect(identbtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonClicked())); TQLabel *printerlab = new TQLabel(i18n("Printer:"), this); - printerlab->tqsetAlignment(AlignRight|AlignVCenter); + printerlab->setAlignment(AlignRight|AlignVCenter); TQLabel *devicelab = new TQLabel(i18n("Device:"), this); - devicelab->tqsetAlignment(AlignRight|AlignVCenter); + devicelab->setAlignment(AlignRight|AlignVCenter); TQLabel *cleanlab = new TQLabel(i18n("Clea&n print head"), this); TQLabel *nozzlelab = new TQLabel(i18n("&Print a nozzle test pattern"), this); TQLabel *alignlab = new TQLabel(i18n("&Align print head"), this); TQLabel *inklab = new TQLabel(i18n("&Ink level"), this); TQLabel *identlab = new TQLabel(i18n("P&rinter identification"), this); - 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); + 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); cleanbtn->setAccel(TQAccel::shortcutKey(cleanlab->text())); nozzlebtn->setAccel(TQAccel::shortcutKey(nozzlelab->text())); -- cgit v1.2.1