summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kreportsview.cpp
diff options
context:
space:
mode:
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() );