diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:25:33 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:25:33 -0600 |
commit | 604bf3f969d880708ea9a1affce0b304c29e6ff5 (patch) | |
tree | e8fad7142f5d23041b1c9e6c2a1d0d8c814b0ebe /plugins/infowidget/infowidgetplugin.cpp | |
parent | 93f5eb31173901d14b4376614f89d43973ddd45b (diff) | |
download | ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.tar.gz ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'plugins/infowidget/infowidgetplugin.cpp')
-rw-r--r-- | plugins/infowidget/infowidgetplugin.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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<kt::TorrentInterface*>(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); |