1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** If you wish to add, delete or rename functions or slots use
5 ** Qt Designer which will update this file, preserving your code. Create an
6 ** init() function in place of a constructor, and a destroy() function in
7 ** place of a destructor.
8 *****************************************************************************/
11 void OptionsDlgWidget::slotValueChanged()
17 void OptionsDlgWidget::slotBrowseTapeDevice()
20 url
= KFileDialog::getOpenUrl( _tapeDevice
->text() );
24 if( !url
.isLocalFile() )
26 KMessageBox::sorry( 0L, i18n( "Only local files are supported" ) );
29 _tapeDevice
->setText( url
.path() );
34 void OptionsDlgWidget::slotBrowseTarCommand()
37 url
= KFileDialog::getOpenUrl( _tarCommand
->text() );
41 if( !url
.isLocalFile() )
43 KMessageBox::sorry( 0L, i18n( "Only local files are currently supported" ) );
46 _tarCommand
->setText( url
.path() );