diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
commit | ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch) | |
tree | 08ba9504290f461f1244dded6b37fc4db00847ab /kaddressbook/keywidget.cpp | |
parent | d5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff) | |
download | tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kaddressbook/keywidget.cpp')
-rw-r--r-- | kaddressbook/keywidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/keywidget.cpp b/kaddressbook/keywidget.cpp index 8aceceecf..42920b3b6 100644 --- a/kaddressbook/keywidget.cpp +++ b/kaddressbook/keywidget.cpp @@ -41,25 +41,25 @@ KeyWidget::KeyWidget( TQWidget *parent, const char *name ) : TQWidget( parent, name ) { - TQGridLayout *tqlayout = new TQGridLayout( this, 4, 2, KDialog::marginHint(), + TQGridLayout *layout = new TQGridLayout( this, 4, 2, KDialog::marginHint(), KDialog::spacingHint() ); TQLabel *label = new TQLabel( i18n( "Keys:" ), this ); - tqlayout->addWidget( label, 0, 0 ); + layout->addWidget( label, 0, 0 ); mKeyCombo = new KComboBox( this ); - tqlayout->addWidget( mKeyCombo, 0, 1 ); + layout->addWidget( mKeyCombo, 0, 1 ); mAddButton = new TQPushButton( i18n( "Add..." ), this ); - tqlayout->addMultiCellWidget( mAddButton, 1, 1, 0, 1 ); + layout->addMultiCellWidget( mAddButton, 1, 1, 0, 1 ); mRemoveButton = new TQPushButton( i18n( "Remove" ), this ); mRemoveButton->setEnabled( false ); - tqlayout->addMultiCellWidget( mRemoveButton, 2, 2, 0, 1 ); + layout->addMultiCellWidget( mRemoveButton, 2, 2, 0, 1 ); mExportButton = new TQPushButton( i18n( "Export..." ), this ); mExportButton->setEnabled( false ); - tqlayout->addMultiCellWidget( mExportButton, 3, 3, 0, 1 ); + layout->addMultiCellWidget( mExportButton, 3, 3, 0, 1 ); connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addKey() ) ); connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeKey() ) ); |