diff options
Diffstat (limited to 'parts/classview/classtreebase.h')
-rw-r--r-- | parts/classview/classtreebase.h | 43 |
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() { |