diff options
Diffstat (limited to 'buildtools/lib/parsers/autotools/tests/viewer.cpp')
-rw-r--r-- | buildtools/lib/parsers/autotools/tests/viewer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/buildtools/lib/parsers/autotools/tests/viewer.cpp b/buildtools/lib/parsers/autotools/tests/viewer.cpp index 66401c2c..293c5817 100644 --- a/buildtools/lib/parsers/autotools/tests/viewer.cpp +++ b/buildtools/lib/parsers/autotools/tests/viewer.cpp @@ -46,7 +46,7 @@ Viewer::Viewer(TQWidget *tqparent, const char *name) files->insertItem(str.readLine()); } ast->setSorting(-1); - tqparentProject.push((TQListViewItem*)0); + parentProject.push((TQListViewItem*)0); } void Viewer::addAll_clicked() @@ -99,12 +99,12 @@ void Viewer::tabWidget2_selected(const TQString& text) void Viewer::processAST(ProjectAST *projectAST, TQListViewItem *globAfter) { TQListViewItem *projectIt; - if (!tqparentProject.top()) + if (!parentProject.top()) projectIt = new TQListViewItem(ast, "Project"); else { if ( projectAST->isConditionalScope() || projectAST->isRule() ) - projectIt = new TQListViewItem(tqparentProject.top(), globAfter, projectAST->scopedID); + projectIt = new TQListViewItem(parentProject.top(), globAfter, projectAST->scopedID); } projectIt->setOpen(true); @@ -150,9 +150,9 @@ void Viewer::processAST(ProjectAST *projectAST, TQListViewItem *globAfter) } case AST::ProjectAST: { ProjectAST *projectAST = static_cast<ProjectAST*>(ast); - tqparentProject.push(projectIt); + parentProject.push(projectIt); processAST(projectAST, after); - tqparentProject.pop(); } + parentProject.pop(); } break; } } |