summaryrefslogtreecommitdiffstats
path: root/parts/texttools/texttoolswidget.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
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/texttools/texttoolswidget.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/texttools/texttoolswidget.cpp')
-rw-r--r--parts/texttools/texttoolswidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index 269c8136..a6815959 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -30,11 +30,11 @@
class TextStructItem : public TQListViewItem
{
public:
- TextStructItem(TQListView *tqparent)
- : TQListViewItem(tqparent)
+ TextStructItem(TQListView *parent)
+ : TQListViewItem(parent)
{}
- TextStructItem(TQListViewItem *tqparent)
- : TQListViewItem(tqparent)
+ TextStructItem(TQListViewItem *parent)
+ : TQListViewItem(parent)
{
TQListViewItem *item = this;
while (item->nextSibling())
@@ -48,7 +48,7 @@ public:
return extra.isNull()? tag : TQString("%1: %2").tqarg(tag).tqarg(extra);
}
TextStructItem *parentStructItem()
- { return static_cast<TextStructItem*>(tqparent()); }
+ { return static_cast<TextStructItem*>(parent()); }
TQString tag;
TQString extra;
@@ -57,8 +57,8 @@ public:
};
-TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *tqparent, const char *name)
- : KListView(tqparent, name)
+TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *parent, const char *name)
+ : KListView(parent, name)
{
setResizeMode(TQListView::LastColumn);
setSorting(-1);
@@ -297,9 +297,9 @@ void TextToolsWidget::parseXML()
}
TextStructItem *closingItem = currentItem;
- while (closingItem->tqparent() && closingItem->tag != tag)
+ while (closingItem->parent() && closingItem->tag != tag)
closingItem = closingItem->parentStructItem();
- if (closingItem->tqparent()) {
+ if (closingItem->parent()) {
closingItem->endpos = endpos;
currentItem = closingItem->parentStructItem();
} else {
@@ -377,7 +377,7 @@ void TextToolsWidget::parseLaTeX()
TQString title = re.cap(2);
kdDebug(9030) << "Match with " << tag << " and title " << title << endl;
int level = hierarchyLevels.find(tag);
- while (currentItem->tqparent() && level <= hierarchyLevels.find(currentItem->tag))
+ while (currentItem->parent() && level <= hierarchyLevels.find(currentItem->tag))
currentItem = currentItem->parentStructItem();
TextStructItem *item = new TextStructItem(currentItem);