diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 00:54:43 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:47 +0200 |
commit | ab32d1dcfb2ee4c59ee3cfdc697adfb717ea91b9 (patch) | |
tree | f1579b1f398b3c8e19d8114e87dd2fef3b407651 /kdeprint/cups | |
parent | c1a037c8d0250886e3e984d6171d798b5a60dc9d (diff) | |
download | tdelibs-ab32d1dcfb2ee4c59ee3cfdc697adfb717ea91b9.tar.gz tdelibs-ab32d1dcfb2ee4c59ee3cfdc697adfb717ea91b9.zip |
Rename tqsetAlignment to fix bindings
(cherry picked from commit b212a1de50010bf9f8ff93123281a6956291cdf2)
Diffstat (limited to 'kdeprint/cups')
-rw-r--r-- | kdeprint/cups/cupsdconf2/cupsdsplash.cpp | 4 | ||||
-rw-r--r-- | kdeprint/cups/kptagspage.cpp | 2 | ||||
-rw-r--r-- | kdeprint/cups/kptextpage.cpp | 2 |
3 files changed, 4 insertions, 4 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); |