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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kitchensync/src/configguiopie.cpp b/kitchensync/src/configguiopie.cpp
index ed8aa15f4..c2b3be2ec 100644
--- a/kitchensync/src/configguiopie.cpp
+++ b/kitchensync/src/configguiopie.cpp
@@ -30,8 +30,8 @@
#include <tqlineedit.h>
#include <tqspinbox.h>
-ConfigGuiOpie::ConfigGuiOpie( const QSync::Member &member, TQWidget *parent )
- : ConfigGui( member, parent )
+ConfigGuiOpie::ConfigGuiOpie( const QSync::Member &member, TQWidget *tqparent )
+ : ConfigGui( member, tqparent )
{
TQGridLayout *tqlayout = new TQGridLayout( topLayout() );
@@ -81,7 +81,7 @@ ConfigGuiOpie::ConfigGuiOpie( const QSync::Member &member, TQWidget *parent )
tqlayout->addWidget( mPort, 5, 1 );
mDeviceType->insertItem( i18n("Opie/OpenZaurus") );
- mDeviceType->insertItem( i18n("Qtopia2") );
+ mDeviceType->insertItem( i18n("TQtopia2") );
mConnectionType->insertItem( i18n("SCP") );
mConnectionType->insertItem( i18n("FTP") );
@@ -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() == "device" ) {
+ } else if ( e.tagName() == "tqdevice" ) {
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 += "<device>" + TQString( mDeviceType->currentItem() == 0 ? "opie" : "qtopia2" ) + "</device>";
+ xml += "<tqdevice>" + TQString( mDeviceType->currentItem() == 0 ? "opie" : "qtopia2" ) + "</tqdevice>";
xml += "<port>" + TQString::number( mPort->value() ) + "</port>";
xml += "<conntype>" + TQString( mConnectionType->currentItem() == 0 ? "scp" : "ftp" ) + "</conntype>";
xml += "</config>";