summaryrefslogtreecommitdiffstats
path: root/kaddressbook/nameeditdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kaddressbook/nameeditdialog.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/nameeditdialog.cpp')
-rw-r--r--kaddressbook/nameeditdialog.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kaddressbook/nameeditdialog.cpp b/kaddressbook/nameeditdialog.cpp
index 3e2191ff..f713ef4e 100644
--- a/kaddressbook/nameeditdialog.cpp
+++ b/kaddressbook/nameeditdialog.cpp
@@ -51,71 +51,71 @@ NameEditDialog::NameEditDialog( const KABC::Addressee &addr, int type,
Ok, parent, name, true ), mAddressee( addr )
{
TQWidget *page = plainPage();
- TQGridLayout *layout = new TQGridLayout( page );
- layout->setSpacing( spacingHint() );
- layout->addColSpacing( 2, 100 );
+ TQGridLayout *tqlayout = new TQGridLayout( page );
+ tqlayout->setSpacing( spacingHint() );
+ tqlayout->addColSpacing( 2, 100 );
TQLabel *label;
label = new TQLabel( i18n( "Honorific prefixes:" ), page );
- layout->addWidget( label, 0, 0 );
+ tqlayout->addWidget( label, 0, 0 );
mPrefixCombo = new KComboBox( page );
mPrefixCombo->setDuplicatesEnabled( false );
mPrefixCombo->setEditable( true );
mPrefixCombo->setEnabled( !readOnly );
label->setBuddy( mPrefixCombo );
- layout->addMultiCellWidget( mPrefixCombo, 0, 0, 1, 2 );
+ tqlayout->addMultiCellWidget( mPrefixCombo, 0, 0, 1, 2 );
TQWhatsThis::add( mPrefixCombo, i18n( "The predefined honorific prefixes can be extended in the settings dialog." ) );
label = new TQLabel( i18n( "Given name:" ), page );
- layout->addWidget( label, 1, 0 );
+ tqlayout->addWidget( label, 1, 0 );
mGivenNameEdit = new KLineEdit( page );
mGivenNameEdit->setReadOnly( readOnly );
label->setBuddy( mGivenNameEdit );
- layout->addMultiCellWidget( mGivenNameEdit, 1, 1, 1, 2 );
+ tqlayout->addMultiCellWidget( mGivenNameEdit, 1, 1, 1, 2 );
label = new TQLabel( i18n( "Additional names:" ), page );
- layout->addWidget( label, 2, 0 );
+ tqlayout->addWidget( label, 2, 0 );
mAdditionalNameEdit = new KLineEdit( page );
mAdditionalNameEdit->setReadOnly( readOnly );
label->setBuddy( mAdditionalNameEdit );
- layout->addMultiCellWidget( mAdditionalNameEdit, 2, 2, 1, 2 );
+ tqlayout->addMultiCellWidget( mAdditionalNameEdit, 2, 2, 1, 2 );
label = new TQLabel( i18n( "Family names:" ), page );
- layout->addWidget( label, 3, 0 );
+ tqlayout->addWidget( label, 3, 0 );
mFamilyNameEdit = new KLineEdit( page );
mFamilyNameEdit->setReadOnly( readOnly );
label->setBuddy( mFamilyNameEdit );
- layout->addMultiCellWidget( mFamilyNameEdit, 3, 3, 1, 2 );
+ tqlayout->addMultiCellWidget( mFamilyNameEdit, 3, 3, 1, 2 );
label = new TQLabel( i18n( "Honorific suffixes:" ), page );
- layout->addWidget( label, 4, 0 );
+ tqlayout->addWidget( label, 4, 0 );
mSuffixCombo = new KComboBox( page );
mSuffixCombo->setDuplicatesEnabled( false );
mSuffixCombo->setEditable( true );
mSuffixCombo->setEnabled( !readOnly );
label->setBuddy( mSuffixCombo );
- layout->addMultiCellWidget( mSuffixCombo, 4, 4, 1, 2 );
+ tqlayout->addMultiCellWidget( mSuffixCombo, 4, 4, 1, 2 );
TQWhatsThis::add( mSuffixCombo, i18n( "The predefined honorific suffixes can be extended in the settings dialog." ) );
label = new TQLabel( i18n( "Formatted name:" ), page );
- layout->addWidget( label, 5, 0 );
+ tqlayout->addWidget( label, 5, 0 );
mFormattedNameCombo = new KComboBox( page );
mFormattedNameCombo->setEnabled( !readOnly );
- layout->addWidget( mFormattedNameCombo, 5, 1 );
+ tqlayout->addWidget( mFormattedNameCombo, 5, 1 );
connect( mFormattedNameCombo, TQT_SIGNAL( activated( int ) ), TQT_SLOT( typeChanged( int ) ) );
mFormattedNameEdit = new KLineEdit( page );
mFormattedNameEdit->setEnabled( type == CustomName && !readOnly );
- layout->addWidget( mFormattedNameEdit, 5, 2 );
+ tqlayout->addWidget( mFormattedNameEdit, 5, 2 );
mParseBox = new TQCheckBox( i18n( "Parse name automatically" ), page );
mParseBox->setEnabled( !readOnly );
connect( mParseBox, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( parseBoxChanged(bool) ) );
connect( mParseBox, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( modified() ) );
- layout->addMultiCellWidget( mParseBox, 6, 6, 0, 1 );
+ tqlayout->addMultiCellWidget( mParseBox, 6, 6, 0, 1 );
// Fill in the values
mFamilyNameEdit->setText( addr.familyName() );