summaryrefslogtreecommitdiffstats
path: root/kdeprint
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint')
-rw-r--r--kdeprint/cups/cupsdconf2/cupsdsplash.cpp4
-rw-r--r--kdeprint/cups/kptagspage.cpp2
-rw-r--r--kdeprint/cups/kptextpage.cpp2
-rw-r--r--kdeprint/kdeprintd.cpp4
-rw-r--r--kdeprint/kpcopiespage.cpp2
-rw-r--r--kdeprint/kpgeneralpage.cpp12
-rw-r--r--kdeprint/kpqtpage.cpp8
-rw-r--r--kdeprint/management/kminfopage.cpp16
-rw-r--r--kdeprint/management/kmwsocketutil.cpp2
-rw-r--r--kdeprint/management/networkscanner.cpp2
-rw-r--r--kdeprint/plugincombobox.cpp2
-rw-r--r--kdeprint/tools/escputil/escpwidget.cpp14
12 files changed, 35 insertions, 35 deletions
diff --git a/kdeprint/cups/cupsdconf2/cupsdsplash.cpp b/kdeprint/cups/cupsdconf2/cupsdsplash.cpp
index a0a34db84..0288165be 100644
--- a/kdeprint/cups/cupsdconf2/cupsdsplash.cpp
+++ b/kdeprint/cups/cupsdconf2/cupsdsplash.cpp
@@ -39,11 +39,11 @@ CupsdSplash::CupsdSplash(TQWidget *parent, const char *name)
TQLabel *cupslogo_ = new TQLabel(this);
TQString logopath = locate("data", TQString("kdeprint/cups_logo.png"));
cupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath));
- cupslogo_->tqsetAlignment(Qt::AlignCenter);
+ cupslogo_->setAlignment(Qt::AlignCenter);
TQLabel *kupslogo_ = new TQLabel(this);
logopath = locate("data", TQString("kdeprint/kde_logo.png"));
kupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath));
- kupslogo_->tqsetAlignment(Qt::AlignCenter);
+ kupslogo_->setAlignment(Qt::AlignCenter);
TQLabel *helptxt_ = new TQLabel(this);
helptxt_->setText(i18n( "<p>This tool will help you to configure graphically the server of the CUPS printing system. "
diff --git a/kdeprint/cups/kptagspage.cpp b/kdeprint/cups/kptagspage.cpp
index ff9d3bd9b..ae9046962 100644
--- a/kdeprint/cups/kptagspage.cpp
+++ b/kdeprint/cups/kptagspage.cpp
@@ -93,7 +93,7 @@ KPTagsPage::KPTagsPage(bool ro, TQWidget *parent, const char *name)
TQFont f = lab->font();
f.setBold(true);
lab->setFont(f);
- lab->tqsetAlignment(AlignVCenter|AlignRight);
+ lab->setAlignment(AlignVCenter|AlignRight);
l0->addWidget(lab);
}
}
diff --git a/kdeprint/cups/kptextpage.cpp b/kdeprint/cups/kptextpage.cpp
index cec0f6c23..d5afc885a 100644
--- a/kdeprint/cups/kptextpage.cpp
+++ b/kdeprint/cups/kptextpage.cpp
@@ -212,7 +212,7 @@ KPTextPage::KPTextPage(DrMain *driver, TQWidget *parent, const char *name)
m_prettypix = new TQLabel(prettybox);
TQWhatsThis::add(m_prettypix, whatsThisPrettyprintPreviewIconTextPage);
- m_prettypix->tqsetAlignment(Qt::AlignCenter);
+ m_prettypix->setAlignment(Qt::AlignCenter);
TQRadioButton *off = new TQRadioButton(i18n("&Disabled"), prettybox);
TQWhatsThis::add(off, whatsThisPrettyprintButtonOffTextPage);
TQRadioButton *on = new TQRadioButton(i18n("&Enabled"), prettybox);
diff --git a/kdeprint/kdeprintd.cpp b/kdeprint/kdeprintd.cpp
index 53ef18276..d7f830e44 100644
--- a/kdeprint/kdeprintd.cpp
+++ b/kdeprint/kdeprintd.cpp
@@ -66,11 +66,11 @@ StatusWindow::StatusWindow(int pid)
: TQWidget(NULL, "StatusWindow", (WFlags)(WType_TopLevel|WStyle_DialogBorder|WStyle_StaysOnTop|WDestructiveClose)), m_pid(pid)
{
m_label = new TQLabel(this);
- m_label->tqsetAlignment(AlignCenter);
+ m_label->setAlignment(AlignCenter);
m_button = new KPushButton(KStdGuiItem::close(), this);
m_icon = new TQLabel(this);
m_icon->setPixmap(DesktopIcon("fileprint"));
- m_icon->tqsetAlignment(AlignCenter);
+ m_icon->setAlignment(AlignCenter);
KWin::setIcons(winId(), *(m_icon->pixmap()), SmallIcon("fileprint"));
TQGridLayout *l0 = new TQGridLayout(this, 2, 3, 10, 10);
l0->setRowStretch(0, 1);
diff --git a/kdeprint/kpcopiespage.cpp b/kdeprint/kpcopiespage.cpp
index 6d7a29c8c..b55f0f352 100644
--- a/kdeprint/kpcopiespage.cpp
+++ b/kdeprint/kpcopiespage.cpp
@@ -186,7 +186,7 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
m_order = new TQCheckBox(i18n("Re&verse"), m_copybox);
TQWhatsThis::add(m_order, whatsThisReverseLabel);
m_collatepix = new TQLabel(m_copybox);
- m_collatepix->tqsetAlignment(Qt::AlignCenter);
+ m_collatepix->setAlignment(Qt::AlignCenter);
m_collatepix->setMinimumHeight(70);
TQLabel *m_copieslabel = new TQLabel(i18n("Cop&ies:"), m_copybox);
m_copies = new TQSpinBox(m_copybox);
diff --git a/kdeprint/kpgeneralpage.cpp b/kdeprint/kpgeneralpage.cpp
index ac7dfdae0..15e44852b 100644
--- a/kdeprint/kpgeneralpage.cpp
+++ b/kdeprint/kpgeneralpage.cpp
@@ -262,15 +262,15 @@ KPGeneralPage::KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent, const
// widget creation
TQLabel *m_pagesizelabel = new TQLabel(i18n("Page s&ize:"), this);
- m_pagesizelabel->tqsetAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_pagesizelabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
TQWhatsThis::add(m_pagesizelabel, whatsThisGeneralPageSizeLabel);
TQLabel *m_papertypelabel = new TQLabel(i18n("Paper t&ype:"), this);
- m_papertypelabel->tqsetAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_papertypelabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
TQWhatsThis::add(m_papertypelabel, whatsThisGeneralPaperTypeLabel);
TQLabel *m_inputslotlabel = new TQLabel(i18n("Paper so&urce:"), this);
- m_inputslotlabel->tqsetAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_inputslotlabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
TQWhatsThis::add(m_inputslotlabel, whatsThisGeneralPaperSourceLabel);
m_pagesize = new TQComboBox(this);
@@ -305,19 +305,19 @@ KPGeneralPage::KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent, const
m_portrait->setChecked(true);
m_orientpix = new TQLabel(m_orientbox);
- m_orientpix->tqsetAlignment(Qt::AlignCenter);
+ m_orientpix->setAlignment(Qt::AlignCenter);
TQRadioButton *m_dupnone = new TQRadioButton(i18n("duplex orientation", "&None"), m_duplexbox);
TQRadioButton *m_duplong = new TQRadioButton(i18n("duplex orientation", "Lon&g side"), m_duplexbox);
TQRadioButton *m_dupshort = new TQRadioButton(i18n("duplex orientation", "S&hort side"), m_duplexbox);
m_dupnone->setChecked(true);
m_duplexpix = new TQLabel(m_duplexbox);
- m_duplexpix->tqsetAlignment(Qt::AlignCenter);
+ m_duplexpix->setAlignment(Qt::AlignCenter);
TQRadioButton *m_nup1 = new TQRadioButton("&1", m_nupbox);
TQRadioButton *m_nup2 = new TQRadioButton("&2", m_nupbox);
TQRadioButton *m_nup4 = new TQRadioButton("&4", m_nupbox);
m_nup1->setChecked(true);
m_nuppix = new TQLabel(m_nupbox);
- m_nuppix->tqsetAlignment(Qt::AlignCenter);
+ m_nuppix->setAlignment(Qt::AlignCenter);
m_startbanner = new TQComboBox(m_bannerbox);
m_endbanner = new TQComboBox(m_bannerbox);
TQLabel *m_startbannerlabel = new TQLabel(i18n("S&tart:"), m_bannerbox);
diff --git a/kdeprint/kpqtpage.cpp b/kdeprint/kpqtpage.cpp
index 4bf107389..7a2c4acfd 100644
--- a/kdeprint/kpqtpage.cpp
+++ b/kdeprint/kpqtpage.cpp
@@ -116,7 +116,7 @@ void KPQtPage::init()
m_pagesize = new TQComboBox(this);
TQWhatsThis::add(m_pagesize, whatsThisPageSizeOtPageLabel);
TQLabel *m_pagesizelabel = new TQLabel(i18n("Page s&ize:"), this);
- m_pagesizelabel->tqsetAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_pagesizelabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
m_pagesizelabel->setBuddy(m_pagesize);
m_orientbox = new TQButtonGroup(0, Qt::Vertical, i18n("Orientation"), this);
TQWhatsThis::add(m_orientbox, whatsThisOrientationOtPageLabel);
@@ -129,7 +129,7 @@ void KPQtPage::init()
TQWhatsThis::add(m_landscape, whatsThisOrientationOtPageLabel);
m_orientpix = new TQLabel(m_orientbox);
- m_orientpix->tqsetAlignment(Qt::AlignCenter);
+ m_orientpix->setAlignment(Qt::AlignCenter);
TQWhatsThis::add(m_orientpix, whatsThisOrientationOtPageLabel);
TQRadioButton *m_color = new TQRadioButton(i18n("Colo&r"), m_colorbox);
@@ -137,7 +137,7 @@ void KPQtPage::init()
TQRadioButton *m_grayscale = new TQRadioButton(i18n("&Grayscale"), m_colorbox);
m_colorpix = new TQLabel(m_colorbox);
- m_colorpix->tqsetAlignment(Qt::AlignCenter);
+ m_colorpix->setAlignment(Qt::AlignCenter);
TQWhatsThis::add(m_colorpix, whatsThisColorModeOtPageLabel);
m_nupbox = new TQButtonGroup(0, Qt::Vertical, i18n("Pages per Sheet"), this);
@@ -152,7 +152,7 @@ void KPQtPage::init()
TQWhatsThis::add(m_nupother, whatsThisPagesPerSheetOtPageLabel);
m_nuppix = new TQLabel(m_nupbox);
- m_nuppix->tqsetAlignment(Qt::AlignCenter);
+ m_nuppix->setAlignment(Qt::AlignCenter);
TQWhatsThis::add(m_nuppix, whatsThisPagesPerSheetOtPageLabel);
// layout creation
diff --git a/kdeprint/management/kminfopage.cpp b/kdeprint/management/kminfopage.cpp
index c8c80117c..88fc87f6c 100644
--- a/kdeprint/management/kminfopage.cpp
+++ b/kdeprint/management/kminfopage.cpp
@@ -32,7 +32,7 @@ KMInfoPage::KMInfoPage(TQWidget *parent, const char *name)
{
m_title = new TQLabel(this);
m_titlepixmap = new TQLabel(this);
- m_titlepixmap->tqsetAlignment(Qt::AlignCenter);
+ m_titlepixmap->setAlignment(Qt::AlignCenter);
KSeparator* sep = new KSeparator( KSeparator::HLine, this);
m_type = new TQLabel(this);
m_description = new TQLabel(this);
@@ -42,19 +42,19 @@ KMInfoPage::KMInfoPage(TQWidget *parent, const char *name)
m_uri = new TQLabel(this);
m_device = new TQLabel(this);
TQLabel *m_loclabel = new TQLabel(i18n("Physical Location", "Location:"), this);
- m_loclabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_loclabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
TQLabel *m_desclabel = new TQLabel(i18n("Description:"), this);
- m_desclabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_desclabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
TQLabel *m_typelabel = new TQLabel(i18n("Type:"), this);
- m_typelabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_typelabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
TQLabel *m_statelabel = new TQLabel(i18n("Status", "State:"), this);
- m_statelabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_statelabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
TQLabel *m_urilabel = new TQLabel(i18n("URI:"), this);
- m_urilabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_urilabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
m_devlabel = new TQLabel(i18n("Device:"), this);
- m_devlabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_devlabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
TQLabel *m_modellabel = new TQLabel(i18n("Model:"), this);
- m_modellabel->tqsetAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_modellabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
TQGridLayout *lay0 = new TQGridLayout(this, 11, 2, 0, 5);
TQHBoxLayout *lay1 = new TQHBoxLayout(0, 0, 10);
diff --git a/kdeprint/management/kmwsocketutil.cpp b/kdeprint/management/kmwsocketutil.cpp
index a8a89e3ad..db89b5721 100644
--- a/kdeprint/management/kmwsocketutil.cpp
+++ b/kdeprint/management/kmwsocketutil.cpp
@@ -58,7 +58,7 @@ SocketConfig::SocketConfig(KMWSocketUtil *util, TQWidget *parent, const char *na
mm->setFixedWidth(fontMetrics().width(mm->text())+10);
mask_ = new TQLineEdit(dummy);
- mask_->tqsetAlignment(Qt::AlignRight);
+ mask_->setAlignment(Qt::AlignRight);
port_ = new TQComboBox(true,dummy);
if ( port_->lineEdit() )
port_->lineEdit()->setValidator( val );
diff --git a/kdeprint/management/networkscanner.cpp b/kdeprint/management/networkscanner.cpp
index 73466cdbb..80e01b002 100644
--- a/kdeprint/management/networkscanner.cpp
+++ b/kdeprint/management/networkscanner.cpp
@@ -344,7 +344,7 @@ NetworkScannerConfig::NetworkScannerConfig(NetworkScanner *scanner, const char *
mm->setFixedWidth(fontMetrics().width(mm->text())+10);
mask_ = new TQLineEdit(dummy);
- mask_->tqsetAlignment(Qt::AlignRight);
+ mask_->setAlignment(Qt::AlignRight);
port_ = new TQComboBox(true,dummy);
if ( port_->lineEdit() )
port_->lineEdit()->setValidator( val );
diff --git a/kdeprint/plugincombobox.cpp b/kdeprint/plugincombobox.cpp
index 414f38601..23554ba2f 100644
--- a/kdeprint/plugincombobox.cpp
+++ b/kdeprint/plugincombobox.cpp
@@ -44,7 +44,7 @@ PluginComboBox::PluginComboBox(TQWidget *parent, const char *name)
TQWhatsThis::add(m_combo, whatsThisCurrentPrintsystem);
TQLabel *m_label = new TQLabel(i18n("Print s&ystem currently used:"), this);
TQWhatsThis::add(m_label, whatsThisCurrentPrintsystem);
- m_label->tqsetAlignment(AlignVCenter|AlignRight);
+ m_label->setAlignment(AlignVCenter|AlignRight);
m_label->setBuddy(m_combo);
m_plugininfo = new TQLabel("Plugin information", this);
TQGridLayout *l0 = new TQGridLayout(this, 2, 2, 0, 5);
diff --git a/kdeprint/tools/escputil/escpwidget.cpp b/kdeprint/tools/escputil/escpwidget.cpp
index b55a374a7..8962b0eee 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()));
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()));