From 6b45a7b7b2a804ccb2d522eb9ba6423fedb59b8f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:12 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit ca82971624269719d487c6f7980d7237f9420036. --- konq-plugins/fsview/fsview.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'konq-plugins/fsview/fsview.cpp') diff --git a/konq-plugins/fsview/fsview.cpp b/konq-plugins/fsview/fsview.cpp index 931c43f..830bb3d 100644 --- a/konq-plugins/fsview/fsview.cpp +++ b/konq-plugins/fsview/fsview.cpp @@ -94,12 +94,12 @@ FSView::FSView(Inode* base, TQWidget* parent, const char* name) double s; TQString str; for (i=1;i<=ccount;i++) { - str = TQString("Dir%1").arg(i); + str = TQString("Dir%1").tqarg(i); if (!cconfig.hasKey(str)) continue; str = cconfig.readPathEntry(str); - s = cconfig.readDoubleNumEntry(TQString("Size%1").arg(i), 0.0); - f = cconfig.readNumEntry(TQString("Files%1").arg(i), 0); - d = cconfig.readNumEntry(TQString("Dirs%1").arg(i), 0); + s = cconfig.readDoubleNumEntry(TQString("Size%1").tqarg(i), 0.0); + f = cconfig.readNumEntry(TQString("Files%1").tqarg(i), 0); + d = cconfig.readNumEntry(TQString("Dirs%1").tqarg(i), 0); if (s==0.0 || f==0 || d==0) continue; setDirMetric(str, s, f, d); } @@ -147,7 +147,7 @@ void FSView::setPath(TQString p) b->setPeer(d); - setCaption(TQString("%1 - FSView").arg(_path)); + setCaption(TQString("%1 - FSView").tqarg(_path)); requestUpdate(b); } @@ -286,7 +286,7 @@ void FSView::contextMenu(TreeMapItem* i, const TQPoint& p) popup.insertItem(i18n("Refresh"), 5); popup.setItemEnabled(5, !_sm.scanRunning()); - if (i) popup.insertItem(i18n("Refresh '%1'").arg(i->text(0)), 4); + if (i) popup.insertItem(i18n("Refresh '%1'").tqarg(i->text(0)), 4); popup.insertSeparator(); addDepthStopItems(dpopup, 1001, i); popup.insertItem(i18n("Stop at Depth"), dpopup, 1000); @@ -331,10 +331,10 @@ void FSView::saveMetric(KConfigGroup* g) TQMap::iterator it; int c = 1; for (it=_dirMetric.begin();it!=_dirMetric.end();++it) { - g->writePathEntry(TQString("Dir%1").arg(c), it.key()); - g->writeEntry(TQString("Size%1").arg(c), (*it).size); - g->writeEntry(TQString("Files%1").arg(c), (*it).fileCount); - g->writeEntry(TQString("Dirs%1").arg(c), (*it).dirCount); + g->writePathEntry(TQString("Dir%1").tqarg(c), it.key()); + g->writeEntry(TQString("Size%1").tqarg(c), (*it).size); + g->writeEntry(TQString("Files%1").tqarg(c), (*it).fileCount); + g->writeEntry(TQString("Dirs%1").tqarg(c), (*it).dirCount); c++; } g->writeEntry("Count", c-1); -- cgit v1.2.1