summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/projectconfigurationdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/qmake/projectconfigurationdlg.cpp')
-rw-r--r--buildtools/qmake/projectconfigurationdlg.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/buildtools/qmake/projectconfigurationdlg.cpp b/buildtools/qmake/projectconfigurationdlg.cpp
index 771a1f5f..0bb85870 100644
--- a/buildtools/qmake/projectconfigurationdlg.cpp
+++ b/buildtools/qmake/projectconfigurationdlg.cpp
@@ -51,14 +51,14 @@
#include "scope.h"
#include "urlutil.h"
-InsideCheckListItem::InsideCheckListItem( TQListView *tqparent, TQMakeScopeItem *item, ProjectConfigurationDlg *config ) :
+InsideCheckListItem::InsideCheckListItem( TQListView *tqparent, QMakeScopeItem *item, ProjectConfigurationDlg *config ) :
TQCheckListItem( tqparent, item->relativePath().endsWith("/") ? item->relativePath().right( item->relativePath().length() - 1 ) : item->relativePath(), TQCheckListItem::CheckBox )
{
prjItem = item;
m_config = config;
}
-InsideCheckListItem::InsideCheckListItem( TQListView *tqparent, TQListViewItem *after, TQMakeScopeItem *item, ProjectConfigurationDlg *config ) :
+InsideCheckListItem::InsideCheckListItem( TQListView *tqparent, TQListViewItem *after, QMakeScopeItem *item, ProjectConfigurationDlg *config ) :
TQCheckListItem( tqparent,
after,
item->relativePath(), TQCheckListItem::CheckBox )
@@ -123,7 +123,7 @@ ProjectConfigurationDlg::ProjectConfigurationDlg( TQListView *_prjList, TrollPro
m_targetPath->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
}
-void ProjectConfigurationDlg::updateSubproject( TQMakeScopeItem* _item )
+void ProjectConfigurationDlg::updateSubproject( QMakeScopeItem* _item )
{
if ( myProjectItem && myProjectItem->scope )
{
@@ -1023,10 +1023,10 @@ void ProjectConfigurationDlg::updateControls()
groupTemplateChanged(0);
}
-TQPtrList<TQMakeScopeItem> ProjectConfigurationDlg::getAllProjects()
+TQPtrList<QMakeScopeItem> ProjectConfigurationDlg::getAllProjects()
{
- TQPtrList <TQMakeScopeItem> tmpPrjList;
- TQMakeScopeItem *item = static_cast<TQMakeScopeItem*>( prjList->firstChild() );
+ TQPtrList <QMakeScopeItem> tmpPrjList;
+ QMakeScopeItem *item = static_cast<QMakeScopeItem*>( prjList->firstChild() );
while ( item )
{
if ( item->scope->scopeType() == Scope::ProjectScope )
@@ -1035,15 +1035,15 @@ TQPtrList<TQMakeScopeItem> ProjectConfigurationDlg::getAllProjects()
tmpPrjList.append( item );
getAllSubProjects( item, &tmpPrjList );
}
- item = static_cast<TQMakeScopeItem*>( item->nextSibling() );
+ item = static_cast<QMakeScopeItem*>( item->nextSibling() );
}
return ( tmpPrjList );
}
-void ProjectConfigurationDlg::getAllSubProjects( TQMakeScopeItem *item, TQPtrList <TQMakeScopeItem> *itemList )
+void ProjectConfigurationDlg::getAllSubProjects( QMakeScopeItem *item, TQPtrList <QMakeScopeItem> *itemList )
{
- TQMakeScopeItem * subItem = static_cast<TQMakeScopeItem*>( item->firstChild() );
+ QMakeScopeItem * subItem = static_cast<QMakeScopeItem*>( item->firstChild() );
while ( subItem )
{
if ( subItem->scope->scopeType() == Scope::ProjectScope )
@@ -1052,7 +1052,7 @@ void ProjectConfigurationDlg::getAllSubProjects( TQMakeScopeItem *item, TQPtrLis
itemList->append( subItem );
getAllSubProjects( subItem, itemList );
}
- subItem = static_cast<TQMakeScopeItem*>( subItem->nextSibling() );
+ subItem = static_cast<QMakeScopeItem*>( subItem->nextSibling() );
}
}
@@ -1066,8 +1066,8 @@ void ProjectConfigurationDlg::updateIncludeControl()
TQStringList incList = myProjectItem->scope->variableValues( "INCLUDEPATH" );
TQStringList intIncList = incList;
TQMap<TQString, InsideCheckListItem*> items;
- TQPtrList <TQMakeScopeItem> itemList = getAllProjects();
- TQMakeScopeItem *item = itemList.first();
+ TQPtrList <QMakeScopeItem> itemList = getAllProjects();
+ QMakeScopeItem *item = itemList.first();
while ( item )
{
if ( item->scope->variableValues( "TEMPLATE" ).tqfindIndex( "lib" ) != -1 ||
@@ -1112,7 +1112,7 @@ void ProjectConfigurationDlg::updateIncludeControl()
void ProjectConfigurationDlg::updateLibControls()
{
- TQPtrList <TQMakeScopeItem> itemList = getAllProjects();
+ TQPtrList <QMakeScopeItem> itemList = getAllProjects();
insidelib_listview->setSorting( -1, false );
outsidelib_listview->setSorting( -1, false );
@@ -1125,7 +1125,7 @@ void ProjectConfigurationDlg::updateLibControls()
TQStringList libList = myProjectItem->scope->variableValues( "LIBS" );
TQStringList intLibList = libList;
TQMap<TQString, InsideCheckListItem*> items;
- TQMakeScopeItem* item = itemList.first();
+ QMakeScopeItem* item = itemList.first();
while ( item )
{
if ( item->scope->variableValues( "TEMPLATE" ).tqfindIndex( "lib" ) != -1 )
@@ -1185,7 +1185,7 @@ void ProjectConfigurationDlg::updateLibControls()
void ProjectConfigurationDlg::updateDependenciesControl( )
{
- TQPtrList <TQMakeScopeItem> itemList = getAllProjects();
+ TQPtrList <QMakeScopeItem> itemList = getAllProjects();
intDeps_view->setSorting( -1, false );
extDeps_view->setSorting( -1, false );
@@ -1195,7 +1195,7 @@ void ProjectConfigurationDlg::updateDependenciesControl( )
TQStringList depsList = myProjectItem->scope->variableValues( "TARGETDEPS" );
TQStringList intDepList = depsList;
TQMap<TQString,InsideCheckListItem*> items;
- TQMakeScopeItem *item = itemList.first();
+ QMakeScopeItem *item = itemList.first();
while ( item )
{
TQStringList templateval = item->scope->variableValues( "TEMPLATE" );
@@ -1251,13 +1251,13 @@ void ProjectConfigurationDlg::updateBuildOrderControl()
if ( myProjectItem->scope->variableValues( "TEMPLATE" ).tqfindIndex( "subdirs" ) != -1 )
{
- TQPtrList <TQMakeScopeItem> itemList;
+ TQPtrList <QMakeScopeItem> itemList;
- TQMakeScopeItem *item = static_cast<TQMakeScopeItem*>( myProjectItem->firstChild() );
+ QMakeScopeItem *item = static_cast<QMakeScopeItem*>( myProjectItem->firstChild() );
while ( item )
{
itemList.append( item );
- item = static_cast<TQMakeScopeItem*>( item->nextSibling() );
+ item = static_cast<QMakeScopeItem*>( item->nextSibling() );
}
incaddTab->setEnabled( false );
@@ -2036,7 +2036,7 @@ void ProjectConfigurationDlg::removeSharedLibDeps()
TQListViewItemIterator it(myProjectItem->listView());
for( ; it.current() ; ++it )
{
- TQMakeScopeItem* prjItem = static_cast<TQMakeScopeItem*>( it.current() );
+ QMakeScopeItem* prjItem = static_cast<QMakeScopeItem*>( it.current() );
if( prjItem == myProjectItem || !prjItem->isEnabled() )
continue;
@@ -2060,7 +2060,7 @@ void ProjectConfigurationDlg::addStaticLibDeps()
TQListViewItemIterator it(myProjectItem->listView());
for( ; it.current() ; ++it )
{
- TQMakeScopeItem* prjItem = static_cast<TQMakeScopeItem*>( it.current() );
+ QMakeScopeItem* prjItem = static_cast<QMakeScopeItem*>( it.current() );
if( prjItem == myProjectItem || !prjItem->isEnabled() )
continue;
@@ -2081,7 +2081,7 @@ void ProjectConfigurationDlg::removeStaticLibDeps()
TQListViewItemIterator it(myProjectItem->listView());
for( ; it.current() ; ++it )
{
- TQMakeScopeItem* prjItem = static_cast<TQMakeScopeItem*>( it.current() );
+ QMakeScopeItem* prjItem = static_cast<QMakeScopeItem*>( it.current() );
if( prjItem == myProjectItem || !prjItem->isEnabled() )
continue;
@@ -2103,7 +2103,7 @@ void ProjectConfigurationDlg::addSharedLibDeps()
TQListViewItemIterator it(myProjectItem->listView());
for( ; it.current() ; ++it )
{
- TQMakeScopeItem* prjItem = static_cast<TQMakeScopeItem*>( it.current() );
+ QMakeScopeItem* prjItem = static_cast<QMakeScopeItem*>( it.current() );
if( prjItem == myProjectItem || !prjItem->isEnabled() )
continue;
@@ -2124,7 +2124,7 @@ void ProjectConfigurationDlg::removeAppDeps()
TQListViewItemIterator it(myProjectItem->listView());
for( ; it.current() ; ++it )
{
- TQMakeScopeItem* prjItem = static_cast<TQMakeScopeItem*>( it.current() );
+ QMakeScopeItem* prjItem = static_cast<QMakeScopeItem*>( it.current() );
if( prjItem == myProjectItem || !prjItem->isEnabled() )
continue;
@@ -2143,7 +2143,7 @@ void ProjectConfigurationDlg::addAppDeps()
TQListViewItemIterator it(myProjectItem->listView());
for( ; it.current() ; ++it )
{
- TQMakeScopeItem* prjItem = static_cast<TQMakeScopeItem*>( it.current() );
+ QMakeScopeItem* prjItem = static_cast<QMakeScopeItem*>( it.current() );
if( prjItem == myProjectItem || !prjItem->isEnabled() )
continue;