diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /kitchensync/src/connectionwidgets.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
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
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 f6157b6f..bb25c271 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); |