summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguisynce.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kitchensync/src/configguisynce.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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 c5c8a8583..898300769 100644
--- a/kitchensync/src/configguisynce.cpp
+++ b/kitchensync/src/configguisynce.cpp
@@ -23,7 +23,7 @@
#include <tqdom.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.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" ).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 += 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 += "</config>";
@@ -72,22 +72,22 @@ TQString ConfigGuiSynce::save() const
void ConfigGuiSynce::initGUI()
{
- TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 2, KDialog::spacingHint() );
- layout->setMargin( KDialog::marginHint() );
+ TQGridLayout *tqlayout = new TQGridLayout( topLayout(), 12, 2, KDialog::spacingHint() );
+ tqlayout->setMargin( KDialog::marginHint() );
mContacts = new TQCheckBox( this );
mContacts->setText( "Sync Contacts" );
- layout->addMultiCellWidget( mContacts, 0, 0, 0, 1 );
+ tqlayout->addMultiCellWidget( mContacts, 0, 0, 0, 1 );
mTodos = new TQCheckBox( this );
mTodos->setText( "Sync \'Todo\' items" );
- layout->addMultiCellWidget( mTodos, 1, 1, 0, 1 );
+ tqlayout->addMultiCellWidget( mTodos, 1, 1, 0, 1 );
mCalendar = new TQCheckBox( this );
mCalendar->setText( "Sync Calendar" );
- layout->addMultiCellWidget( mCalendar, 2, 2, 0, 1 );
+ tqlayout->addMultiCellWidget( mCalendar, 2, 2, 0, 1 );
- layout->addWidget( new TQLabel( i18n( "File:" ), this ), 3, 0 );
+ tqlayout->addWidget( new TQLabel( i18n( "File:" ), this ), 3, 0 );
mFile = new KLineEdit( this );
- layout->addWidget( mFile, 3, 1 );
+ tqlayout->addWidget( mFile, 3, 1 );
}