summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/createscopedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/qmake/createscopedlg.cpp')
-rw-r--r--buildtools/qmake/createscopedlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/buildtools/qmake/createscopedlg.cpp b/buildtools/qmake/createscopedlg.cpp
index 4f65dd17..a9234b58 100644
--- a/buildtools/qmake/createscopedlg.cpp
+++ b/buildtools/qmake/createscopedlg.cpp
@@ -26,8 +26,8 @@
#include "scope.h"
#include "trollprojectwidget.h"
-CreateScopeDlg::CreateScopeDlg( QMakeScopeItem* item, TQWidget* parent, const char* name, bool modal, WFlags fl )
- : CreateScopeDlgBase( parent, name, modal, fl ), m_item( item )
+CreateScopeDlg::CreateScopeDlg( TQMakeScopeItem* item, TQWidget* tqparent, const char* name, bool modal, WFlags fl )
+ : CreateScopeDlgBase( tqparent, name, modal, fl ), m_item( item )
{
incUrl->setMode( KFile::File | KFile::LocalOnly );
incUrl->setCaption( i18n( "Choose existing .pri file or give a new filename for creation" ) );
@@ -58,7 +58,7 @@ void CreateScopeDlg::accept()
TQString file = incUrl->url();
if ( !incUrl->url().endsWith( ".pri" ) )
file += ".pri";
- if( file.find("/") == -1 )
+ if( file.tqfind("/") == -1 )
file = m_item->scope->projectDir()+"/"+file;
// We need to create the file, because getRelativePath checks for existent paths
if( !TQFile::exists(file) )
@@ -75,13 +75,13 @@ void CreateScopeDlg::accept()
if ( s )
{
if ( !m_item->firstChild() )
- new QMakeScopeItem( m_item, s->scopeName(), s );
+ new TQMakeScopeItem( m_item, s->scopeName(), s );
else
{
TQListViewItem* item = m_item->firstChild();
while( item->nextSibling() )
item = item->nextSibling();
- QMakeScopeItem* newitem = new QMakeScopeItem( m_item, s->scopeName(), s );
+ TQMakeScopeItem* newitem = new TQMakeScopeItem( m_item, s->scopeName(), s );
newitem->moveItem( item );
}
TQDialog::accept();
@@ -97,4 +97,4 @@ void CreateScopeDlg::accept()
#include "createscopedlg.moc"
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
+// kate: space-indent on; indent-width 4; tab-width 4; tqreplace-tabs on