From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- buildtools/autotools/removetargetdlg.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'buildtools/autotools/removetargetdlg.cpp') diff --git a/buildtools/autotools/removetargetdlg.cpp b/buildtools/autotools/removetargetdlg.cpp index 5783900c..962a386c 100644 --- a/buildtools/autotools/removetargetdlg.cpp +++ b/buildtools/autotools/removetargetdlg.cpp @@ -42,8 +42,8 @@ RemoveTargetDialog::RemoveTargetDialog( AutoProjectWidget *widget, AutoProjectPart* part, SubprojectItem *spitem, - TargetItem *titem, TQWidget* parent, const char* name ) - : RemoveTargetDlgBase ( parent, name, true, 0 ) + TargetItem *titem, TQWidget* tqparent, const char* name ) + : RemoveTargetDlgBase ( tqparent, name, true, 0 ) { removeLabel->setText ( i18n ( "Do you really want to remove %1
with all files that are attached to it
and all dependencies?" ).arg ( titem->name ) ); directoryLabel->setText ( spitem->path ); @@ -96,8 +96,8 @@ void RemoveTargetDialog::init() { TQString canonname = AutoProjectTool::canonicalize ( titem->name ); - if ( spitem->variables[canonname + "_LIBADD"].contains ( m_titem->name ) > 0 || - spitem->variables[canonname + "_LDADD"].contains ( m_titem->name ) > 0 ) + if ( spitem->variables[canonname + "_LIBADD"].tqcontains ( m_titem->name ) > 0 || + spitem->variables[canonname + "_LDADD"].tqcontains ( m_titem->name ) > 0 ) { dependencyListBox->insertItem ( SmallIcon ( "target_kdevelop" ), spitem->path + " (" + titem->name + ")" ); @@ -116,7 +116,7 @@ void RemoveTargetDialog::accept () progressBar->show(); progressBar->setFormat ( i18n ( "Removing Target... %p%" ) ); - qApp->processEvents(); + tqApp->processEvents(); TQString canonname = AutoProjectTool::canonicalize ( m_titem->name ); TQString varname = m_titem->prefix + "_" + m_titem->primary; @@ -136,7 +136,7 @@ void RemoveTargetDialog::accept () TQString curCanonname = AutoProjectTool::canonicalize ( titem->name ); TQStringList dependencies; - if ( spitem->variables[curCanonname + "_LIBADD"].contains ( m_titem->name ) ) + if ( spitem->variables[curCanonname + "_LIBADD"].tqcontains ( m_titem->name ) ) curVarname = curCanonname + "_LIBADD"; else curVarname = curCanonname + "_LDADD"; @@ -148,7 +148,7 @@ void RemoveTargetDialog::accept () for ( uint i = 0; i < dependencies.size(); ++i ) { TQString s = dependencies[i]; - if ( s.contains ( m_titem->name ) > 0 ) + if ( s.tqcontains ( m_titem->name ) > 0 ) dependencies.remove ( s ); } @@ -250,7 +250,7 @@ void RemoveTargetDialog::accept () // before removing the files, check if they are mentioned in "noinst_HEADERS = blabla1.h blabla2.h" TQStringList noInstHeaders = TQStringList::split ( TQRegExp ( "[ \t\n]" ), m_spitem->variables["noinst_HEADERS"] ); - if ( noInstHeaders.contains ( fitem->name ) ) + if ( noInstHeaders.tqcontains ( fitem->name ) ) { noInstHeaders.remove ( fitem->name ); @@ -265,7 +265,7 @@ void RemoveTargetDialog::accept () fileList.append ( m_spitem->path.mid ( m_part->projectDirectory().length() + 1 ) + "/" + fitem->name ); - qApp->processEvents(); + tqApp->processEvents(); progressBar->setValue ( progressBar->value() + 1 ); } -- cgit v1.2.1