summaryrefslogtreecommitdiffstats
path: root/src/dotparse.ypp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotparse.ypp')
-rw-r--r--src/dotparse.ypp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/dotparse.ypp b/src/dotparse.ypp
index f21b9e3..f8e8960 100644
--- a/src/dotparse.ypp
+++ b/src/dotparse.ypp
@@ -1,9 +1,9 @@
/* dot.y */
%{
-#include <qdict.h>
-#include <qptrstack.h>
-#include <qlistview.h>
+#include <ntqdict.h>
+#include <ntqptrstack.h>
+#include <ntqlistview.h>
#include "calltreedlg.h"
#include "graphwidget.h"
#include "treewidget.h"
@@ -14,9 +14,9 @@ int yylex();
void yyinit(CallTreeDlg*, FILE*, Encoder*);
void yyerror(const char*);
-static QMap<QString, QString> s_pMapAttr;
-static QStack<QListViewItem> s_pParentStack;
-static QListView* s_pTree;
+static TQMap<TQString, TQString> s_pMapAttr;
+static TQStack<TQListViewItem> s_pParentStack;
+static TQListView* s_pTree;
static GraphWidget* s_pGraph;
static TreeWidget* s_pCallTree;
@@ -31,7 +31,7 @@ static Encoder* s_pEncoder;
%}
%union {
- QString* pText;
+ TQString* pText;
}
%token GRAPH DIGRAPH NODE NAME STRING NUMBER DIR_EDGE UNDIR_EDGE
@@ -159,7 +159,7 @@ calling_tree_prepare
root_node
: root_tree_node '{' child_list '}'
{
- QListViewItem* pItem;
+ TQListViewItem* pItem;
pItem = s_pParentStack.pop();
if (pItem->firstChild() != NULL)
@@ -170,9 +170,9 @@ root_node
root_tree_node
: NAME
{
- QListViewItem* pItem;
+ TQListViewItem* pItem;
- pItem = new QListViewItem(s_pTree, *$1);
+ pItem = new TQListViewItem(s_pTree, *$1);
s_pParentStack.push(pItem);
delete $1;
}
@@ -186,7 +186,7 @@ child_list
child_node
: tree_node tree_attributes '{' child_list '}'
{
- QListViewItem* pItem;
+ TQListViewItem* pItem;
pItem = s_pParentStack.pop();
if (pItem->firstChild() != NULL)
@@ -197,9 +197,9 @@ child_node
tree_node
: NAME
{
- QListViewItem* pItem;
+ TQListViewItem* pItem;
- pItem = new QListViewItem(s_pParentStack.top(), *$1);
+ pItem = new TQListViewItem(s_pParentStack.top(), *$1);
s_pParentStack.push(pItem);
delete $1;
}
@@ -208,7 +208,7 @@ tree_node
tree_attributes
: attributes
{
- QListViewItem* pItem;
+ TQListViewItem* pItem;
pItem = s_pParentStack.top();
pItem->setText(1, s_pMapAttr["kscope_file"]);