diff options
Diffstat (limited to 'kmail/recipientseditor.cpp')
-rw-r--r-- | kmail/recipientseditor.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kmail/recipientseditor.cpp b/kmail/recipientseditor.cpp index 9f33a5016..273ba923c 100644 --- a/kmail/recipientseditor.cpp +++ b/kmail/recipientseditor.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "recipientseditor.h" @@ -119,8 +119,8 @@ TQStringList Recipient::allTypeLabels() } -RecipientComboBox::RecipientComboBox( TQWidget *parent ) - : TQComboBox( parent ) +RecipientComboBox::RecipientComboBox( TQWidget *tqparent ) + : TQComboBox( tqparent ) { } @@ -145,8 +145,8 @@ void RecipientLineEdit::keyPressEvent( TQKeyEvent *ev ) } } -RecipientLine::RecipientLine( TQWidget *parent ) - : TQWidget( parent ), mRecipientsCount( 0 ), mModified( false ) +RecipientLine::RecipientLine( TQWidget *tqparent ) + : TQWidget( tqparent ), mRecipientsCount( 0 ), mModified( false ) { TQBoxLayout *topLayout = new TQHBoxLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); @@ -288,7 +288,7 @@ void RecipientLine::keyPressEvent( TQKeyEvent *ev ) int RecipientLine::setComboWidth( int w ) { - w = QMAX( w, mCombo->tqsizeHint().width() ); + w = TQMAX( w, mCombo->tqsizeHint().width() ); mCombo->setFixedWidth( w ); mCombo->updateGeometry(); tqparentWidget()->updateGeometry(); @@ -320,8 +320,8 @@ void RecipientLine::setRemoveLineButtonEnabled( bool b ) // ------------ RecipientsView --------------------- -RecipientsView::RecipientsView( TQWidget *parent ) - : TQScrollView( parent ), mCurDelLine( 0 ), +RecipientsView::RecipientsView( TQWidget *tqparent ) + : TQScrollView( tqparent ), mCurDelLine( 0 ), mLineHeight( 0 ), mFirstColumnWidth( 0 ), mModified( false ) { @@ -456,7 +456,7 @@ void RecipientsView::slotReturnPressed( RecipientLine *line ) void RecipientsView::slotDownPressed( RecipientLine *line ) { - int pos = mLines.find( line ); + int pos = mLines.tqfind( line ); if ( pos >= (int)mLines.count() - 1 ) { emit focusDown(); } else if ( pos >= 0 ) { @@ -466,7 +466,7 @@ void RecipientsView::slotDownPressed( RecipientLine *line ) void RecipientsView::slotUpPressed( RecipientLine *line ) { - int pos = mLines.find( line ); + int pos = mLines.tqfind( line ); if ( pos > 0 ) { activateLine( mLines.at( pos - 1 ) ); } else { @@ -492,7 +492,7 @@ void RecipientsView::slotDeleteLine() return; RecipientLine *line = mCurDelLine; - int pos = mLines.find( line ); + int pos = mLines.tqfind( line ); int newPos; if ( pos == 0 ) newPos = pos + 1; @@ -698,8 +698,8 @@ void RecipientsView::moveCompletionPopup() } -RecipientsToolTip::RecipientsToolTip( RecipientsView *view, TQWidget *parent ) - : TQToolTip( parent ), mView( view ) +RecipientsToolTip::RecipientsToolTip( RecipientsView *view, TQWidget *tqparent ) + : TQToolTip( tqparent ), mView( view ) { } @@ -748,8 +748,8 @@ void RecipientsToolTip::maybeTip( const TQPoint & p ) } -SideWidget::SideWidget( RecipientsView *view, TQWidget *parent ) - : TQWidget( parent ), mView( view ), mRecipientPicker( 0 ) +SideWidget::SideWidget( RecipientsView *view, TQWidget *tqparent ) + : TQWidget( tqparent ), mView( view ), mRecipientPicker( 0 ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -837,8 +837,8 @@ void SideWidget::pickRecipient() } -RecipientsEditor::RecipientsEditor( TQWidget *parent ) - : TQWidget( parent ), mModified( false ) +RecipientsEditor::RecipientsEditor( TQWidget *tqparent ) + : TQWidget( tqparent ), mModified( false ) { TQBoxLayout *topLayout = new TQHBoxLayout( this ); topLayout->setSpacing( KDialog::spacingHint() ); |