summaryrefslogtreecommitdiffstats
path: root/parts/classview/classtreebase.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/classview/classtreebase.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/classview/classtreebase.h')
-rw-r--r--parts/classview/classtreebase.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/parts/classview/classtreebase.h b/parts/classview/classtreebase.h
index 91ac8054..5274d9e8 100644
--- a/parts/classview/classtreebase.h
+++ b/parts/classview/classtreebase.h
@@ -30,9 +30,10 @@ class KPopupMenu;
class ClassTreeBase : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- ClassTreeBase( ClassViewPart *part, TQWidget *parent=0, const char *name=0 );
+ ClassTreeBase( ClassViewPart *part, TQWidget *tqparent=0, const char *name=0 );
~ClassTreeBase();
protected:
@@ -66,18 +67,18 @@ protected:
class ClassTreeItem : public TQListViewItem, public NotifyClient
{
public:
- ClassTreeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
- : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem)
+ ClassTreeItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
+ : TQListViewItem(tqparent, lastSibling), NotifyClient(), m_item(parsedItem)
{
init();
}
- ClassTreeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
- : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem)
+ ClassTreeItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
+ : TQListViewItem(tqparent, lastSibling), NotifyClient(), m_item(parsedItem)
{
init();
}
ClassTreeItem( const ClassTreeItem& other )
- : TQListViewItem( other.parent(), other.nextSibling()), NotifyClient()
+ : TQListViewItem( other.tqparent(), other.nextSibling()), NotifyClient()
{
m_item = other.m_item;
init();
@@ -122,14 +123,14 @@ protected:
class ClassTreeOrganizerItem : public ClassTreeItem
{
public:
- ClassTreeOrganizerItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
+ ClassTreeOrganizerItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
const TQString &text )
- : ClassTreeItem(parent, lastSibling, 0 )
+ : ClassTreeItem(tqparent, lastSibling, 0 )
, m_text( text )
{ init(); }
- ClassTreeOrganizerItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
+ ClassTreeOrganizerItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
const TQString &text )
- : ClassTreeItem(parent, lastSibling, 0 )
+ : ClassTreeItem(tqparent, lastSibling, 0 )
, m_text( text )
{ init(); }
~ClassTreeOrganizerItem()
@@ -147,15 +148,15 @@ private:
class ClassTreeScopeItem : public ClassTreeItem
{
public:
- ClassTreeScopeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
+ ClassTreeScopeItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
ParsedScopeContainer *parsedScope )
- : ClassTreeItem(parent, lastSibling, parsedScope)
+ : ClassTreeItem(tqparent, lastSibling, parsedScope)
{
init();
}
- ClassTreeScopeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
+ ClassTreeScopeItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
ParsedScopeContainer *parsedScope )
- : ClassTreeItem(parent, lastSibling, parsedScope)
+ : ClassTreeItem(tqparent, lastSibling, parsedScope)
{
init();
}
@@ -174,15 +175,15 @@ private:
class ClassTreeClassItem : public ClassTreeItem
{
public:
- ClassTreeClassItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
+ ClassTreeClassItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
ParsedClass *parsedClass, bool isStruct=false )
- : ClassTreeItem(parent, lastSibling, parsedClass), m_isStruct( isStruct )
+ : ClassTreeItem(tqparent, lastSibling, parsedClass), m_isStruct( isStruct )
{
init();
}
- ClassTreeClassItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
+ ClassTreeClassItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
ParsedClass *parsedClass, bool isStruct=false )
- : ClassTreeItem(parent, lastSibling, parsedClass), m_isStruct( isStruct )
+ : ClassTreeItem(tqparent, lastSibling, parsedClass), m_isStruct( isStruct )
{
init();
}
@@ -203,7 +204,7 @@ private:
class ClassTreeMethodItem : public ClassTreeItem
{
public:
- ClassTreeMethodItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
+ ClassTreeMethodItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
ParsedMethod *parsedMethod );
~ClassTreeMethodItem()
{
@@ -216,7 +217,7 @@ public:
class ClassTreeAttrItem : public ClassTreeItem
{
public:
- ClassTreeAttrItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
+ ClassTreeAttrItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
ParsedAttribute *parsedAttr );
~ClassTreeAttrItem()
{
@@ -228,7 +229,7 @@ public:
class ClassTreeScriptItem : public ClassTreeItem
{
public:
- ClassTreeScriptItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
+ ClassTreeScriptItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
ParsedScript *parsedScript );
~ClassTreeScriptItem()
{