diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:41:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:41:14 -0600 |
commit | 26f93a7d9105483b49ae930545ddb2873156fa8e (patch) | |
tree | bd208384438ff06193cc1a0a1548a9d69a83cd41 /src/detailedlistview.cpp | |
parent | 8d9b90ca794ffabf151719c2edebe9278a2d3f36 (diff) | |
download | tellico-26f93a7d9105483b49ae930545ddb2873156fa8e.tar.gz tellico-26f93a7d9105483b49ae930545ddb2873156fa8e.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/detailedlistview.cpp')
-rw-r--r-- | src/detailedlistview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/detailedlistview.cpp b/src/detailedlistview.cpp index a10f646..6182d94 100644 --- a/src/detailedlistview.cpp +++ b/src/detailedlistview.cpp @@ -82,15 +82,15 @@ void DetailedListView::addCollection(Data::CollPtr coll_) { m_imageColumns.clear(); // myDebug() << "DetailedListView::addCollection()" << endl; - KConfigGroup config(kapp->config(), TQString::fromLatin1("Options - %1").tqarg(coll_->typeName())); + KConfigGroup config(kapp->config(), TQString::fromLatin1("Options - %1").arg(coll_->typeName())); TQString configN; if(coll_->type() == Data::Collection::Base) { KURL url = Kernel::self()->URL(); for(uint i = 0; i < Config::maxCustomURLSettings(); ++i) { - KURL u = config.readEntry(TQString::fromLatin1("URL_%1").tqarg(i)); + KURL u = config.readEntry(TQString::fromLatin1("URL_%1").arg(i)); if(u == url) { - configN = TQString::fromLatin1("_%1").tqarg(i); + configN = TQString::fromLatin1("_%1").arg(i); break; } } @@ -747,16 +747,16 @@ void DetailedListView::slotUpdatePixmap() { } void DetailedListView::saveConfig(Tellico::Data::CollPtr coll_, int configIndex_) { - KConfigGroup config(kapp->config(), TQString::fromLatin1("Options - %1").tqarg(coll_->typeName())); + KConfigGroup config(kapp->config(), TQString::fromLatin1("Options - %1").arg(coll_->typeName())); // all of this is to have custom settings on a per file basis TQString configN; if(coll_->type() == Data::Collection::Base) { TQValueList<ConfigInfo> info; for(uint i = 0; i < Config::maxCustomURLSettings(); ++i) { - KURL u = config.readEntry(TQString::fromLatin1("URL_%1").tqarg(i)); + KURL u = config.readEntry(TQString::fromLatin1("URL_%1").arg(i)); if(!u.isEmpty() && static_cast<int>(i) != configIndex_) { - configN = TQString::fromLatin1("_%1").tqarg(i); + configN = TQString::fromLatin1("_%1").arg(i); ConfigInfo ci; ci.cols = config.readListEntry("ColumnNames" + configN); ci.widths = config.readIntListEntry("ColumnWidths" + configN); @@ -772,7 +772,7 @@ void DetailedListView::saveConfig(Tellico::Data::CollPtr coll_, int configIndex_ uint limit = TQMIN(info.count(), Config::maxCustomURLSettings()-1); for(uint i = 0; i < limit; ++i) { // starts at one since the current config will be written below - configN = TQString::fromLatin1("_%1").tqarg(i+1); + configN = TQString::fromLatin1("_%1").arg(i+1); config.writeEntry("ColumnNames" + configN, info[i].cols); config.writeEntry("ColumnWidths" + configN, info[i].widths); config.writeEntry("ColumnOrder" + configN, info[i].order); |