summaryrefslogtreecommitdiffstats
path: root/plugins/scheduler
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/scheduler')
-rw-r--r--plugins/scheduler/bwscheduler.cpp4
-rw-r--r--plugins/scheduler/bwsprefpagewidget.cpp4
-rw-r--r--plugins/scheduler/schedulerprefpage.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/scheduler/bwscheduler.cpp b/plugins/scheduler/bwscheduler.cpp
index 56256a4..5f2502a 100644
--- a/plugins/scheduler/bwscheduler.cpp
+++ b/plugins/scheduler/bwscheduler.cpp
@@ -222,7 +222,7 @@ namespace kt
void BWScheduler::loadSchedule()
{
- TQFile file(KGlobal::dirs()->saveLocation("data","ktorrent") + "bwschedule");
+ TQFile file(TDEGlobal::dirs()->saveLocation("data","ktorrent") + "bwschedule");
if(!file.exists())
return;
@@ -256,7 +256,7 @@ namespace kt
void BWScheduler::saveSchedule()
{
- TQFile file(KGlobal::dirs()->saveLocation("data","ktorrent") + "bwschedule");
+ TQFile file(TDEGlobal::dirs()->saveLocation("data","ktorrent") + "bwschedule");
file.open(IO_WriteOnly);
TQDataStream stream(&file);
diff --git a/plugins/scheduler/bwsprefpagewidget.cpp b/plugins/scheduler/bwsprefpagewidget.cpp
index 391ccbf..648afe7 100644
--- a/plugins/scheduler/bwsprefpagewidget.cpp
+++ b/plugins/scheduler/bwsprefpagewidget.cpp
@@ -53,7 +53,7 @@ namespace kt
lblStatus->clear();
- pix_icon->setPixmap(KGlobal::iconLoader()->loadIcon("clock",KIcon::NoGroup));
+ pix_icon->setPixmap(TDEGlobal::iconLoader()->loadIcon("clock",KIcon::NoGroup));
btnOk->setGuiItem(KStdGuiItem::ok());
btnCancel->setGuiItem(KStdGuiItem::cancel());
@@ -211,7 +211,7 @@ namespace kt
void BWSPrefPageWidget::loadDefault()
{
//read schedule from HD
- TQString fn = KGlobal::dirs()->saveLocation("data","ktorrent") + "bwschedule";
+ TQString fn = TDEGlobal::dirs()->saveLocation("data","ktorrent") + "bwschedule";
loadSchedule(fn, false);
}
diff --git a/plugins/scheduler/schedulerprefpage.cpp b/plugins/scheduler/schedulerprefpage.cpp
index 8af124b..9f561a4 100644
--- a/plugins/scheduler/schedulerprefpage.cpp
+++ b/plugins/scheduler/schedulerprefpage.cpp
@@ -32,7 +32,7 @@ namespace kt
{
SchedulerPrefPage::SchedulerPrefPage(SchedulerPlugin* plugin)
- : PrefPageInterface(i18n("Scheduler"), i18n("Scheduler plugin options"), KGlobal::iconLoader()->loadIcon("clock",KIcon::NoGroup)), m_plugin(plugin)
+ : PrefPageInterface(i18n("Scheduler"), i18n("Scheduler plugin options"), TDEGlobal::iconLoader()->loadIcon("clock",KIcon::NoGroup)), m_plugin(plugin)
{
widget = 0;
}