diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:28:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:28:24 -0600 |
commit | 20de04ce44f63fb911103d7870d39d2782d14cda (patch) | |
tree | bddd13cef2fae98892caf538dc64b5357732c517 /konq-plugins/fsview/fsview.cpp | |
parent | 4c097708c4cc24f3b8e4c21f14644f5715767d47 (diff) | |
download | tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.tar.gz tdeaddons-20de04ce44f63fb911103d7870d39d2782d14cda.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konq-plugins/fsview/fsview.cpp')
-rw-r--r-- | konq-plugins/fsview/fsview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/konq-plugins/fsview/fsview.cpp b/konq-plugins/fsview/fsview.cpp index 49cc4ff..3ad3066 100644 --- a/konq-plugins/fsview/fsview.cpp +++ b/konq-plugins/fsview/fsview.cpp @@ -78,17 +78,17 @@ FSView::FSView(Inode* base, TQWidget* parent, const char* name) _dirsFinished = 0; _lastDir = 0; - _config = new KConfig("fsviewrc"); + _config = new TDEConfig("fsviewrc"); // restore TreeMap visualization options of last execution - KConfigGroup tmconfig(_config, TQCString("TreeMap")); + TDEConfigGroup tmconfig(_config, TQCString("TreeMap")); restoreOptions(&tmconfig); TQString str = tmconfig.readEntry("ColorMode"); if (!str.isEmpty()) setColorMode(str); if (_dirMetric.count() == 0) { // restore metric cache - KConfigGroup cconfig(_config, TQCString("MetricCache")); + TDEConfigGroup cconfig(_config, TQCString("MetricCache")); int ccount = cconfig.readNumEntry("Count", 0); int i, f, d; double s; @@ -139,7 +139,7 @@ void FSView::setPath(TQString p) u.setPath(_path); if (!kapp->authorizeURLAction("list", KURL(), u)) { - TQString msg = KIO::buildErrorString(KIO::ERR_ACCESS_DENIED, u.prettyURL()); + TQString msg = TDEIO::buildErrorString(TDEIO::ERR_ACCESS_DENIED, u.prettyURL()); KMessageBox::queuedMessageBox(this, KMessageBox::Sorry, msg); } @@ -326,7 +326,7 @@ void FSView::contextMenu(TreeMapItem* i, const TQPoint& p) } } -void FSView::saveMetric(KConfigGroup* g) +void FSView::saveMetric(TDEConfigGroup* g) { TQMap<TQString, MetricEntry>::iterator it; int c = 1; @@ -414,14 +414,14 @@ void FSView::colorActivated(int id) void FSView::saveFSOptions() { - KConfigGroup tmconfig(_config, TQCString("TreeMap")); + TDEConfigGroup tmconfig(_config, TQCString("TreeMap")); saveOptions(&tmconfig); tmconfig.writeEntry("ColorMode", colorModeString()); - KConfigGroup gconfig(_config, TQCString("General")); + TDEConfigGroup gconfig(_config, TQCString("General")); gconfig.writeEntry("Path", _path); - KConfigGroup cconfig(_config, TQCString("MetricCache")); + TDEConfigGroup cconfig(_config, TQCString("MetricCache")); saveMetric(&cconfig); } |