diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
commit | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch) | |
tree | ab537a329b9613e11dce8195761f93ffe82aed24 /kitchensync/src/configguievo2.cpp | |
parent | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff) | |
download | tdepim-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/configguievo2.cpp')
-rw-r--r-- | kitchensync/src/configguievo2.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kitchensync/src/configguievo2.cpp b/kitchensync/src/configguievo2.cpp index a5bcd6f3c..0c79fedf0 100644 --- a/kitchensync/src/configguievo2.cpp +++ b/kitchensync/src/configguievo2.cpp @@ -23,7 +23,7 @@ #include <tqdom.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.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" ).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 += 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 += "</config>"; @@ -71,21 +71,21 @@ TQString ConfigGuiEvo2::save() const void ConfigGuiEvo2::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( "Address Book location:" ), this ), 0, 0 ); + tqlayout->addWidget( new TQLabel( i18n( "Address Book location:" ), this ), 0, 0 ); mAddressPath = new KURLRequester( this ); mAddressPath->setMode( KFile::Directory ); - layout->addMultiCellWidget( mAddressPath, 0, 0, 1, 2 ); + tqlayout->addMultiCellWidget( mAddressPath, 0, 0, 1, 2 ); - layout->addWidget( new TQLabel( i18n( "Calendar location:" ), this ), 1, 0 ); + tqlayout->addWidget( new TQLabel( i18n( "Calendar location:" ), this ), 1, 0 ); mCalendarPath = new KURLRequester( this ); mCalendarPath->setMode( KFile::Directory ); - layout->addMultiCellWidget( mCalendarPath, 1, 1, 1, 2 ); + tqlayout->addMultiCellWidget( mCalendarPath, 1, 1, 1, 2 ); - layout->addWidget( new TQLabel( i18n( "Task list location:" ), this ), 2, 0 ); + tqlayout->addWidget( new TQLabel( i18n( "Task list location:" ), this ), 2, 0 ); mTasksPath = new KURLRequester( this ); mTasksPath->setMode( KFile::Directory ); - layout->addMultiCellWidget( mTasksPath, 2, 2, 1, 2 ); + tqlayout->addMultiCellWidget( mTasksPath, 2, 2, 1, 2 ); } |