diff options
Diffstat (limited to 'kitchensync/src/configgui.cpp')
-rw-r--r-- | kitchensync/src/configgui.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kitchensync/src/configgui.cpp b/kitchensync/src/configgui.cpp index c57b4d991..6e2aa5d70 100644 --- a/kitchensync/src/configgui.cpp +++ b/kitchensync/src/configgui.cpp @@ -45,40 +45,40 @@ #include <klocale.h> #include <klineedit.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qtextedit.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqtextedit.h> -ConfigGui::ConfigGui( const QSync::Member &member, QWidget *parent ) - : QWidget( parent ), mMember( member ) +ConfigGui::ConfigGui( const QSync::Member &member, TQWidget *parent ) + : TQWidget( parent ), mMember( member ) { - mTopLayout = new QVBoxLayout( this ); + mTopLayout = new TQVBoxLayout( this ); mTopLayout->setSpacing( KDialog::spacingHint() ); mTopLayout->setMargin( KDialog::marginHint() ); - QBoxLayout *nameLayout = new QHBoxLayout( mTopLayout ); + TQBoxLayout *nameLayout = new TQHBoxLayout( mTopLayout ); - QLabel *label = new QLabel( i18n("Name:"), this ); + TQLabel *label = new TQLabel( i18n("Name:"), this ); nameLayout->addWidget( label ); mNameEdit = new KLineEdit( this ); nameLayout->addWidget( mNameEdit ); } -void ConfigGui::setInstanceName( const QString &t ) +void ConfigGui::setInstanceName( const TQString &t ) { mNameEdit->setText( t ); } -QString ConfigGui::instanceName() const +TQString ConfigGui::instanceName() const { return mNameEdit->text(); } ConfigGui *ConfigGui::Factory::create( const QSync::Member &member, - QWidget *parent ) + TQWidget *parent ) { - QString name = member.pluginName(); + TQString name = member.pluginName(); if ( name == "file-sync" ) { return new ConfigGuiFile( member, parent ); } else if ( name == "palm-sync" ) { @@ -117,19 +117,19 @@ ConfigGui *ConfigGui::Factory::create( const QSync::Member &member, } -ConfigGuiXml::ConfigGuiXml( const QSync::Member &member, QWidget *parent ) +ConfigGuiXml::ConfigGuiXml( const QSync::Member &member, TQWidget *parent ) : ConfigGui( member, parent ) { - mTextEdit = new QTextEdit( this ); + mTextEdit = new TQTextEdit( this ); topLayout()->addWidget( mTextEdit ); } -void ConfigGuiXml::load( const QString &xml ) +void ConfigGuiXml::load( const TQString &xml ) { mTextEdit->setText( xml ); } -QString ConfigGuiXml::save() const +TQString ConfigGuiXml::save() const { return mTextEdit->text(); } |