diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/cppsymbolviewer/tcl_parser.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/cppsymbolviewer/tcl_parser.cpp')
-rw-r--r-- | kate/cppsymbolviewer/tcl_parser.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kate/cppsymbolviewer/tcl_parser.cpp b/kate/cppsymbolviewer/tcl_parser.cpp index ff51e60..c2eae61 100644 --- a/kate/cppsymbolviewer/tcl_parser.cpp +++ b/kate/cppsymbolviewer/tcl_parser.cpp @@ -21,25 +21,25 @@ void KatePluginSymbolViewerView::parseTclSymbols(void) if (!win->viewManager()->activeView()) return; - QString currline, prevline; + TQString currline, prevline; bool prevComment = false; - QString varStr("set "); - QString procStr("proc"); - QString stripped; + TQString varStr("set "); + TQString procStr("proc"); + TQString stripped; uint i, j, args_par = 0, graph = 0; char block = 0, parse_func = 0; - QListViewItem *node = NULL; - QListViewItem *mcrNode = NULL, *clsNode = NULL; - QListViewItem *lastMcrNode = NULL, *lastClsNode = NULL; + TQListViewItem *node = NULL; + TQListViewItem *mcrNode = NULL, *clsNode = NULL; + TQListViewItem *lastMcrNode = NULL, *lastClsNode = NULL; - QPixmap mcr( ( const char** ) macro_xpm ); - QPixmap cls( ( const char** ) class_xpm ); + TQPixmap mcr( ( const char** ) macro_xpm ); + TQPixmap cls( ( const char** ) class_xpm ); if(treeMode) { - clsNode = new QListViewItem(symbols, symbols->lastItem(), i18n("Functions")); - mcrNode = new QListViewItem(symbols, symbols->lastItem(), i18n("Globals")); + clsNode = new TQListViewItem(symbols, symbols->lastItem(), i18n("Functions")); + mcrNode = new TQListViewItem(symbols, symbols->lastItem(), i18n("Globals")); lastMcrNode = mcrNode; lastClsNode = clsNode; if (expanded_on) @@ -86,14 +86,14 @@ void KatePluginSymbolViewerView::parseTclSymbols(void) if (treeMode) { - node = new QListViewItem(mcrNode, lastMcrNode, stripped); + node = new TQListViewItem(mcrNode, lastMcrNode, stripped); lastMcrNode = node; } else - node = new QListViewItem(symbols, symbols->lastItem(), stripped); + node = new TQListViewItem(symbols, symbols->lastItem(), stripped); - node->setPixmap(0, (const QPixmap &)mcr); - node->setText(1, QString::number( i, 10)); + node->setPixmap(0, (const TQPixmap &)mcr); + node->setText(1, TQString::number( i, 10)); stripped = ""; }//macro } // starts with "set" @@ -127,13 +127,13 @@ void KatePluginSymbolViewerView::parseTclSymbols(void) { if (treeMode) { - node = new QListViewItem(clsNode, lastClsNode, stripped); + node = new TQListViewItem(clsNode, lastClsNode, stripped); lastClsNode = node; } else - node = new QListViewItem(symbols, symbols->lastItem(), stripped); - node->setPixmap(0, (const QPixmap &)cls); - node->setText(1, QString::number( i, 10)); + node = new TQListViewItem(symbols, symbols->lastItem(), stripped); + node->setPixmap(0, (const TQPixmap &)cls); + node->setText(1, TQString::number( i, 10)); } stripped = ""; block = 1; |