diff options
author | Slávek Banko <[email protected]> | 2013-10-08 00:13:25 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-10-08 05:14:53 +0200 |
commit | 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch) | |
tree | 770861aa9033e1dc6c5168358194ff85b32dd429 /src/treewidget.h | |
parent | 57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff) | |
download | kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip |
Initial TQt conversion
Diffstat (limited to 'src/treewidget.h')
-rw-r--r-- | src/treewidget.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/treewidget.h b/src/treewidget.h index 57c2a98..34d32b6 100644 --- a/src/treewidget.h +++ b/src/treewidget.h @@ -45,7 +45,7 @@ class TreeWidget : public QueryView Q_OBJECT public: - TreeWidget(QWidget* pParent = 0, const char* szName = 0); + TreeWidget(TQWidget* pParent = 0, const char* szName = 0); ~TreeWidget(); /** @@ -54,17 +54,17 @@ public: enum Mode { Called, Calling }; void setMode(Mode); - void setRoot(const QString&); + void setRoot(const TQString&); void queryRoot(); void save(FILE*); - virtual void addRecord(const QString&, const QString&, const QString&, - const QString&, QListViewItem*); - virtual void queryFinished(uint, QListViewItem*); + virtual void addRecord(const TQString&, const TQString&, const TQString&, + const TQString&, TQListViewItem*); + virtual void queryFinished(uint, TQListViewItem*); protected slots: - virtual void slotSearch(QListViewItem*, const QRegExp&, int); - virtual void slotShowAll(QListViewItem*); + virtual void slotSearch(TQListViewItem*, const TQRegExp&, int); + virtual void slotShowAll(TQListViewItem*); private: /** The CscopeFrontend query type to use (based on the current mode). */ @@ -73,10 +73,10 @@ private: /** Runs queries and outputs the results as tree items. */ QueryViewDriver* m_pDriver; - void saveItems(QListViewItem*, QTextStream&, Encoder&); + void saveItems(TQListViewItem*, TQTextStream&, Encoder&); private slots: - void slotQueryItem(QListViewItem*); + void slotQueryItem(TQListViewItem*); }; #endif |