summaryrefslogtreecommitdiffstats
path: root/kcron/ktprintopt.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kcron/ktprintopt.cpp
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcron/ktprintopt.cpp')
-rw-r--r--kcron/ktprintopt.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kcron/ktprintopt.cpp b/kcron/ktprintopt.cpp
index 68315c5..f609869 100644
--- a/kcron/ktprintopt.cpp
+++ b/kcron/ktprintopt.cpp
@@ -11,8 +11,8 @@
* (at your option) any later version. *
***************************************************************************/
-#include <qcheckbox.h>
-#include <qlayout.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
#include <kdialog.h>
#include <kaccel.h>
@@ -25,12 +25,12 @@ KTPrintOpt::KTPrintOpt(bool root) :
{
m_title = i18n("Cron Options");
- QVBoxLayout *main_ = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *main_ = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- chkPrintCrontab = new QCheckBox(i18n("Print cron&tab"), this, "chkPrintCrontab");
+ chkPrintCrontab = new TQCheckBox(i18n("Print cron&tab"), this, "chkPrintCrontab");
main_->addWidget(chkPrintCrontab);
- chkPrintAllUsers = new QCheckBox(i18n("Print &all users"), this, "chkPrintAllUsers");
+ chkPrintAllUsers = new TQCheckBox(i18n("Print &all users"), this, "chkPrintAllUsers");
main_->addWidget(chkPrintAllUsers);
if (!root) {
@@ -44,9 +44,9 @@ KTPrintOpt::~KTPrintOpt()
}
void
-KTPrintOpt::setOptions(const QMap<QString,QString>& opts)
+KTPrintOpt::setOptions(const TQMap<TQString,TQString>& opts)
{
- QString value;
+ TQString value;
value = opts["crontab"];
chkPrintCrontab->setChecked(value == "true");
@@ -58,7 +58,7 @@ KTPrintOpt::setOptions(const QMap<QString,QString>& opts)
}
}
-void KTPrintOpt::getOptions(QMap<QString,QString>& opts, bool)
+void KTPrintOpt::getOptions(TQMap<TQString,TQString>& opts, bool)
{
opts["crontab"] = chkPrintCrontab->isChecked() ? "true" : "false";
opts["allusers"] = chkPrintAllUsers->isChecked() ? "true" : "false";