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