@ -334,6 +334,10 @@ void KFileDialog::slotOk()
{
{
kdDebug ( tdefile_area ) < < " slotOK \n " ;
kdDebug ( tdefile_area ) < < " slotOK \n " ;
if ( locationEdit - > lineEdit ( ) - > edited ( ) )
{
enterURL ( d - > pathCombo - > lineEdit ( ) - > text ( ) ) ;
}
// a list of all selected files/directories (if any)
// a list of all selected files/directories (if any)
// can only be used if the user didn't type any filenames/urls himself
// can only be used if the user didn't type any filenames/urls himself
const KFileItemList * items = ops - > selectedItems ( ) ;
const KFileItemList * items = ops - > selectedItems ( ) ;
@ -981,10 +985,12 @@ void KFileDialog::init(const TQString& startDir, const TQString& filter, TQWidge
d - > pathCombo - > setCompletionObject ( pathCompletionObj ) ;
d - > pathCombo - > setCompletionObject ( pathCompletionObj ) ;
d - > pathCombo - > setAutoDeleteCompletionObject ( true ) ;
d - > pathCombo - > setAutoDeleteCompletionObject ( true ) ;
connect ( d - > pathCombo , TQT_SIGNAL ( urlActivated ( const KURL & ) ) ,
connect ( d - > pathCombo , TQT_SIGNAL ( urlActivated ( const KURL & ) ) ,
this , TQT_SLOT ( enterURL ( const KURL & ) ) ) ;
this , TQT_SLOT ( enterURL ( const KURL & ) ) ) ;
connect ( d - > pathCombo , TQT_SIGNAL ( returnPressed ( const TQString & ) ) ,
connect ( d - > pathCombo , TQT_SIGNAL ( returnPressed ( const TQString & ) ) ,
this , TQT_SLOT ( enterURL ( const TQString & ) ) ) ;
this , TQT_SLOT ( enterURL ( const TQString & ) ) ) ;
connect ( d - > pathCombo , TQT_SIGNAL ( activated ( const TQString & ) ) ,
this , TQT_SLOT ( enterURL ( const TQString & ) ) ) ;
TQString whatsThisText ;
TQString whatsThisText ;