summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguimoto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguimoto.cpp')
-rw-r--r--kitchensync/src/configguimoto.cpp14
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 );
}