|
|
|
@ -109,8 +109,8 @@ ProjectConfigurationDlg::ProjectConfigurationDlg( TQListView *_prjList, TrollPro
|
|
|
|
|
TQRegExp( "\\d+(\\.\\d+)?(\\.\\d+)" ), TQT_TQOBJECT(this) ) );
|
|
|
|
|
customVariables->setSortColumn(0);
|
|
|
|
|
customVariables->setSortOrder(TQt::Ascending);
|
|
|
|
|
tqmocdir_url->completionObject()->setMode(KURLCompletion::DirCompletion);
|
|
|
|
|
tqmocdir_url->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
|
|
|
|
|
mocdir_url->completionObject()->setMode(KURLCompletion::DirCompletion);
|
|
|
|
|
mocdir_url->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
|
|
|
|
|
objdir_url->completionObject()->setMode(KURLCompletion::DirCompletion);
|
|
|
|
|
objdir_url->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
|
|
|
|
|
rccdir_url->completionObject()->setMode(KURLCompletion::DirCompletion);
|
|
|
|
@ -603,7 +603,7 @@ void ProjectConfigurationDlg::updateProjectConfiguration()
|
|
|
|
|
// intermediate locations
|
|
|
|
|
myProjectItem->scope->setEqualOp( "OBJECTS_DIR", TQStringList( objdir_url->url() ) );
|
|
|
|
|
myProjectItem->scope->setEqualOp( "UI_DIR", TQStringList( uidir_url->url() ) );
|
|
|
|
|
myProjectItem->scope->setEqualOp( "QMOC_DIR", TQStringList( tqmocdir_url->url() ) );
|
|
|
|
|
myProjectItem->scope->setEqualOp( "QMOC_DIR", TQStringList( mocdir_url->url() ) );
|
|
|
|
|
myProjectItem->scope->setEqualOp( "RCC_DIR", TQStringList( rccdir_url->url() ) );
|
|
|
|
|
|
|
|
|
|
//CORBA
|
|
|
|
@ -974,14 +974,14 @@ void ProjectConfigurationDlg::updateControls()
|
|
|
|
|
dir = myProjectItem->scope->variableValues( "QMOC_DIR" ).front();
|
|
|
|
|
if( TQFileInfo(dir).isRelative() )
|
|
|
|
|
{
|
|
|
|
|
tqmocdir_url->completionObject()->setDir( myProjectItem->scope->projectDir() );
|
|
|
|
|
tqmocdir_url->fileDialog()->setURL( KURL( myProjectItem->scope->projectDir()+"/"+dir ) );
|
|
|
|
|
mocdir_url->completionObject()->setDir( myProjectItem->scope->projectDir() );
|
|
|
|
|
mocdir_url->fileDialog()->setURL( KURL( myProjectItem->scope->projectDir()+"/"+dir ) );
|
|
|
|
|
}else
|
|
|
|
|
{
|
|
|
|
|
tqmocdir_url->completionObject()->setDir( dir );
|
|
|
|
|
tqmocdir_url->fileDialog()->setURL( KURL( dir ) );
|
|
|
|
|
mocdir_url->completionObject()->setDir( dir );
|
|
|
|
|
mocdir_url->fileDialog()->setURL( KURL( dir ) );
|
|
|
|
|
}
|
|
|
|
|
tqmocdir_url->setURL( dir );
|
|
|
|
|
mocdir_url->setURL( dir );
|
|
|
|
|
dir = myProjectItem->scope->variableValues( "RC_DIR" ).front();
|
|
|
|
|
if( TQFileInfo(dir).isRelative() )
|
|
|
|
|
{
|
|
|
|
|