summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguievo2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguievo2.cpp')
-rw-r--r--kitchensync/src/configguievo2.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kitchensync/src/configguievo2.cpp b/kitchensync/src/configguievo2.cpp
index 0c79fedf0..a5bcd6f3c 100644
--- a/kitchensync/src/configguievo2.cpp
+++ b/kitchensync/src/configguievo2.cpp
@@ -23,7 +23,7 @@
#include <tqdom.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqstring.h>
#include <kurlrequester.h>
@@ -60,9 +60,9 @@ TQString ConfigGuiEvo2::save() const
{
TQString config = "<config>\n";
- config += TQString( "<address_path>%1</address_path>\n" ).tqarg( mAddressPath->url() );
- config += TQString( "<calendar_path>%1</calendar_path>\n" ).tqarg( mCalendarPath->url() );
- config += TQString( "<tasks_path>%1</tasks_path>\n" ).tqarg( mTasksPath->url() );
+ config += TQString( "<address_path>%1</address_path>\n" ).arg( mAddressPath->url() );
+ config += TQString( "<calendar_path>%1</calendar_path>\n" ).arg( mCalendarPath->url() );
+ config += TQString( "<tasks_path>%1</tasks_path>\n" ).arg( mTasksPath->url() );
config += "</config>";
@@ -71,21 +71,21 @@ TQString ConfigGuiEvo2::save() const
void ConfigGuiEvo2::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( "Address Book location:" ), this ), 0, 0 );
+ layout->addWidget( new TQLabel( i18n( "Address Book location:" ), this ), 0, 0 );
mAddressPath = new KURLRequester( this );
mAddressPath->setMode( KFile::Directory );
- tqlayout->addMultiCellWidget( mAddressPath, 0, 0, 1, 2 );
+ layout->addMultiCellWidget( mAddressPath, 0, 0, 1, 2 );
- tqlayout->addWidget( new TQLabel( i18n( "Calendar location:" ), this ), 1, 0 );
+ layout->addWidget( new TQLabel( i18n( "Calendar location:" ), this ), 1, 0 );
mCalendarPath = new KURLRequester( this );
mCalendarPath->setMode( KFile::Directory );
- tqlayout->addMultiCellWidget( mCalendarPath, 1, 1, 1, 2 );
+ layout->addMultiCellWidget( mCalendarPath, 1, 1, 1, 2 );
- tqlayout->addWidget( new TQLabel( i18n( "Task list location:" ), this ), 2, 0 );
+ layout->addWidget( new TQLabel( i18n( "Task list location:" ), this ), 2, 0 );
mTasksPath = new KURLRequester( this );
mTasksPath->setMode( KFile::Directory );
- tqlayout->addMultiCellWidget( mTasksPath, 2, 2, 1, 2 );
+ layout->addMultiCellWidget( mTasksPath, 2, 2, 1, 2 );
}