summaryrefslogtreecommitdiffstats
path: root/kviewshell/tableOfContents.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kviewshell/tableOfContents.cpp
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/tableOfContents.cpp')
-rw-r--r--kviewshell/tableOfContents.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kviewshell/tableOfContents.cpp b/kviewshell/tableOfContents.cpp
index 7003de53..51618d9a 100644
--- a/kviewshell/tableOfContents.cpp
+++ b/kviewshell/tableOfContents.cpp
@@ -28,19 +28,19 @@
#include "kvsprefs.h"
-TocItem::TocItem(TocItem* tqparent)
- : KListViewItem(tqparent)
+TocItem::TocItem(TocItem* parent)
+ : KListViewItem(parent)
{
}
-TocItem::TocItem(TQListView* tqparent)
- : KListViewItem(tqparent)
+TocItem::TocItem(TQListView* parent)
+ : KListViewItem(parent)
{
}
-TableOfContents::TableOfContents(TQWidget* tqparent)
- : KListView(tqparent)
+TableOfContents::TableOfContents(TQWidget* parent)
+ : KListView(parent)
{
addColumn(i18n("Topic"));
addColumn(i18n("Page"));
@@ -79,7 +79,7 @@ void TableOfContents::setContents(const TQPtrList<Bookmark>& bookmarks)
addItems(bookmarks);
}
-void TableOfContents::addItems(const TQPtrList<Bookmark>& _bookmarks, TocItem* tqparent)
+void TableOfContents::addItems(const TQPtrList<Bookmark>& _bookmarks, TocItem* parent)
{
kdDebug(1223) << "TableOfContents::setContents()" << endl;
if (_bookmarks.isEmpty())
@@ -90,10 +90,10 @@ void TableOfContents::addItems(const TQPtrList<Bookmark>& _bookmarks, TocItem* t
TQPtrList<Bookmark> bookmarks = _bookmarks;
for (Bookmark* current = bookmarks.last(); current; current = bookmarks.prev() ) {
TocItem* item;
- if (!tqparent)
+ if (!parent)
item = new TocItem(this);
else
- item = new TocItem(tqparent);
+ item = new TocItem(parent);
item->setText(0, current->bookmarkText);
if (current->position.page != 0)