summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguijescs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguijescs.cpp')
-rw-r--r--kitchensync/src/configguijescs.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kitchensync/src/configguijescs.cpp b/kitchensync/src/configguijescs.cpp
index b7a94c447..a1e2c1539 100644
--- a/kitchensync/src/configguijescs.cpp
+++ b/kitchensync/src/configguijescs.cpp
@@ -24,7 +24,7 @@
#include <tqcheckbox.h>
#include <tqdom.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <klineedit.h>
#include <kdialog.h>
@@ -61,13 +61,13 @@ TQString ConfigGuiJescs::save() const
int delNotifyState;
TQString config = "<config>\n";
- config += TQString( "<url>%1</url>\n" ).tqarg( mUrl->text() );
- config += TQString( "<username>%1</username>\n" ).tqarg( mUsername->text() );
- config += TQString( "<password>%1</password>\n" ).tqarg( mPassword->text() );
+ config += TQString( "<url>%1</url>\n" ).arg( mUrl->text() );
+ config += TQString( "<username>%1</username>\n" ).arg( mUsername->text() );
+ config += TQString( "<password>%1</password>\n" ).arg( mPassword->text() );
if ( mDelNotify->isChecked() ) { delNotifyState = 1;
} else { delNotifyState = 0;
}
- config += TQString( "<del_notify>%1</del_notify>\n" ).tqarg( delNotifyState );
+ config += TQString( "<del_notify>%1</del_notify>\n" ).arg( delNotifyState );
config += "</config>";
@@ -76,23 +76,23 @@ TQString ConfigGuiJescs::save() const
void ConfigGuiJescs::initGUI()
{
- TQGridLayout *tqlayout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
- tqlayout->setMargin( KDialog::marginHint() );
+ TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
+ layout->setMargin( KDialog::marginHint() );
- tqlayout->addWidget( new TQLabel( i18n( "URL:" ), this ), 0, 0 );
+ layout->addWidget( new TQLabel( i18n( "URL:" ), this ), 0, 0 );
mUrl = new KLineEdit( this );
- tqlayout->addMultiCellWidget( mUrl, 0, 0, 1, 2 );
+ layout->addMultiCellWidget( mUrl, 0, 0, 1, 2 );
- tqlayout->addWidget( new TQLabel( i18n( "Username:" ), this ), 1, 0 );
+ layout->addWidget( new TQLabel( i18n( "Username:" ), this ), 1, 0 );
mUsername = new KLineEdit( this );
- tqlayout->addMultiCellWidget( mUsername, 1, 1, 1, 2 );
+ layout->addMultiCellWidget( mUsername, 1, 1, 1, 2 );
- tqlayout->addWidget( new TQLabel( i18n( "Password:" ), this ), 2, 0 );
+ layout->addWidget( new TQLabel( i18n( "Password:" ), this ), 2, 0 );
mPassword = new KLineEdit( this );
mPassword->setEchoMode( KLineEdit::Password );
- tqlayout->addMultiCellWidget( mPassword, 2, 2, 1, 2 );
+ layout->addMultiCellWidget( mPassword, 2, 2, 1, 2 );
mDelNotify = new TQCheckBox( this );
mDelNotify->setText( "Notify attendees about event/task deletion" );
- tqlayout->addMultiCellWidget( mDelNotify, 3, 3, 0, 2 );
+ layout->addMultiCellWidget( mDelNotify, 3, 3, 0, 2 );
}