summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguievo2.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kitchensync/src/configguievo2.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
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 );
}