summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/memberconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/memberconfig.cpp')
-rw-r--r--kitchensync/src/memberconfig.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kitchensync/src/memberconfig.cpp b/kitchensync/src/memberconfig.cpp
index 932830cd8..37755a504 100644
--- a/kitchensync/src/memberconfig.cpp
+++ b/kitchensync/src/memberconfig.cpp
@@ -26,14 +26,14 @@
#include <klocale.h>
#include <kmessagebox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qtabwidget.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqtabwidget.h>
-MemberConfig::MemberConfig( QWidget *parent, const QSync::Member &member )
- : QWidget( parent ), mMember( member )
+MemberConfig::MemberConfig( TQWidget *parent, const QSync::Member &member )
+ : TQWidget( parent ), mMember( member )
{
- QBoxLayout *topLayout = new QVBoxLayout( this );
+ TQBoxLayout *topLayout = new TQVBoxLayout( this );
mGui = ConfigGui::Factory::create( member, this );
topLayout->addWidget( mGui );
@@ -45,7 +45,7 @@ MemberConfig::~MemberConfig()
void MemberConfig::loadData()
{
- QByteArray cfg;
+ TQByteArray cfg;
QSync::Result error = mMember.configuration( cfg );
if ( error ) {
@@ -53,7 +53,7 @@ void MemberConfig::loadData()
i18n("Unable to read config from plugin '%1':\n%2")
.arg( mMember.pluginName() ).arg( error.message() ) );
} else {
- QString txt = QString::fromUtf8( cfg.data(), cfg.size() );
+ TQString txt = TQString::fromUtf8( cfg.data(), cfg.size() );
mGui->load( txt );
MemberInfo mi( mMember );
mGui->setInstanceName( mi.name() );
@@ -62,12 +62,12 @@ void MemberConfig::loadData()
void MemberConfig::saveData()
{
- QString txt = mGui->save();
+ TQString txt = mGui->save();
if ( txt.isEmpty() ) {
KMessageBox::sorry( this, i18n("Configuration of %1 is empty.").arg( mMember.pluginName() ) );
} else {
- QByteArray cfg = txt.utf8();
+ TQByteArray cfg = txt.utf8();
cfg.truncate(cfg.size() - 1); /* discard NUL terminator */
mMember.setConfiguration( cfg );
mMember.setName( mGui->instanceName() );