summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/recipientseditor.cpp')
-rw-r--r--kmail/recipientseditor.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/recipientseditor.cpp b/kmail/recipientseditor.cpp
index fe7b85ca9..9f33a5016 100644
--- a/kmail/recipientseditor.cpp
+++ b/kmail/recipientseditor.cpp
@@ -288,10 +288,10 @@ void RecipientLine::keyPressEvent( TQKeyEvent *ev )
int RecipientLine::setComboWidth( int w )
{
- w = QMAX( w, mCombo->sizeHint().width() );
+ w = QMAX( w, mCombo->tqsizeHint().width() );
mCombo->setFixedWidth( w );
mCombo->updateGeometry();
- parentWidget()->updateGeometry();
+ tqparentWidget()->updateGeometry();
return w;
}
@@ -331,7 +331,7 @@ RecipientsView::RecipientsView( TQWidget *parent )
addLine();
setResizePolicy( TQScrollView::Manual );
- setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
viewport()->setPaletteBackgroundColor( paletteBackgroundColor() );
}
@@ -400,7 +400,7 @@ RecipientLine *RecipientsView::addLine()
mFirstColumnWidth = line->setComboWidth( mFirstColumnWidth );
- mLineHeight = line->minimumSizeHint().height();
+ mLineHeight = line->tqminimumSizeHint().height();
line->resize( viewport()->width(), mLineHeight );
@@ -536,8 +536,8 @@ void RecipientsView::resizeView()
// setFixedHeight( mLineHeight * mLines.count() );
}
- parentWidget()->layout()->activate();
- emit sizeHintChanged();
+ tqparentWidget()->tqlayout()->activate();
+ emit tqsizeHintChanged();
TQTimer::singleShot( 0, this, TQT_SLOT(moveCompletionPopup()) );
}
@@ -555,12 +555,12 @@ void RecipientsView::viewportResizeEvent ( TQResizeEvent *ev )
ensureVisible( 0, mLines.count() * mLineHeight );
}
-TQSize RecipientsView::sizeHint() const
+TQSize RecipientsView::tqsizeHint() const
{
return TQSize( 200, mLineHeight * mLines.count() );
}
-TQSize RecipientsView::minimumSizeHint() const
+TQSize RecipientsView::tqminimumSizeHint() const
{
int height;
uint numLines = 5;
@@ -742,9 +742,9 @@ void RecipientsToolTip::maybeTip( const TQPoint & p )
text.append( "</qt>" );
- TQRect geometry( p + TQPoint( 2, 2 ), TQPoint( 400, 100 ) );
+ TQRect tqgeometry( p + TQPoint( 2, 2 ), TQPoint( 400, 100 ) );
- tip( TQRect( p.x() - 20, p.y() - 20, 40, 40 ), text, geometry );
+ tip( TQRect( p.x() - 20, p.y() - 20, 40, 40 ), text, tqgeometry );
}
@@ -757,7 +757,7 @@ SideWidget::SideWidget( RecipientsView *view, TQWidget *parent )
topLayout->addStretch( 1 );
mTotalLabel = new TQLabel( this );
- mTotalLabel->setAlignment( AlignCenter );
+ mTotalLabel->tqsetAlignment( AlignCenter );
topLayout->addWidget( mTotalLabel );
mTotalLabel->hide();
@@ -862,8 +862,8 @@ RecipientsEditor::RecipientsEditor( TQWidget *parent )
connect( mRecipientsView, TQT_SIGNAL( focusRight() ),
mSideWidget, TQT_SLOT( setFocus() ) );
- connect( mRecipientsView, TQT_SIGNAL(sizeHintChanged()),
- TQT_SIGNAL(sizeHintChanged()) );
+ connect( mRecipientsView, TQT_SIGNAL(tqsizeHintChanged()),
+ TQT_SIGNAL(tqsizeHintChanged()) );
}
RecipientsEditor::~RecipientsEditor()