From 604bf3f969d880708ea9a1affce0b304c29e6ff5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:25:33 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- plugins/logviewer/logprefpage.cpp | 2 +- plugins/logviewer/logviewer.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/logviewer') 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); } -- cgit v1.2.1