summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/createscopedlg.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/qmake/createscopedlg.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/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