summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguiopie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguiopie.cpp')
-rw-r--r--kitchensync/src/configguiopie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kitchensync/src/configguiopie.cpp b/kitchensync/src/configguiopie.cpp
index c7462334..64bd816f 100644
--- a/kitchensync/src/configguiopie.cpp
+++ b/kitchensync/src/configguiopie.cpp
@@ -105,7 +105,7 @@ void ConfigGuiOpie::load( const TQString &xml )
mDeviceIP->setText( e.text() );
} else if ( e.tagName() == "port" ) {
mPort->setValue( e.text().toInt() );
- } else if ( e.tagName() == "tqdevice" ) {
+ } else if ( e.tagName() == "device" ) {
if ( e.text() == "opie" )
mDeviceType->setCurrentItem( 0 );
else
@@ -126,7 +126,7 @@ TQString ConfigGuiOpie::save() const
xml += "<username>" + mUserName->text() + "</username>";
xml += "<password>" + mPassword->text() + "</password>";
xml += "<url>" + mDeviceIP->text() + "</url>";
- xml += "<tqdevice>" + TQString( mDeviceType->currentItem() == 0 ? "opie" : "qtopia2" ) + "</tqdevice>";
+ xml += "<device>" + TQString( mDeviceType->currentItem() == 0 ? "opie" : "qtopia2" ) + "</device>";
xml += "<port>" + TQString::number( mPort->value() ) + "</port>";
xml += "<conntype>" + TQString( mConnectionType->currentItem() == 0 ? "scp" : "ftp" ) + "</conntype>";
xml += "</config>";