diff options
Diffstat (limited to 'parts/classview/classtreebase.h')
-rw-r--r-- | parts/classview/classtreebase.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/parts/classview/classtreebase.h b/parts/classview/classtreebase.h index e019bcc2..91ac8054 100644 --- a/parts/classview/classtreebase.h +++ b/parts/classview/classtreebase.h @@ -32,12 +32,12 @@ class ClassTreeBase : public KListView Q_OBJECT public: - ClassTreeBase( ClassViewPart *part, QWidget *parent=0, const char *name=0 ); + ClassTreeBase( ClassViewPart *part, TQWidget *parent=0, const char *name=0 ); ~ClassTreeBase(); protected: - typedef QValueList<QStringList> TreeState; - typedef QValueList<QStringList>::Iterator TreeStateIterator; + typedef TQValueList<TQStringList> TreeState; + typedef TQValueList<TQStringList>::Iterator TreeStateIterator; TreeState treeState() const; void setTreeState(TreeState state); @@ -45,9 +45,9 @@ protected: virtual KPopupMenu *createPopup() = 0; private slots: - void slotItemExecuted(QListViewItem*); - void slotItemPressed(int button, QListViewItem *item); - void slotContextMenuRequested(QListViewItem *item, const QPoint &p); + void slotItemExecuted(TQListViewItem*); + void slotItemPressed(int button, TQListViewItem *item); + void slotContextMenuRequested(TQListViewItem *item, const TQPoint &p); void slotGotoDeclaration(); void slotGotoImplementation(); void slotAddMethod(); @@ -63,21 +63,21 @@ protected: }; -class ClassTreeItem : public QListViewItem, public NotifyClient +class ClassTreeItem : public TQListViewItem, public NotifyClient { public: ClassTreeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem ) - : QListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem) + : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem) { init(); } ClassTreeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem ) - : QListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem) + : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem) { init(); } ClassTreeItem( const ClassTreeItem& other ) - : QListViewItem( other.parent(), other.nextSibling()), NotifyClient() + : TQListViewItem( other.parent(), other.nextSibling()), NotifyClient() { m_item = other.m_item; init(); @@ -105,12 +105,12 @@ public: m_item->registerNotifyClient( (NotifyClient*)this ); } - void getDeclaration(QString *toFile, int *toLine); - void getImplementation(QString *toFile, int *toLine); + void getDeclaration(TQString *toFile, int *toLine); + void getImplementation(TQString *toFile, int *toLine); - virtual QString scopedText() const; - virtual QString text( int ) const; - virtual QString tipText() const; + virtual TQString scopedText() const; + virtual TQString text( int ) const; + virtual TQString tipText() const; protected: ClassTreeBase *classTree() @@ -123,22 +123,22 @@ class ClassTreeOrganizerItem : public ClassTreeItem { public: ClassTreeOrganizerItem( ClassTreeBase *parent, ClassTreeItem *lastSibling, - const QString &text ) + const TQString &text ) : ClassTreeItem(parent, lastSibling, 0 ) , m_text( text ) { init(); } ClassTreeOrganizerItem( ClassTreeItem *parent, ClassTreeItem *lastSibling, - const QString &text ) + const TQString &text ) : ClassTreeItem(parent, lastSibling, 0 ) , m_text( text ) { init(); } ~ClassTreeOrganizerItem() {} - virtual QString text( int ) const { return m_text; } + virtual TQString text( int ) const { return m_text; } private: - QString m_text; + TQString m_text; void init(); }; @@ -163,7 +163,7 @@ public: { } - virtual QString text( int ) const; + virtual TQString text( int ) const; virtual void setOpen(bool o); private: @@ -209,7 +209,7 @@ public: { } - virtual QString text( int ) const; + virtual TQString text( int ) const; }; @@ -222,7 +222,7 @@ public: { } - virtual QString text( int ) const; + virtual TQString text( int ) const; }; class ClassTreeScriptItem : public ClassTreeItem @@ -234,7 +234,7 @@ public: { } - virtual QString text( int ) const; + virtual TQString text( int ) const; virtual void setOpen(bool o); }; |