summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguisynce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguisynce.cpp')
-rw-r--r--kitchensync/src/configguisynce.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kitchensync/src/configguisynce.cpp b/kitchensync/src/configguisynce.cpp
index 898300769..c5c8a8583 100644
--- a/kitchensync/src/configguisynce.cpp
+++ b/kitchensync/src/configguisynce.cpp
@@ -23,7 +23,7 @@
#include <tqdom.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <klineedit.h>
@@ -60,10 +60,10 @@ TQString ConfigGuiSynce::save() const
{
TQString config = "<config>\n";
- config += TQString( "<contact>%1</contact>\n" ).tqarg( mContacts->isChecked() ? "1" : "0" );
- config += TQString( "<todos>%1</todos>\n" ).tqarg( mTodos->isChecked() ? "1" : "0" );
- config += TQString( "<calendar>%1</calendar>\n" ).tqarg( mCalendar->isChecked() ? "1" : "0" );
- config += TQString( "<file>%1</file>\n" ).tqarg( mFile->text() );
+ config += TQString( "<contact>%1</contact>\n" ).arg( mContacts->isChecked() ? "1" : "0" );
+ config += TQString( "<todos>%1</todos>\n" ).arg( mTodos->isChecked() ? "1" : "0" );
+ config += TQString( "<calendar>%1</calendar>\n" ).arg( mCalendar->isChecked() ? "1" : "0" );
+ config += TQString( "<file>%1</file>\n" ).arg( mFile->text() );
config += "</config>";
@@ -72,22 +72,22 @@ TQString ConfigGuiSynce::save() const
void ConfigGuiSynce::initGUI()
{
- TQGridLayout *tqlayout = new TQGridLayout( topLayout(), 12, 2, KDialog::spacingHint() );
- tqlayout->setMargin( KDialog::marginHint() );
+ TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 2, KDialog::spacingHint() );
+ layout->setMargin( KDialog::marginHint() );
mContacts = new TQCheckBox( this );
mContacts->setText( "Sync Contacts" );
- tqlayout->addMultiCellWidget( mContacts, 0, 0, 0, 1 );
+ layout->addMultiCellWidget( mContacts, 0, 0, 0, 1 );
mTodos = new TQCheckBox( this );
mTodos->setText( "Sync \'Todo\' items" );
- tqlayout->addMultiCellWidget( mTodos, 1, 1, 0, 1 );
+ layout->addMultiCellWidget( mTodos, 1, 1, 0, 1 );
mCalendar = new TQCheckBox( this );
mCalendar->setText( "Sync Calendar" );
- tqlayout->addMultiCellWidget( mCalendar, 2, 2, 0, 1 );
+ layout->addMultiCellWidget( mCalendar, 2, 2, 0, 1 );
- tqlayout->addWidget( new TQLabel( i18n( "File:" ), this ), 3, 0 );
+ layout->addWidget( new TQLabel( i18n( "File:" ), this ), 3, 0 );
mFile = new KLineEdit( this );
- tqlayout->addWidget( mFile, 3, 1 );
+ layout->addWidget( mFile, 3, 1 );
}