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 --- khtml/khtml_printsettings.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'khtml/khtml_printsettings.cpp') diff --git a/khtml/khtml_printsettings.cpp b/khtml/khtml_printsettings.cpp index 61d94bbb9..1b3e9c245 100644 --- a/khtml/khtml_printsettings.cpp +++ b/khtml/khtml_printsettings.cpp @@ -20,15 +20,15 @@ #include "khtml_printsettings.h" #include -#include -#include -#include +#include +#include +#include -KHTMLPrintSettings::KHTMLPrintSettings(QWidget *parent, const char *name) +KHTMLPrintSettings::KHTMLPrintSettings(TQWidget *parent, const char *name) : KPrintDialogPage(parent, name) { //WhatsThis strings.... (added by pfeifle@kde.org) - QString whatsThisPrintImages = i18n( "" + TQString whatsThisPrintImages = i18n( "" "

'Print images'

" "

" "If this checkbox is enabled, images contained in the HTML page will " @@ -40,7 +40,7 @@ KHTMLPrintSettings::KHTMLPrintSettings(QWidget *parent, const char *name) "less ink or toner." "

" "
" ); - QString whatsThisPrintHeader = i18n( "" + TQString whatsThisPrintHeader = i18n( "" "

'Print header'

" "

" "If this checkbox is enabled, the printout of the HTML document will " @@ -53,7 +53,7 @@ KHTMLPrintSettings::KHTMLPrintSettings(QWidget *parent, const char *name) "not contain such a header line." "

" "
" ); - QString whatsThisPrinterFriendlyMode = i18n( "" + TQString whatsThisPrinterFriendlyMode = i18n( "" "

'Printerfriendly mode'

" "

" "If this checkbox is enabled, the printout of the HTML document will " @@ -70,17 +70,17 @@ KHTMLPrintSettings::KHTMLPrintSettings(QWidget *parent, const char *name) " " ); setTitle(i18n("HTML Settings")); - m_printfriendly = new QCheckBox(i18n("Printer friendly mode (black text, no background)"), this); - QWhatsThis::add(m_printfriendly, whatsThisPrinterFriendlyMode); + m_printfriendly = new TQCheckBox(i18n("Printer friendly mode (black text, no background)"), this); + TQWhatsThis::add(m_printfriendly, whatsThisPrinterFriendlyMode); m_printfriendly->setChecked(true); - m_printimages = new QCheckBox(i18n("Print images"), this); - QWhatsThis::add(m_printimages, whatsThisPrintImages); + m_printimages = new TQCheckBox(i18n("Print images"), this); + TQWhatsThis::add(m_printimages, whatsThisPrintImages); m_printimages->setChecked(true); - m_printheader = new QCheckBox(i18n("Print header"), this); - QWhatsThis::add(m_printheader, whatsThisPrintHeader); + m_printheader = new TQCheckBox(i18n("Print header"), this); + TQWhatsThis::add(m_printheader, whatsThisPrintHeader); m_printheader->setChecked(true); - QVBoxLayout *l0 = new QVBoxLayout(this, 0, 10); + QVBoxLayout *l0 = new TQVBoxLayout(this, 0, 10); l0->addWidget(m_printfriendly); l0->addWidget(m_printimages); l0->addWidget(m_printheader); @@ -91,14 +91,14 @@ KHTMLPrintSettings::~KHTMLPrintSettings() { } -void KHTMLPrintSettings::getOptions(QMap& opts, bool /*incldef*/) +void KHTMLPrintSettings::getOptions(TQMap& opts, bool /*incldef*/) { opts["app-khtml-printfriendly"] = (m_printfriendly->isChecked() ? "true" : "false"); opts["app-khtml-printimages"] = (m_printimages->isChecked() ? "true" : "false"); opts["app-khtml-printheader"] = (m_printheader->isChecked() ? "true" : "false"); } -void KHTMLPrintSettings::setOptions(const QMap& opts) +void KHTMLPrintSettings::setOptions(const TQMap& opts) { m_printfriendly->setChecked(opts["app-khtml-printfriendly"] != "false"); m_printimages->setChecked(opts["app-khtml-printimages"] != "false"); -- cgit v1.2.3