summaryrefslogtreecommitdiffstats
path: root/plugins/logviewer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:25:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:25:33 -0600
commit604bf3f969d880708ea9a1affce0b304c29e6ff5 (patch)
treee8fad7142f5d23041b1c9e6c2a1d0d8c814b0ebe /plugins/logviewer
parent93f5eb31173901d14b4376614f89d43973ddd45b (diff)
downloadktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.tar.gz
ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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);
}