|
|
|
@ -206,7 +206,7 @@ void CByteWidget::stepCell( const TQObject *obj, bool next )
|
|
|
|
|
{
|
|
|
|
|
for( uint i=0; i<8; i++ )
|
|
|
|
|
{
|
|
|
|
|
if( TQT_BASE_OBJECT_CONST(obj) == TQT_BASE_OBJECT_CONST(mDigit[i]) )
|
|
|
|
|
if( obj == mDigit[i] )
|
|
|
|
|
{
|
|
|
|
|
if( next == true )
|
|
|
|
|
{
|
|
|
|
@ -228,7 +228,7 @@ void CByteWidget::valueChanged( const TQObject *obj, uint val, bool after )
|
|
|
|
|
{
|
|
|
|
|
for( uint i=0; i<8; i++ )
|
|
|
|
|
{
|
|
|
|
|
if( TQT_BASE_OBJECT_CONST(obj) == TQT_BASE_OBJECT_CONST(mDigit[i]) )
|
|
|
|
|
if( obj == mDigit[i] )
|
|
|
|
|
{
|
|
|
|
|
uint tmp = 7-mDigit[i]->value();
|
|
|
|
|
mDigit[tmp]->setValue( mDigit[i]->value(), false );
|
|
|
|
@ -282,7 +282,7 @@ void CByteWidget::setBuddy( const TQObject *obj )
|
|
|
|
|
{
|
|
|
|
|
for( uint i=0; i<8; i++ )
|
|
|
|
|
{
|
|
|
|
|
if( TQT_BASE_OBJECT_CONST(obj) == TQT_BASE_OBJECT_CONST(mDigit[i]) )
|
|
|
|
|
if( obj == mDigit[i] )
|
|
|
|
|
{
|
|
|
|
|
uint val = mDigit[i]->value();
|
|
|
|
|
if( val < 8 )
|
|
|
|
|