summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/removetargetdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/autotools/removetargetdlg.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
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
Diffstat (limited to 'buildtools/autotools/removetargetdlg.cpp')
-rw-r--r--buildtools/autotools/removetargetdlg.cpp18
1 files changed, 9 insertions, 9 deletions
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 <b>%1</b><br>with <b>all files</b> that are attached to it<br>and <b>all dependencies</b>?" ).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 );
}