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/infowidget/infowidgetplugin.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/infowidget/infowidgetplugin.cpp') diff --git a/plugins/infowidget/infowidgetplugin.cpp b/plugins/infowidget/infowidgetplugin.cpp index 4961b57..2a1ddff 100644 --- a/plugins/infowidget/infowidgetplugin.cpp +++ b/plugins/infowidget/infowidgetplugin.cpp @@ -83,17 +83,17 @@ namespace kt getGUI()->addPrefPage(pref); currentTorrentChanged(const_cast(getGUI()->getCurrentTorrent())); - file_view->restoreLayout(KGlobal::config(),"FileView"); + file_view->restoreLayout(TDEGlobal::config(),"FileView"); } void InfoWidgetPlugin::unload() { if (cd_view) - cd_view->saveLayout(KGlobal::config(),"ChunkDownloadView"); + cd_view->saveLayout(TDEGlobal::config(),"ChunkDownloadView"); if (peer_view) - peer_view->saveLayout(KGlobal::config(),"PeerView"); + peer_view->saveLayout(TDEGlobal::config(),"PeerView"); if (file_view) - file_view->saveLayout(KGlobal::config(),"FileView"); + file_view->saveLayout(TDEGlobal::config(),"FileView"); getGUI()->removeViewListener(this); getGUI()->removePrefPage(pref); @@ -172,12 +172,12 @@ namespace kt peer_view = new PeerView(0); getGUI()->addToolWidget(peer_view,"tdmconfig",i18n("Peers"),GUIInterface::DOCK_BOTTOM); - peer_view->restoreLayout(KGlobal::config(),"PeerView"); + peer_view->restoreLayout(TDEGlobal::config(),"PeerView"); createMonitor(tc); } else if (!show && peer_view) { - peer_view->saveLayout(KGlobal::config(),"PeerView"); + peer_view->saveLayout(TDEGlobal::config(),"PeerView"); getGUI()->removeToolWidget(peer_view); delete peer_view; peer_view = 0; createMonitor(tc); @@ -193,13 +193,13 @@ namespace kt cd_view = new ChunkDownloadView(0); getGUI()->addToolWidget(cd_view,"fifteenpieces",i18n("Chunks"),GUIInterface::DOCK_BOTTOM); - cd_view->restoreLayout(KGlobal::config(),"ChunkDownloadView"); + cd_view->restoreLayout(TDEGlobal::config(),"ChunkDownloadView"); cd_view->changeTC(tc); createMonitor(tc); } else if (!show && cd_view) { - cd_view->saveLayout(KGlobal::config(),"ChunkDownloadView"); + cd_view->saveLayout(TDEGlobal::config(),"ChunkDownloadView"); getGUI()->removeToolWidget(cd_view); delete cd_view; cd_view = 0; createMonitor(tc); -- cgit v1.2.1