summaryrefslogtreecommitdiffstats
path: root/konq-plugins/fsview/fsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/fsview/fsview.cpp')
-rw-r--r--konq-plugins/fsview/fsview.cpp16
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);
}