summaryrefslogtreecommitdiffstats
path: root/kolf/printdialogpage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kolf/printdialogpage.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/printdialogpage.cpp')
-rw-r--r--kolf/printdialogpage.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kolf/printdialogpage.cpp b/kolf/printdialogpage.cpp
index 1fc6ad37..e8733c81 100644
--- a/kolf/printdialogpage.cpp
+++ b/kolf/printdialogpage.cpp
@@ -1,6 +1,6 @@
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qwidget.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqwidget.h>
#include <klocale.h>
#include <kdialog.h>
@@ -8,26 +8,26 @@
#include "printdialogpage.h"
-PrintDialogPage::PrintDialogPage(QWidget *parent, const char *name)
+PrintDialogPage::PrintDialogPage(TQWidget *parent, const char *name)
: KPrintDialogPage( parent, name )
{
setTitle(i18n("Kolf Options"));
- QVBoxLayout *layout = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- titleCheck = new QCheckBox(i18n("Draw title text"), this);
+ titleCheck = new TQCheckBox(i18n("Draw title text"), this);
titleCheck->setChecked(true);
layout->addWidget(titleCheck);
}
-void PrintDialogPage::getOptions(QMap<QString, QString> &opts, bool /*incldef*/)
+void PrintDialogPage::getOptions(TQMap<TQString, TQString> &opts, bool /*incldef*/)
{
opts["kde-kolf-title"] = titleCheck->isChecked()? "true" : "false";
}
-void PrintDialogPage::setOptions(const QMap<QString, QString> &opts)
+void PrintDialogPage::setOptions(const TQMap<TQString, TQString> &opts)
{
- QString setting = opts["kde-kolf-title"];
+ TQString setting = opts["kde-kolf-title"];
if (!!setting)
titleCheck->setChecked(setting == "true");
}