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