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.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kitchensync/src/configguimoto.cpp b/kitchensync/src/configguimoto.cpp
index 80c493dca..a310692f0 100644
--- a/kitchensync/src/configguimoto.cpp
+++ b/kitchensync/src/configguimoto.cpp
@@ -21,39 +21,39 @@
#include "configguimoto.h"
-#include <qdom.h>
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqdom.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
#include <klineedit.h>
#include <kdialog.h>
#include <klocale.h>
-ConfigGuiMoto::ConfigGuiMoto( const QSync::Member &member, QWidget *parent )
+ConfigGuiMoto::ConfigGuiMoto( const QSync::Member &member, TQWidget *parent )
: ConfigGui( member, parent )
{
initGUI();
}
-void ConfigGuiMoto::load( const QString &xml )
+void ConfigGuiMoto::load( const TQString &xml )
{
- QDomDocument doc;
+ TQDomDocument doc;
doc.setContent( xml );
- QDomElement docElement = doc.documentElement();
- QDomNode node;
+ TQDomElement docElement = doc.documentElement();
+ TQDomNode node;
for( node = docElement.firstChild(); !node.isNull(); node = node.nextSibling() ) {
- QDomElement element = node.toElement();
+ TQDomElement element = node.toElement();
if ( element.tagName() == "device" ) {
mDeviceString->setText( element.text() );
}
}
}
-QString ConfigGuiMoto::save() const
+TQString ConfigGuiMoto::save() const
{
- QString config = "<config>\n";
+ TQString config = "<config>\n";
- config += QString( "<device>%1</device>\n" ).arg( mDeviceString->text() );
+ config += TQString( "<device>%1</device>\n" ).arg( mDeviceString->text() );
config += "</config>";
@@ -62,10 +62,10 @@ QString ConfigGuiMoto::save() const
void ConfigGuiMoto::initGUI()
{
- QGridLayout *layout = new QGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
+ TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
layout->setMargin( KDialog::marginHint() );
- layout->addWidget( new QLabel( i18n( "Device String:" ), this ), 0, 0 );
+ layout->addWidget( new TQLabel( i18n( "Device String:" ), this ), 0, 0 );
mDeviceString = new KLineEdit( this );
layout->addMultiCellWidget( mDeviceString, 0, 0, 1, 2 );
}