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 da17454e3..e461a808f 100644
--- a/kitchensync/src/configguimoto.cpp
+++ b/kitchensync/src/configguimoto.cpp
@@ -23,7 +23,7 @@
#include <tqdom.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.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() == "device" ) {
+ if ( element.tagName() == "tqdevice" ) {
mDeviceString->setText( element.text() );
}
}
@@ -53,7 +53,7 @@ TQString ConfigGuiMoto::save() const
{
TQString config = "<config>\n";
- config += TQString( "<device>%1</device>\n" ).arg( mDeviceString->text() );
+ config += TQString( "<tqdevice>%1</tqdevice>\n" ).tqarg( mDeviceString->text() );
config += "</config>";
@@ -62,10 +62,10 @@ TQString ConfigGuiMoto::save() const
void ConfigGuiMoto::initGUI()
{
- TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
- layout->setMargin( KDialog::marginHint() );
+ TQGridLayout *tqlayout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
+ tqlayout->setMargin( KDialog::marginHint() );
- layout->addWidget( new TQLabel( i18n( "Device String:" ), this ), 0, 0 );
+ tqlayout->addWidget( new TQLabel( i18n( "Device String:" ), this ), 0, 0 );
mDeviceString = new KLineEdit( this );
- layout->addMultiCellWidget( mDeviceString, 0, 0, 1, 2 );
+ tqlayout->addMultiCellWidget( mDeviceString, 0, 0, 1, 2 );
}