diff options
Diffstat (limited to 'buildtools/lib/parsers/autotools/tests/viewer.cpp')
-rw-r--r-- | buildtools/lib/parsers/autotools/tests/viewer.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/buildtools/lib/parsers/autotools/tests/viewer.cpp b/buildtools/lib/parsers/autotools/tests/viewer.cpp index 0dc8e733..66401c2c 100644 --- a/buildtools/lib/parsers/autotools/tests/viewer.cpp +++ b/buildtools/lib/parsers/autotools/tests/viewer.cpp @@ -34,8 +34,8 @@ using namespace AutoTools; -Viewer::Viewer(TQWidget *parent, const char *name) - :ViewerBase(parent, name) +Viewer::Viewer(TQWidget *tqparent, const char *name) + :ViewerBase(tqparent, name) { if (TQFile::exists(TQDir::currentDirPath() + "/" + "qtlist")) { @@ -46,7 +46,7 @@ Viewer::Viewer(TQWidget *parent, const char *name) files->insertItem(str.readLine()); } ast->setSorting(-1); - parentProject.push((TQListViewItem*)0); + tqparentProject.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 (!parentProject.top()) + if (!tqparentProject.top()) projectIt = new TQListViewItem(ast, "Project"); else { if ( projectAST->isConditionalScope() || projectAST->isRule() ) - projectIt = new TQListViewItem(parentProject.top(), globAfter, projectAST->scopedID); + projectIt = new TQListViewItem(tqparentProject.top(), globAfter, projectAST->scopedID); } projectIt->setOpen(true); @@ -128,7 +128,7 @@ void Viewer::processAST(ProjectAST *projectAST, TQListViewItem *globAfter) { AutomakeTargetAST* ata = static_cast<AutomakeTargetAST*>(ast); TQListViewItem* item = new TQListViewItem(projectIt, after, - ata->target, TQString::null, ata->deps.join("")); + ata->target, TQString(), ata->deps.join("")); after = item; } break; @@ -145,14 +145,14 @@ void Viewer::processAST(ProjectAST *projectAST, TQListViewItem *globAfter) { ConditionAST* ata = static_cast<ConditionAST*>(ast); TQListViewItem* item = new TQListViewItem(projectIt, after, - ata->type, ata->conditionName, TQString::null ); + ata->type, ata->conditionName, TQString() ); after = item; } case AST::ProjectAST: { ProjectAST *projectAST = static_cast<ProjectAST*>(ast); - parentProject.push(projectIt); + tqparentProject.push(projectIt); processAST(projectAST, after); - parentProject.pop(); } + tqparentProject.pop(); } break; } } |