summaryrefslogtreecommitdiffstats
path: root/plugins/logviewer
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/logviewer')
-rw-r--r--plugins/logviewer/logprefpage.cpp2
-rw-r--r--plugins/logviewer/logviewer.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/logviewer/logprefpage.cpp b/plugins/logviewer/logprefpage.cpp
index 6cc6ce8..cd16e56 100644
--- a/plugins/logviewer/logprefpage.cpp
+++ b/plugins/logviewer/logprefpage.cpp
@@ -29,7 +29,7 @@ namespace kt
LogPrefPage::LogPrefPage()
: PrefPageInterface(i18n("LogViewer"), i18n("LogViewer Options"),
- KGlobal::iconLoader()->loadIcon("toggle_log",KIcon::NoGroup))
+ TDEGlobal::iconLoader()->loadIcon("toggle_log",KIcon::NoGroup))
{
m_widget = 0;
}
diff --git a/plugins/logviewer/logviewer.cpp b/plugins/logviewer/logviewer.cpp
index 8107191..4ab3ab1 100644
--- a/plugins/logviewer/logviewer.cpp
+++ b/plugins/logviewer/logviewer.cpp
@@ -51,10 +51,10 @@ namespace kt
setMaxLogLines(200);
setMinimumSize(TQSize(0,50));
setSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding);
- KGlobal::config()->setGroup("LogViewer");
- if (KGlobal::config()->hasKey("LogViewerWidgetSize"))
+ TDEGlobal::config()->setGroup("LogViewer");
+ if (TDEGlobal::config()->hasKey("LogViewerWidgetSize"))
{
- TQSize s = KGlobal::config()->readSizeEntry("LogViewerWidgetSize",0);
+ TQSize s = TDEGlobal::config()->readSizeEntry("LogViewerWidgetSize",0);
resize(s);
}
@@ -64,8 +64,8 @@ namespace kt
LogViewer::~LogViewer()
{
- KGlobal::config()->setGroup("LogViewer");
- KGlobal::config()->writeEntry("LogViewerWidgetSize",size());
+ TDEGlobal::config()->setGroup("LogViewer");
+ TDEGlobal::config()->writeEntry("LogViewerWidgetSize",size());
LogFlags::instance().setLog(0);
}