diff options
Diffstat (limited to 'kitchensync/src/connectionwidgets.cpp')
-rw-r--r-- | kitchensync/src/connectionwidgets.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kitchensync/src/connectionwidgets.cpp b/kitchensync/src/connectionwidgets.cpp index ac5277fb7..bb25c271d 100644 --- a/kitchensync/src/connectionwidgets.cpp +++ b/kitchensync/src/connectionwidgets.cpp @@ -43,24 +43,24 @@ BluetoothWidget::BluetoothWidget( TQWidget *parent ) : TQWidget( parent ) { - TQGridLayout *layout = new TQGridLayout( this ); + TQGridLayout *tqlayout = new TQGridLayout( this ); mAddress = new KLineEdit( this ); mAddress->setInputMask( ">NN:NN:NN:NN:NN:NN;" ); - layout->addWidget( mAddress, 1, 0 ); + tqlayout->addWidget( mAddress, 1, 0 ); TQLabel *label = new TQLabel( i18n( "Bluetooth address:" ), this ); label->setBuddy( mAddress ); - layout->addWidget( label, 0, 0 ); + tqlayout->addWidget( label, 0, 0 ); mChannel = new KLineEdit( this ); - layout->addWidget( mChannel, 1, 1 ); + tqlayout->addWidget( mChannel, 1, 1 ); mChannelLabel = new TQLabel( i18n( "Channel:" ), this ); mChannelLabel->setBuddy( mChannel ); - layout->addWidget( mChannelLabel, 0, 1 ); + tqlayout->addWidget( mChannelLabel, 0, 1 ); - layout->setRowStretch( 2, 1 ); + tqlayout->setRowStretch( 2, 1 ); } void BluetoothWidget::hideChannel() @@ -103,23 +103,23 @@ TQString BluetoothWidget::channel() const IRWidget::IRWidget( TQWidget *parent ) : TQWidget( parent ) { - TQGridLayout *layout = new TQGridLayout( this, 3, 3, 11, 3 ); + TQGridLayout *tqlayout = new TQGridLayout( this, 3, 3, 11, 3 ); mDevice = new KLineEdit( this ); mSerialNumber = new KLineEdit( this ); - layout->addWidget( mDevice, 1, 0 ); - layout->addWidget( mSerialNumber, 1, 1 ); + tqlayout->addWidget( mDevice, 1, 0 ); + tqlayout->addWidget( mSerialNumber, 1, 1 ); TQLabel *label = new TQLabel( i18n( "Device Name:" ), this ); label->setBuddy( mDevice ); - layout->addWidget( label, 0, 0 ); + tqlayout->addWidget( label, 0, 0 ); label = new TQLabel( i18n( "Serial Number:" ), this ); label->setBuddy( mSerialNumber ); - layout->addWidget( label, 0, 1 ); + tqlayout->addWidget( label, 0, 1 ); - layout->setRowStretch( 2, 1 ); + tqlayout->setRowStretch( 2, 1 ); } void IRWidget::load( const TQDomElement &parent ) @@ -149,23 +149,23 @@ void IRWidget::save( TQDomDocument &doc, TQDomElement &parent ) CableWidget::CableWidget( TQWidget *parent ) : TQWidget( parent ) { - TQGridLayout *layout = new TQGridLayout( this, 3, 2, 11, 3 ); + TQGridLayout *tqlayout = new TQGridLayout( this, 3, 2, 11, 3 ); mManufacturer = new KComboBox( this ); mDevice = new KComboBox( true, this ); - layout->addWidget( mManufacturer, 0, 1 ); - layout->addWidget( mDevice, 1, 1 ); + tqlayout->addWidget( mManufacturer, 0, 1 ); + tqlayout->addWidget( mDevice, 1, 1 ); TQLabel *label = new TQLabel( i18n( "Device Manufacturer:" ), this ); label->setBuddy( mManufacturer ); - layout->addWidget( label, 0, 0 ); + tqlayout->addWidget( label, 0, 0 ); label = new TQLabel( i18n( "Device:" ), this ); label->setBuddy( mDevice ); - layout->addWidget( label, 1, 0 ); + tqlayout->addWidget( label, 1, 0 ); - layout->setRowStretch( 2, 1 ); + tqlayout->setRowStretch( 2, 1 ); mManufacturer->insertItem( i18n( "SonyEricsson/Ericsson" ) ); mManufacturer->insertItem( i18n( "Siemens" ) ); @@ -202,16 +202,16 @@ void CableWidget::save( TQDomDocument &doc, TQDomElement &parent ) UsbWidget::UsbWidget( TQWidget *parent ) : TQWidget( parent ) { - TQGridLayout *layout = new TQGridLayout( this, 3, 2, 11, 3); + TQGridLayout *tqlayout = new TQGridLayout( this, 3, 2, 11, 3); mInterface = new TQSpinBox( this ); - layout->addWidget( mInterface, 0, 1 ); + tqlayout->addWidget( mInterface, 0, 1 ); TQLabel *label = new TQLabel( i18n( "USB Interface:" ), this ); label->setBuddy( mInterface ); - layout->addWidget( label, 0, 0 ); + tqlayout->addWidget( label, 0, 0 ); - layout->setRowStretch( 2, 1 ); + tqlayout->setRowStretch( 2, 1 ); } void UsbWidget::setInterface( int interface ) |