summaryrefslogtreecommitdiffstats
path: root/kaddressbook/distributionlisteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/distributionlisteditor.cpp')
-rw-r--r--kaddressbook/distributionlisteditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kaddressbook/distributionlisteditor.cpp b/kaddressbook/distributionlisteditor.cpp
index c088978f3..ac0115fe4 100644
--- a/kaddressbook/distributionlisteditor.cpp
+++ b/kaddressbook/distributionlisteditor.cpp
@@ -67,16 +67,16 @@ public:
KPIM::DistributionListEditor::Line::Line( KABC::AddressBook* book, TQWidget* parent ) : TQWidget( parent ), m_addressBook( book )
{
Q_ASSERT( m_addressBook );
- TQBoxLayout* layout = new TQHBoxLayout( this );
- layout->setSpacing( KDialog::spacingHint() );
+ TQBoxLayout* tqlayout = new TQHBoxLayout( this );
+ tqlayout->setSpacing( KDialog::spacingHint() );
m_lineEdit = new KPIM::DistributionListEditor::LineEdit( this );
connect( m_lineEdit, TQT_SIGNAL( textChanged( const TQString& ) ),
this, TQT_SLOT( textChanged( const TQString& ) ) );
- layout->addWidget( m_lineEdit );
+ tqlayout->addWidget( m_lineEdit );
m_clearButton = new TQToolButton( this );
m_clearButton->setIconSet( KApplication::reverseLayout() ? SmallIconSet("locationbar_erase") : SmallIconSet( "clear_left" ) );
m_clearButton->setEnabled( false );
- layout->addWidget( m_clearButton );
+ tqlayout->addWidget( m_clearButton );
connect( m_clearButton, TQT_SIGNAL( clicked() ), m_lineEdit, TQT_SLOT( clear() ) );
}
@@ -106,7 +106,7 @@ KABC::Addressee KPIM::DistributionListEditor::Line::findAddressee( const TQStrin
return KABC::Addressee();
typedef KABC::Addressee::List List;
- const List byEmail = m_addressBook->findByEmail( email );
+ const List byEmail = m_addressBook->tqfindByEmail( email );
if ( !byEmail.isEmpty() )
{
const List::ConstIterator end = byEmail.end();
@@ -136,7 +136,7 @@ KPIM::DistributionList::Entry KPIM::DistributionListEditor::Line::entry() const
KPIM::DistributionList::Entry res;
if ( !m_uid.isNull() )
{
- const KABC::Addressee addr = m_addressBook->findByUid( m_uid );
+ const KABC::Addressee addr = m_addressBook->tqfindByUid( m_uid );
if ( m_initialText == text || addr.formattedName() == name )
res.addressee = addr;
}
@@ -188,7 +188,7 @@ KPIM::DistributionListEditor::EditorWidget::EditorWidget( KABC::AddressBook* boo
d->scrollView->setFrameShape( TQFrame::NoFrame );
mainLayout->addWidget( d->scrollView );
d->memberListWidget = new TQWidget( d->scrollView->viewport() );
- d->memberListWidget->setSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding );
+ d->memberListWidget->tqsetSizePolicy( TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding );
TQVBoxLayout* memberLayout = new TQVBoxLayout( d->memberListWidget );
d->addresseeLayout = new TQVBoxLayout;
d->addresseeLayout->setSpacing( KDialog::spacingHint() );
@@ -200,7 +200,7 @@ KPIM::DistributionListEditor::EditorWidget::EditorWidget( KABC::AddressBook* boo
setMainWidget( main );
KPIM::DistributionListEditor::Line* const last = d->addLineForEntry( KPIM::DistributionList::Entry() );
- const TQSize hint = sizeHint();
+ const TQSize hint = tqsizeHint();
resize( hint.width() * 3L/2, hint.height() );
}