From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kitchensync/src/connectionwidgets.cpp | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kitchensync/src/connectionwidgets.cpp') 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); -- cgit v1.2.1