SVN_SILENT made messages (.desktop file)
[kdeadmin.git] / kdat / OptionsDlgWidget.ui.h
blob7a8d68eb9f02a03ee17020ee42283a9aa6a7f06b
1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
3 **
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()
13 emit valueChanged ();
17 void OptionsDlgWidget::slotBrowseTapeDevice()
19 KUrl url;
20 url = KFileDialog::getOpenUrl( _tapeDevice->text() );
22 if ( !url.isEmpty() )
24 if( !url.isLocalFile() )
26 KMessageBox::sorry( 0L, i18n( "Only local files are supported" ) );
27 return;
29 _tapeDevice->setText( url.path() );
34 void OptionsDlgWidget::slotBrowseTarCommand()
36 KUrl url;
37 url = KFileDialog::getOpenUrl( _tarCommand->text() );
39 if ( !url.isEmpty() )
41 if( !url.isLocalFile() )
43 KMessageBox::sorry( 0L, i18n( "Only local files are currently supported" ) );
44 return;
46 _tarCommand->setText( url.path() );