diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kitchensync/src/configguimoto.cpp | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kitchensync/src/configguimoto.cpp')
-rw-r--r-- | kitchensync/src/configguimoto.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kitchensync/src/configguimoto.cpp b/kitchensync/src/configguimoto.cpp index e461a808f..da17454e3 100644 --- a/kitchensync/src/configguimoto.cpp +++ b/kitchensync/src/configguimoto.cpp @@ -23,7 +23,7 @@ #include <tqdom.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <klineedit.h> #include <kdialog.h> @@ -43,7 +43,7 @@ void ConfigGuiMoto::load( const TQString &xml ) TQDomNode node; for( node = docElement.firstChild(); !node.isNull(); node = node.nextSibling() ) { TQDomElement element = node.toElement(); - if ( element.tagName() == "tqdevice" ) { + if ( element.tagName() == "device" ) { mDeviceString->setText( element.text() ); } } @@ -53,7 +53,7 @@ TQString ConfigGuiMoto::save() const { TQString config = "<config>\n"; - config += TQString( "<tqdevice>%1</tqdevice>\n" ).tqarg( mDeviceString->text() ); + config += TQString( "<device>%1</device>\n" ).arg( mDeviceString->text() ); config += "</config>"; @@ -62,10 +62,10 @@ TQString ConfigGuiMoto::save() const void ConfigGuiMoto::initGUI() { - TQGridLayout *tqlayout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() ); - tqlayout->setMargin( KDialog::marginHint() ); + TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() ); + layout->setMargin( KDialog::marginHint() ); - tqlayout->addWidget( new TQLabel( i18n( "Device String:" ), this ), 0, 0 ); + layout->addWidget( new TQLabel( i18n( "Device String:" ), this ), 0, 0 ); mDeviceString = new KLineEdit( this ); - tqlayout->addMultiCellWidget( mDeviceString, 0, 0, 1, 2 ); + layout->addMultiCellWidget( mDeviceString, 0, 0, 1, 2 ); } |