summaryrefslogtreecommitdiffstats
path: root/kaddressbook/distributionlistentryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/distributionlistentryview.cpp')
-rw-r--r--kaddressbook/distributionlistentryview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/distributionlistentryview.cpp b/kaddressbook/distributionlistentryview.cpp
index ef0fe9bbc..c6a8e1fa4 100644
--- a/kaddressbook/distributionlistentryview.cpp
+++ b/kaddressbook/distributionlistentryview.cpp
@@ -15,7 +15,7 @@
#include <tqbuttongroup.h>
#include <tqcombobox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqradiobutton.h>
#include <tqstringlist.h>
#include <tqvbuttongroup.h>
@@ -44,7 +44,7 @@ KAB::DistributionListEntryView::DistributionListEntryView( KAB::Core* core, TQWi
TQLabel* distLabel = new TQLabel( this );
distLabel->setText( i18n( "<b>Distribution list:</b>" ) );
- distLabel->tqsetAlignment( TQt::SingleLine );
+ distLabel->setAlignment( TQt::SingleLine );
distLayout->addWidget( distLabel );
m_distListLabel = new KURLLabel( this );
@@ -57,7 +57,7 @@ KAB::DistributionListEntryView::DistributionListEntryView( KAB::Core* core, TQWi
TQLabel* emailLabel = new TQLabel( this );
emailLabel->setText( i18n( "<b>Email address to use in this list:</b>" ) );
- emailLabel->tqsetAlignment( TQt::SingleLine );
+ emailLabel->setAlignment( TQt::SingleLine );
m_mainLayout->addWidget( emailLabel );
TQBoxLayout* emailLayout = new TQHBoxLayout;
@@ -106,11 +106,11 @@ void KAB::DistributionListEntryView::setEntry( const KPIM::DistributionList& lis
TQPixmap pixmap;
pixmap.convertFromImage( m_entry.addressee.photo().data() );
m_imageLabel->setPixmap( pixmap.isNull() ? KGlobal::iconLoader()->loadIcon( "personal", KIcon::Desktop ) : pixmap );
- m_addresseeLabel->setText( i18n( "Formatted name, role, organization", "<qt><h2>%1</h2><p>%2<br/>%3</p></qt>" ).tqarg( m_entry.addressee.formattedName(), m_entry.addressee.role(), m_entry.addressee.organization() ) );
+ m_addresseeLabel->setText( i18n( "Formatted name, role, organization", "<qt><h2>%1</h2><p>%2<br/>%3</p></qt>" ).arg( m_entry.addressee.formattedName(), m_entry.addressee.role(), m_entry.addressee.organization() ) );
m_distListLabel->setURL( m_list.name() );
m_distListLabel->setText( m_list.name() );
- m_resourceLabel->setText( i18n( "<b>Address book:</b> %1" ).tqarg( m_entry.addressee.resource() ? m_entry.addressee.resource()->resourceName() : TQString() ) );
- m_resourceLabel->tqsetAlignment( TQt::SingleLine );
+ m_resourceLabel->setText( i18n( "<b>Address book:</b> %1" ).arg( m_entry.addressee.resource() ? m_entry.addressee.resource()->resourceName() : TQString() ) );
+ m_resourceLabel->setAlignment( TQt::SingleLine );
m_emailGroup = new TQVButtonGroup( this );
m_emailGroup->setFlat( true );
@@ -133,7 +133,7 @@ void KAB::DistributionListEntryView::setEntry( const KPIM::DistributionList& lis
this, TQT_SLOT( emailButtonClicked( int ) ) );
m_radioLayout->addWidget( m_emailGroup, 0, 0 );
m_emailGroup->setShown( true );
- m_mainLayout->tqinvalidate();
+ m_mainLayout->invalidate();
}