summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addresseditwidget.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/addresseditwidget.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/addresseditwidget.cpp')
-rw-r--r--kaddressbook/addresseditwidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/addresseditwidget.cpp b/kaddressbook/addresseditwidget.cpp
index 26924ef8f..ac70cbaa9 100644
--- a/kaddressbook/addresseditwidget.cpp
+++ b/kaddressbook/addresseditwidget.cpp
@@ -82,25 +82,25 @@ class TabPressEater : public QObject
AddressEditWidget::AddressEditWidget( TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- TQBoxLayout *layout = new TQVBoxLayout( this, 4, 2 );
- layout->setSpacing( KDialog::spacingHint() );
+ TQBoxLayout *tqlayout = new TQVBoxLayout( this, 4, 2 );
+ tqlayout->setSpacing( KDialog::spacingHint() );
mTypeCombo = new AddressTypeCombo( mAddressList, this );
connect( mTypeCombo, TQT_SIGNAL( activated( int ) ),
TQT_SLOT( updateAddressEdit() ) );
- layout->addWidget( mTypeCombo );
+ tqlayout->addWidget( mTypeCombo );
mAddressField = new KActiveLabel( this );
mAddressField->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
mAddressField->setMinimumHeight( 20 );
- mAddressField->setAlignment( Qt::AlignTop );
+ mAddressField->tqsetAlignment( Qt::AlignTop );
mAddressField->setTextFormat( Qt::PlainText );
- layout->addWidget( mAddressField );
+ tqlayout->addWidget( mAddressField );
mEditButton = new TQPushButton( i18n( "street/postal", "&Edit Addresses..." ), this );
connect( mEditButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( edit() ) );
- layout->addWidget( mEditButton );
+ tqlayout->addWidget( mEditButton );
}
AddressEditWidget::~AddressEditWidget()
@@ -274,7 +274,7 @@ AddressEditDialog::AddressEditDialog( const KABC::Address::List &list,
topLayout->addMultiCellWidget( mTypeCombo, 0, 0, 0, 1 );
TQLabel *label = new TQLabel( i18n( "<streetLabel>:", "%1:" ).arg( KABC::Address::streetLabel() ), page );
- label->setAlignment( Qt::AlignTop | Qt::AlignLeft );
+ label->tqsetAlignment( Qt::AlignTop | Qt::AlignLeft );
topLayout->addWidget( label, 1, 0 );
mStreetTextEdit = new TQTextEdit( page );
mStreetTextEdit->setTextFormat( Qt::PlainText );
@@ -604,10 +604,10 @@ AddressTypeDialog::AddressTypeDialog( int type, TQWidget *parent )
parent, "AddressTypeDialog" )
{
TQWidget *page = plainPage();
- TQVBoxLayout *layout = new TQVBoxLayout( page );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( page );
mGroup = new TQButtonGroup( 2, Horizontal, i18n( "street/postal", "Address Types" ), page );
- layout->addWidget( mGroup );
+ tqlayout->addWidget( mGroup );
mTypeList = KABC::Address::typeList();
mTypeList.remove( KABC::Address::Pref );