From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/cups/cupsdconf2/cupsdsplash.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kdeprint/cups/cupsdconf2/cupsdsplash.cpp') 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 -#include -#include +#include +#include +#include #include #include -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( "

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; } -- cgit v1.2.1