summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/removetargetdlg.cpp
diff options
context:
space:
mode:
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 );
}