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/cupsdconf2/cupsdsplash.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/cupsdconf2/cupsdsplash.cpp')
-rw-r--r-- | kdeprint/cups/cupsdconf2/cupsdsplash.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdeprint/cups/cupsdconf2/cupsdsplash.cpp b/kdeprint/cups/cupsdconf2/cupsdsplash.cpp index 7a623e972..9dd7581a8 100644 --- a/kdeprint/cups/cupsdconf2/cupsdsplash.cpp +++ b/kdeprint/cups/cupsdconf2/cupsdsplash.cpp @@ -19,33 +19,33 @@ #include "cupsdsplash.h" -#include <qlabel.h> -#include <qpixmap.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqpixmap.h> +#include <tqlayout.h> #include <klocale.h> #include <kstandarddirs.h> -CupsdSplash::CupsdSplash(QWidget *parent, const char *name) +CupsdSplash::CupsdSplash(TQWidget *parent, const char *name) : CupsdPage(parent, name) { setHeader(i18n("Welcome to the CUPS Server Configuration Tool")); setPageLabel(i18n("Welcome")); setPixmap("go"); - QVBoxLayout *main_ = new QVBoxLayout(this, 10, 10); - QHBoxLayout *sub_ = new QHBoxLayout(0, 0, 10); + QVBoxLayout *main_ = new TQVBoxLayout(this, 10, 10); + QHBoxLayout *sub_ = new TQHBoxLayout(0, 0, 10); main_->addLayout(sub_); - QLabel *cupslogo_ = new QLabel(this); - QString logopath = locate("data", QString("kdeprint/cups_logo.png")); - cupslogo_->setPixmap(logopath.isEmpty() ? QPixmap() : QPixmap(logopath)); + QLabel *cupslogo_ = new TQLabel(this); + QString logopath = locate("data", TQString("kdeprint/cups_logo.png")); + cupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath)); cupslogo_->setAlignment(Qt::AlignCenter); - QLabel *kupslogo_ = new QLabel(this); - logopath = locate("data", QString("kdeprint/kde_logo.png")); - kupslogo_->setPixmap(logopath.isEmpty() ? QPixmap() : QPixmap(logopath)); + QLabel *kupslogo_ = new TQLabel(this); + logopath = locate("data", TQString("kdeprint/kde_logo.png")); + kupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath)); kupslogo_->setAlignment(Qt::AlignCenter); - QLabel *helptxt_ = new QLabel(this); + QLabel *helptxt_ = new TQLabel(this); helptxt_->setText(i18n( "<p>This tool will help you to configure graphically the server of the CUPS printing system. " "The available options are grouped into sets of related topics and can be accessed " "quickly through the icon view located on the left. Each option has a default value that is " @@ -62,12 +62,12 @@ CupsdSplash::~CupsdSplash() { } -bool CupsdSplash::loadConfig(CupsdConf*, QString&) +bool CupsdSplash::loadConfig(CupsdConf*, TQString&) { return true; } -bool CupsdSplash::saveConfig(CupsdConf*, QString&) +bool CupsdSplash::saveConfig(CupsdConf*, TQString&) { return true; } |