diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/cups/kmpropbanners.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/cups/kmpropbanners.cpp')
-rw-r--r-- | kdeprint/cups/kmpropbanners.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdeprint/cups/kmpropbanners.cpp b/kdeprint/cups/kmpropbanners.cpp index 3826de708..7be161f6d 100644 --- a/kdeprint/cups/kmpropbanners.cpp +++ b/kdeprint/cups/kmpropbanners.cpp @@ -22,23 +22,23 @@ #include "kmwizard.h" #include "kmwbanners.h" -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <klocale.h> -KMPropBanners::KMPropBanners(QWidget *parent, const char *name) +KMPropBanners::KMPropBanners(TQWidget *parent, const char *name) : KMPropWidget(parent,name) { - m_startbanner = new QLabel(this); - m_stopbanner = new QLabel(this); + m_startbanner = new TQLabel(this); + m_stopbanner = new TQLabel(this); - QLabel *l1 = new QLabel(i18n("&Starting banner:"), this); - QLabel *l2 = new QLabel(i18n("&Ending banner:"), this); + QLabel *l1 = new TQLabel(i18n("&Starting banner:"), this); + QLabel *l2 = new TQLabel(i18n("&Ending banner:"), this); l1->setBuddy(m_startbanner); l2->setBuddy(m_stopbanner); - QGridLayout *main_ = new QGridLayout(this, 3, 2, 10, 10); + QGridLayout *main_ = new TQGridLayout(this, 3, 2, 10, 10); main_->setColStretch(1,1); main_->setRowStretch(2,1); main_->addWidget(l1,0,0); @@ -59,7 +59,7 @@ void KMPropBanners::setPrinter(KMPrinter *p) { if (p && p->isPrinter()) { - QStringList l = QStringList::split(',',p->option("kde-banners"),false); + QStringList l = TQStringList::split(',',p->option("kde-banners"),false); while ( l.count() < 2 ) l.append( "none" ); m_startbanner->setText(i18n(mapBanner(l[0]).utf8())); |