summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/choosesubprojectdlg.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/choosesubprojectdlg.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/choosesubprojectdlg.cpp')
-rw-r--r--buildtools/qmake/choosesubprojectdlg.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/buildtools/qmake/choosesubprojectdlg.cpp b/buildtools/qmake/choosesubprojectdlg.cpp
index 63da84f8..516e5daa 100644
--- a/buildtools/qmake/choosesubprojectdlg.cpp
+++ b/buildtools/qmake/choosesubprojectdlg.cpp
@@ -15,8 +15,8 @@
#include "choosesubprojectdlg.h"
#include "scope.h"
-ChooseSubprojectDlg::ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* parent, const char* name, bool modal, WFlags fl)
- : ChooseSubprojectDlgBase(parent,name, modal,fl), m_widget(widget)
+ChooseSubprojectDlg::ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+ : ChooseSubprojectDlgBase(tqparent,name, modal,fl), m_widget(widget)
{
connect(subprojects_view, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(itemSelected(TQListViewItem *)));
if( m_widget->m_rootSubproject)
@@ -41,23 +41,23 @@ void ChooseSubprojectDlg::accept()
ChooseItem *item = dynamic_cast<ChooseItem*>(subprojects_view->currentItem());
if (!item)
return;
- if ( item->subproject()->scope->variableValues("TEMPLATE").findIndex("subdirs") != -1 )
+ if ( item->subproject()->scope->variableValues("TEMPLATE").tqfindIndex("subdirs") != -1 )
return;
TQDialog::accept();
}
-ChooseItem::ChooseItem( QMakeScopeItem * spitem, TQListViewItem * parent, TQString text )
- :KListViewItem(parent, text), m_spitem(spitem)
+ChooseItem::ChooseItem( TQMakeScopeItem * spitem, TQListViewItem * tqparent, TQString text )
+ :KListViewItem(tqparent, text), m_spitem(spitem)
{
}
-ChooseItem::ChooseItem( QMakeScopeItem * spitem, TQListView * parent, TQString text )
- :KListViewItem(parent, text), m_spitem(spitem)
+ChooseItem::ChooseItem( TQMakeScopeItem * spitem, TQListView * tqparent, TQString text )
+ :KListViewItem(tqparent, text), m_spitem(spitem)
{
}
-QMakeScopeItem * ChooseItem::subproject( )
+TQMakeScopeItem * ChooseItem::subproject( )
{
return m_spitem;
}
@@ -69,7 +69,7 @@ void ChooseSubprojectDlg::fillSubprojectsView( ChooseItem *item )
TQListViewItem * sub_spitem = item->subproject()->firstChild();
while( sub_spitem ) {
- QMakeScopeItem *spitem = dynamic_cast<QMakeScopeItem *>(sub_spitem);
+ TQMakeScopeItem *spitem = dynamic_cast<TQMakeScopeItem *>(sub_spitem);
if ( spitem && spitem->scope->scopeType() == Scope::ProjectScope )
{
ChooseItem *child_item = new ChooseItem(spitem, item, spitem->text(0));
@@ -89,13 +89,13 @@ void ChooseSubprojectDlg::itemSelected( TQListViewItem * it )
ChooseItem *item = dynamic_cast<ChooseItem*>(it);
if (!item)
return;
- if ( item->subproject()->scope->variableValues("TEMPLATE").findIndex("subdirs") != -1 )
+ if ( item->subproject()->scope->variableValues("TEMPLATE").tqfindIndex("subdirs") != -1 )
buttonOk->setEnabled(false);
else
buttonOk->setEnabled(true);
}
-QMakeScopeItem * ChooseSubprojectDlg::selectedSubproject( )
+TQMakeScopeItem * ChooseSubprojectDlg::selectedSubproject( )
{
if (subprojects_view->currentItem())
{
@@ -110,5 +110,5 @@ QMakeScopeItem * ChooseSubprojectDlg::selectedSubproject( )
#include "choosesubprojectdlg.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