diff options
Diffstat (limited to 'kitchensync/src/connectionwidgets.cpp')
-rw-r--r-- | kitchensync/src/connectionwidgets.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kitchensync/src/connectionwidgets.cpp b/kitchensync/src/connectionwidgets.cpp index bb25c271d..f6157b6fa 100644 --- a/kitchensync/src/connectionwidgets.cpp +++ b/kitchensync/src/connectionwidgets.cpp @@ -40,8 +40,8 @@ #include "connectionwidgets.h" -BluetoothWidget::BluetoothWidget( TQWidget *parent ) - : TQWidget( parent ) +BluetoothWidget::BluetoothWidget( TQWidget *tqparent ) + : TQWidget( tqparent ) { TQGridLayout *tqlayout = new TQGridLayout( this ); @@ -100,8 +100,8 @@ TQString BluetoothWidget::channel() const } // FIXME - Only IrMC specific -IRWidget::IRWidget( TQWidget *parent ) - : TQWidget( parent ) +IRWidget::IRWidget( TQWidget *tqparent ) + : TQWidget( tqparent ) { TQGridLayout *tqlayout = new TQGridLayout( this, 3, 3, 11, 3 ); @@ -122,10 +122,10 @@ IRWidget::IRWidget( TQWidget *parent ) tqlayout->setRowStretch( 2, 1 ); } -void IRWidget::load( const TQDomElement &parent ) +void IRWidget::load( const TQDomElement &tqparent ) { TQDomNode node; - for ( node = parent.firstChild(); !node.isNull(); node = node.nextSibling() ) { + for ( node = tqparent.firstChild(); !node.isNull(); node = node.nextSibling() ) { TQDomElement element = node.toElement(); if ( element.tagName() == "irname" ) mDevice->setText( element.text() ); @@ -134,20 +134,20 @@ void IRWidget::load( const TQDomElement &parent ) } } -void IRWidget::save( TQDomDocument &doc, TQDomElement &parent ) +void IRWidget::save( TQDomDocument &doc, TQDomElement &tqparent ) { TQDomElement element = doc.createElement( "irname" ); element.appendChild( doc.createTextNode( mDevice->text() ) ); - parent.appendChild( element ); + tqparent.appendChild( element ); element = doc.createElement( "irserial" ); element.appendChild( doc.createTextNode( mSerialNumber->text() ) ); - parent.appendChild( element ); + tqparent.appendChild( element ); } // FIXME - Only IrMC specific -CableWidget::CableWidget( TQWidget *parent ) - : TQWidget( parent ) +CableWidget::CableWidget( TQWidget *tqparent ) + : TQWidget( tqparent ) { TQGridLayout *tqlayout = new TQGridLayout( this, 3, 2, 11, 3 ); @@ -176,10 +176,10 @@ CableWidget::CableWidget( TQWidget *parent ) mDevice->insertItem( "/dev/ttyUSB1" ); } -void CableWidget::load( const TQDomElement &parent ) +void CableWidget::load( const TQDomElement &tqparent ) { TQDomNode node; - for ( node = parent.firstChild(); !node.isNull(); node = node.nextSibling() ) { + for ( node = tqparent.firstChild(); !node.isNull(); node = node.nextSibling() ) { TQDomElement element = node.toElement(); if ( element.tagName() == "cabletype" ) mManufacturer->setCurrentItem( element.text().toInt() ); @@ -188,19 +188,19 @@ void CableWidget::load( const TQDomElement &parent ) } } -void CableWidget::save( TQDomDocument &doc, TQDomElement &parent ) +void CableWidget::save( TQDomDocument &doc, TQDomElement &tqparent ) { TQDomElement element = doc.createElement( "cabletype" ); element.appendChild( doc.createTextNode( TQString::number( mManufacturer->currentItem() ) ) ); - parent.appendChild( element ); + tqparent.appendChild( element ); element = doc.createElement( "cabledev" ); element.appendChild( doc.createTextNode( mDevice->currentText() ) ); - parent.appendChild( element ); + tqparent.appendChild( element ); } -UsbWidget::UsbWidget( TQWidget *parent ) - : TQWidget( parent ) +UsbWidget::UsbWidget( TQWidget *tqparent ) + : TQWidget( tqparent ) { TQGridLayout *tqlayout = new TQGridLayout( this, 3, 2, 11, 3); |