diff options
Diffstat (limited to 'buildtools/autotools/autolistviewitems.cpp')
-rw-r--r-- | buildtools/autotools/autolistviewitems.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/buildtools/autotools/autolistviewitems.cpp b/buildtools/autotools/autolistviewitems.cpp index 865e82d0..3fb0bffd 100644 --- a/buildtools/autotools/autolistviewitems.cpp +++ b/buildtools/autotools/autolistviewitems.cpp @@ -27,22 +27,22 @@ * Class ProjectItem */ -ProjectItem::ProjectItem( Type type, TQListView *parent, const TQString &text ) - : TQListViewItem( parent, text ), typ( type ) +ProjectItem::ProjectItem( Type type, TQListView *tqparent, const TQString &text ) + : TQListViewItem( tqparent, text ), typ( type ) { bld = false; } -ProjectItem::ProjectItem( Type type, ProjectItem *parent, const TQString &text ) - : TQListViewItem( parent, text ), typ( type ) +ProjectItem::ProjectItem( Type type, ProjectItem *tqparent, const TQString &text ) + : TQListViewItem( tqparent, text ), typ( type ) { bld = false; } void ProjectItem::paintCell( TQPainter *p, const TQColorGroup &cg, - int column, int width, int alignment ) + int column, int width, int tqalignment ) { if ( isBold() ) { @@ -50,7 +50,7 @@ void ProjectItem::paintCell( TQPainter *p, const TQColorGroup &cg, font.setBold( true ); p->setFont( font ); } - TQListViewItem::paintCell( p, cg, column, width, alignment ); + TQListViewItem::paintCell( p, cg, column, width, tqalignment ); } @@ -58,15 +58,15 @@ void ProjectItem::paintCell( TQPainter *p, const TQColorGroup &cg, * Class SubprojectItem */ -SubprojectItem::SubprojectItem( TQListView *parent, const TQString &text ) - : ProjectItem( Subproject, parent, text ) +SubprojectItem::SubprojectItem( TQListView *tqparent, const TQString &text ) + : ProjectItem( Subproject, tqparent, text ) { init(); } -SubprojectItem::SubprojectItem( SubprojectItem *parent, const TQString &text ) - : ProjectItem( Subproject, parent, text ) +SubprojectItem::SubprojectItem( SubprojectItem *tqparent, const TQString &text ) + : ProjectItem( Subproject, tqparent, text ) { init(); } @@ -84,7 +84,7 @@ TQString SubprojectItem::relativePath() TQString relpath = subdir; SubprojectItem *it = this; - while ( (it= dynamic_cast<SubprojectItem*>(it->parent())) ) + while ( (it= dynamic_cast<SubprojectItem*>(it->tqparent())) ) { relpath.prepend(it->subdir + "/"); } @@ -130,7 +130,7 @@ if(!is_subst) return; bool ok; - TQString text = QInputDialog::getText( + TQString text = TQInputDialog::getText( i18n("Edit Substitution"), i18n("Substitution:"), TQLineEdit::Normal, name, &ok ); if ( ok && !text.isEmpty() ) @@ -152,7 +152,7 @@ return; void FileItem::changeMakefileEntry(const TQString& new_name) { - TargetItem* target = dynamic_cast<TargetItem*>(parent()); + TargetItem* target = dynamic_cast<TargetItem*>(tqparent()); TQMap<TQString,TQString> replaceMap; @@ -167,7 +167,7 @@ void FileItem::changeMakefileEntry(const TQString& new_name) if ( SubprojectItem* subProject = lv->m_part->m_widget->selectedSubproject() ) { TQStringList sources = TQStringList::split(TQRegExp("[ \t\n]"), subProject->variables[varname]); - TQStringList::iterator it = sources.find(name); + TQStringList::iterator it = sources.tqfind(name); (*it) = new_name; subProject->variables[varname] = sources.join(" "); replaceMap.insert(varname, subProject->variables[varname]); |