diff options
Diffstat (limited to 'buildtools/autotools/autolistviewitems.cpp')
-rw-r--r-- | buildtools/autotools/autolistviewitems.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/buildtools/autotools/autolistviewitems.cpp b/buildtools/autotools/autolistviewitems.cpp index 6e96bd4f..f9860490 100644 --- a/buildtools/autotools/autolistviewitems.cpp +++ b/buildtools/autotools/autolistviewitems.cpp @@ -27,15 +27,15 @@ * Class ProjectItem */ -ProjectItem::ProjectItem( Type type, TQListView *tqparent, const TQString &text ) - : TQListViewItem( tqparent, text ), typ( type ) +ProjectItem::ProjectItem( Type type, TQListView *parent, const TQString &text ) + : TQListViewItem( parent, text ), typ( type ) { bld = false; } -ProjectItem::ProjectItem( Type type, ProjectItem *tqparent, const TQString &text ) - : TQListViewItem( tqparent, text ), typ( type ) +ProjectItem::ProjectItem( Type type, ProjectItem *parent, const TQString &text ) + : TQListViewItem( parent, text ), typ( type ) { bld = false; } @@ -58,15 +58,15 @@ void ProjectItem::paintCell( TQPainter *p, const TQColorGroup &cg, * Class SubprojectItem */ -SubprojectItem::SubprojectItem( TQListView *tqparent, const TQString &text ) - : ProjectItem( Subproject, tqparent, text ) +SubprojectItem::SubprojectItem( TQListView *parent, const TQString &text ) + : ProjectItem( Subproject, parent, text ) { init(); } -SubprojectItem::SubprojectItem( SubprojectItem *tqparent, const TQString &text ) - : ProjectItem( Subproject, tqparent, text ) +SubprojectItem::SubprojectItem( SubprojectItem *parent, const TQString &text ) + : ProjectItem( Subproject, parent, text ) { init(); } @@ -84,7 +84,7 @@ TQString SubprojectItem::relativePath() TQString relpath = subdir; SubprojectItem *it = this; - while ( (it= dynamic_cast<SubprojectItem*>(it->tqparent())) ) + while ( (it= dynamic_cast<SubprojectItem*>(it->parent())) ) { relpath.prepend(it->subdir + "/"); } @@ -152,7 +152,7 @@ return; void FileItem::changeMakefileEntry(const TQString& new_name) { - TargetItem* target = dynamic_cast<TargetItem*>(tqparent()); + TargetItem* target = dynamic_cast<TargetItem*>(parent()); TQMap<TQString,TQString> replaceMap; |