From 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kitchensync/src/configguievo2.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kitchensync/src/configguievo2.cpp') 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 #include -#include +#include #include #include @@ -60,9 +60,9 @@ TQString ConfigGuiEvo2::save() const { TQString config = "\n"; - config += TQString( "%1\n" ).tqarg( mAddressPath->url() ); - config += TQString( "%1\n" ).tqarg( mCalendarPath->url() ); - config += TQString( "%1\n" ).tqarg( mTasksPath->url() ); + config += TQString( "%1\n" ).arg( mAddressPath->url() ); + config += TQString( "%1\n" ).arg( mCalendarPath->url() ); + config += TQString( "%1\n" ).arg( mTasksPath->url() ); 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 ); } -- cgit v1.2.1