|
|
|
@ -42,13 +42,13 @@ SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl )
|
|
|
|
|
: SettingsDialogBase( parent, name, fl )
|
|
|
|
|
{
|
|
|
|
|
KApplication::kApplication()->dirs()->addResourceType("include","include");
|
|
|
|
|
TQStringList kdedirs=KApplication::kApplication()->dirs()->findDirs("include","");
|
|
|
|
|
for( TQStringList::Iterator it=kdedirs.begin(); it!=kdedirs.end(); ++it )
|
|
|
|
|
TQStringList tdedirs=KApplication::kApplication()->dirs()->findDirs("include","");
|
|
|
|
|
for( TQStringList::Iterator it=tdedirs.begin(); it!=tdedirs.end(); ++it )
|
|
|
|
|
{
|
|
|
|
|
TQString kdedir = *it;
|
|
|
|
|
if ( !kdedir.isEmpty() && isValidKDELibsDir( kdedir ) )
|
|
|
|
|
if ( !kdeListBox->findItem( kdedir, ExactMatch ) )
|
|
|
|
|
kdeListBox->insertItem( kdedir );
|
|
|
|
|
TQString tdedir = *it;
|
|
|
|
|
if ( !tdedir.isEmpty() && isValidKDELibsDir( tdedir ) )
|
|
|
|
|
if ( !kdeListBox->findItem( tdedir, ExactMatch ) )
|
|
|
|
|
kdeListBox->insertItem( tdedir );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kdeUrl->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
|
|
|
|
|