diff options
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; |