summaryrefslogtreecommitdiffstats
path: root/kget/dlgAutomation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/dlgAutomation.cpp')
-rw-r--r--kget/dlgAutomation.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kget/dlgAutomation.cpp b/kget/dlgAutomation.cpp
index 779cacf3..97a299eb 100644
--- a/kget/dlgAutomation.cpp
+++ b/kget/dlgAutomation.cpp
@@ -38,7 +38,7 @@
#include <klineedit.h>
#include "settings.h"
-#include "kmainwidget.h"
+#include "tdemainwidget.h"
#include "dlgAutomation.h"
@@ -106,12 +106,12 @@ void DlgAutomation::applyData()
if (cb_autoSave->isChecked() != ksettings.b_autoSave || (uint) le_autoSave->value() != ksettings.autoSaveInterval) {
ksettings.b_autoSave = cb_autoSave->isChecked();
ksettings.autoSaveInterval = le_autoSave->value();
- kmain->setAutoSave();
+ tdemain->setAutoSave();
}
if (cb_autoDisconnect->isChecked() != ksettings.b_autoDisconnect) {
- kmain->slotToggleAutoDisconnect();
- kmain->setAutoDisconnect();
+ tdemain->slotToggleAutoDisconnect();
+ tdemain->setAutoDisconnect();
}
ksettings.disconnectCommand = le_autoDisconnect->text();
@@ -120,11 +120,11 @@ void DlgAutomation::applyData()
ksettings.disconnectTime = spins->dateTime().time();
if (cb_autoShutdown->isChecked() != ksettings.b_autoShutdown) {
- kmain->slotToggleAutoShutdown();
+ tdemain->slotToggleAutoShutdown();
}
if (cb_autoPaste->isChecked() != ksettings.b_autoPaste) {
- kmain->slotToggleAutoPaste();
+ tdemain->slotToggleAutoPaste();
}
}