Lines Matching refs:Sane
44 SaneDlg::SaneDlg( Window* pParent, Sane& rSane ) : in SaneDlg()
84 if( Sane::IsSane() ) in SaneDlg()
133 if( ! Sane::IsSane() ) in Execute()
146 if( ! Sane::IsSane() ) in InitDevices()
153 for( int i = 0; i < Sane::CountDevices(); i++ ) in InitDevices()
154 maDeviceBox.InsertEntry( Sane::GetName( i ) ); in InitDevices()
155 if( Sane::CountDevices() ) in InitDevices()
158 maDeviceBox.SelectEntry( Sane::GetName( 0 ) ); in InitDevices()
165 if( ! Sane::IsSane() ) in InitFields()
416 aString.SearchAndReplace( aSR, Sane::GetName( mrSane.GetDeviceNumber() ) ); in IMPL_LINK()
417 aString.SearchAndReplace( aSR, Sane::GetVendor( mrSane.GetDeviceNumber() ) ); in IMPL_LINK()
418 aString.SearchAndReplace( aSR, Sane::GetModel( mrSane.GetDeviceNumber() ) ); in IMPL_LINK()
419 aString.SearchAndReplace( aSR, Sane::GetType( mrSane.GetDeviceNumber() ) ); in IMPL_LINK()
491 if( pListBox == &maDeviceBox && Sane::IsSane() && Sane::CountDevices() ) in IMPL_LINK()
495 if( aNewDevice.Equals( Sane::GetName( nNumber = mrSane.GetDeviceNumber() ) ) ) in IMPL_LINK()
520 if( pBox == &maOptionBox && Sane::IsSane() ) in IMPL_LINK()
683 IMPL_LINK( SaneDlg, ReloadSaneOptionsHdl, Sane*, /*pSane*/ )
1168 if( ! Sane::IsSane() ) in LoadState()
1180 …for( i = 0; i < Sane::CountDevices() && ! aString.Equals( ByteString( Sane::GetName( i ), osl_getT… in LoadState()
1181 if( i == Sane::CountDevices() ) in LoadState()
1239 if( ! Sane::IsSane() ) in SaveState()
1380 …if( ! Sane::IsSane() || ! mrSane.IsOpen() || ( nOption = mrSane.GetOptionByName( pOption ) ) == -1… in SetAdjustedNumericalValue()