|
|
|
@ -3032,6 +3032,8 @@ KDevicePropsPlugin::KDevicePropsPlugin( KPropertiesDialog *_props ) : KPropsDlgP
|
|
|
|
|
|
|
|
|
|
connect( device, TQT_SIGNAL( textChanged( const TQString & ) ),
|
|
|
|
|
this, TQT_SLOT( slotDeviceChanged() ) );
|
|
|
|
|
|
|
|
|
|
processLockouts();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KDevicePropsPlugin::~KDevicePropsPlugin()
|
|
|
|
@ -3044,6 +3046,18 @@ KDevicePropsPlugin::~KDevicePropsPlugin()
|
|
|
|
|
// return i18n ("De&vice");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
void KDevicePropsPlugin::processLockouts()
|
|
|
|
|
{
|
|
|
|
|
if (device->currentText().stripWhiteSpace() != "")
|
|
|
|
|
{
|
|
|
|
|
properties->enableButtonOK(true);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
properties->enableButtonOK(false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KDevicePropsPlugin::updateInfo()
|
|
|
|
|
{
|
|
|
|
|
// we show it in the slot when we know the values
|
|
|
|
@ -3061,6 +3075,8 @@ void KDevicePropsPlugin::updateInfo()
|
|
|
|
|
|
|
|
|
|
job->readDF( mountpoint->text() );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
processLockouts();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KDevicePropsPlugin::slotActivated( int index )
|
|
|
|
|