summaryrefslogtreecommitdiffstats
path: root/kcron/ktprintopt.cpp
diff options
context:
space:
mode:
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";