From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kdeprintfax/conffax.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kdeprint/kdeprintfax/conffax.cpp') diff --git a/kdeprint/kdeprintfax/conffax.cpp b/kdeprint/kdeprintfax/conffax.cpp index c88184595..2351c9c69 100644 --- a/kdeprint/kdeprintfax/conffax.cpp +++ b/kdeprint/kdeprintfax/conffax.cpp @@ -20,11 +20,11 @@ #include "conffax.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include @@ -33,24 +33,24 @@ #include -ConfFax::ConfFax(QWidget *parent, const char *name) -: QWidget(parent, name) +ConfFax::ConfFax(TQWidget *parent, const char *name) +: TQWidget(parent, name) { - m_resolution = new QComboBox(this); + m_resolution = new TQComboBox(this); m_resolution->setMinimumHeight(25); - m_pagesize = new QComboBox(this); + m_pagesize = new TQComboBox(this); m_pagesize->setMinimumHeight(25); m_resolution->insertItem(i18n("High (204x196 dpi)")); m_resolution->insertItem(i18n("Low (204x98 dpi)")); m_pagesize->insertItem(i18n("A4")); m_pagesize->insertItem(i18n("Letter")); m_pagesize->insertItem(i18n("Legal")); - QLabel *m_resolutionlabel = new QLabel(i18n("&Resolution:"), this); + QLabel *m_resolutionlabel = new TQLabel(i18n("&Resolution:"), this); m_resolutionlabel->setBuddy(m_resolution); - QLabel *m_pagesizelabel = new QLabel(i18n("&Paper size:"), this); + QLabel *m_pagesizelabel = new TQLabel(i18n("&Paper size:"), this); m_pagesizelabel->setBuddy(m_pagesize); - QGridLayout *l0 = new QGridLayout(this, 3, 2, 10, 10); + QGridLayout *l0 = new TQGridLayout(this, 3, 2, 10, 10); l0->setColStretch(1, 1); l0->setRowStretch(2, 1); l0->addWidget(m_resolutionlabel, 0, 0); @@ -63,7 +63,7 @@ void ConfFax::load() { KConfig *conf = KGlobal::config(); conf->setGroup("Fax"); - QString v = conf->readEntry("Page", KGlobal::locale()->pageSize() == QPrinter::A4 ? "a4" : "letter"); + QString v = conf->readEntry("Page", KGlobal::locale()->pageSize() == TQPrinter::A4 ? "a4" : "letter"); if (v == "letter") m_pagesize->setCurrentItem(1); else if (v == "legal") m_pagesize->setCurrentItem(2); else m_pagesize->setCurrentItem(0); -- cgit v1.2.1