summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kreportsview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/views/kreportsview.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/views/kreportsview.cpp')
-rwxr-xr-xkmymoney2/views/kreportsview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp
index 95de9a4..fc8e017 100755
--- a/kmymoney2/views/kreportsview.cpp
+++ b/kmymoney2/views/kreportsview.cpp
@@ -440,7 +440,7 @@ void KReportsView::loadView(void)
{
TQString groupname = (*it_group).name();
KReportGroupListItem* curnode = new KReportGroupListItem(m_reportListView, pagenumber++, (*it_group).title());
- curnode->setOpen(isOpen.tqfind(curnode->text(0)) != isOpen.end());
+ curnode->setOpen(isOpen.find(curnode->text(0)) != isOpen.end());
groupitems[groupname] = curnode;
TQValueList<MyMoneyReport>::const_iterator it_report = (*it_group).begin();
@@ -464,12 +464,12 @@ void KReportsView::loadView(void)
// Rename the charts item to place it at this point in the list.
chartnode->setNr(pagenumber++);
- chartnode->setOpen(isOpen.tqfind(chartnode->text(0)) != isOpen.end());
+ chartnode->setOpen(isOpen.find(chartnode->text(0)) != isOpen.end());
// Custom reports
KReportGroupListItem* favoritenode = new KReportGroupListItem(m_reportListView,pagenumber++, i18n("Favorite Reports"));
- favoritenode->setOpen(isOpen.tqfind(favoritenode->text(0)) != isOpen.end());
+ favoritenode->setOpen(isOpen.find(favoritenode->text(0)) != isOpen.end());
KReportGroupListItem* orphannode = NULL;
TQValueList<MyMoneyReport> customreports = MyMoneyFile::instance()->reportList();
@@ -597,7 +597,7 @@ void KReportsView::slotSaveView(void)
if (!newURL.isEmpty()) {
TQString newName = newURL.prettyURL(0, KURL::StripFileProtocol);
- if(newName.tqfindRev('.') == -1)
+ if(newName.findRev('.') == -1)
newName.append(".html");
tab->saveAs( newName, d->includeCSS->isEnabled() && d->includeCSS->isChecked() );