summaryrefslogtreecommitdiffstats
path: root/parts/texttools
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
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')
-rw-r--r--parts/texttools/texttoolspart.cpp4
-rw-r--r--parts/texttools/texttoolspart.h2
-rw-r--r--parts/texttools/texttoolswidget.cpp20
-rw-r--r--parts/texttools/texttoolswidget.h2
4 files changed, 14 insertions, 14 deletions
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 3697b89f..332d97e3 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -28,8 +28,8 @@ typedef KDevGenericFactory<TextToolsPart> TextToolsFactory;
static const KDevPluginInfo data("kdevtexttools");
K_EXPORT_COMPONENT_FACTORY( libkdevtexttools, TextToolsFactory( data ) )
-TextToolsPart::TextToolsPart(TQObject *tqparent, const char *name, const TQStringList &)
- : KDevPlugin(&data, tqparent, name ? name : "TextToolsPart")
+TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringList &)
+ : KDevPlugin(&data, parent, name ? name : "TextToolsPart")
{
setInstance(TextToolsFactory::instance());
// setXMLFile("kdevfileview.rc");
diff --git a/parts/texttools/texttoolspart.h b/parts/texttools/texttoolspart.h
index 42443c48..2f2768ab 100644
--- a/parts/texttools/texttoolspart.h
+++ b/parts/texttools/texttoolspart.h
@@ -25,7 +25,7 @@ class TextToolsPart : public KDevPlugin
TQ_OBJECT
public:
- TextToolsPart( TQObject *tqparent, const char *name, const TQStringList & );
+ TextToolsPart( TQObject *parent, const char *name, const TQStringList & );
~TextToolsPart();
private slots:
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);
diff --git a/parts/texttools/texttoolswidget.h b/parts/texttools/texttoolswidget.h
index edbd834b..0d5593a2 100644
--- a/parts/texttools/texttoolswidget.h
+++ b/parts/texttools/texttoolswidget.h
@@ -29,7 +29,7 @@ class TextToolsWidget : public KListView
public:
enum Mode { HTML, Docbook, LaTeX };
- TextToolsWidget( TextToolsPart *part, TQWidget *tqparent=0, const char *name=0 );
+ TextToolsWidget( TextToolsPart *part, TQWidget *parent=0, const char *name=0 );
~TextToolsWidget();
void setMode(Mode mode, KParts::Part *part);