summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addresseeeditordialog.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 /kaddressbook/addresseeeditordialog.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 'kaddressbook/addresseeeditordialog.cpp')
-rw-r--r--kaddressbook/addresseeeditordialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp
index a742c3f76..b2e9345d3 100644
--- a/kaddressbook/addresseeeditordialog.cpp
+++ b/kaddressbook/addresseeeditordialog.cpp
@@ -22,7 +22,7 @@
*/
#include <tqapplication.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kdebug.h>
#include <klocale.h>
@@ -48,7 +48,7 @@ AddresseeEditorDialog::AddresseeEditorDialog( KAB::Core *core,
TQWidget *page = plainPage();
- TQVBoxLayout *tqlayout = new TQVBoxLayout( page );
+ TQVBoxLayout *layout = new TQVBoxLayout( page );
if ( KABPrefs::instance()->editorType() == KABPrefs::SimpleEditor ) {
mEditorWidget = new SimpleAddresseeEditor( page );
@@ -56,7 +56,7 @@ AddresseeEditorDialog::AddresseeEditorDialog( KAB::Core *core,
mEditorWidget = new AddresseeEditorWidget( page );
}
connect( mEditorWidget, TQT_SIGNAL( modified() ), TQT_SLOT( widgetModified() ) );
- tqlayout->addWidget( mEditorWidget );
+ layout->addWidget( mEditorWidget );
enableButton( KDialogBase::Apply, false );
@@ -147,7 +147,7 @@ void AddresseeEditorDialog::slotCancel()
void AddresseeEditorDialog::setTitle( const KABC::Addressee &addr )
{
if ( !addr.realName().isEmpty() )
- setCaption( i18n( "Edit Contact '%1'" ).tqarg( addr.realName() ) );
+ setCaption( i18n( "Edit Contact '%1'" ).arg( addr.realName() ) );
}
#include "addresseeeditordialog.moc"