summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.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 /kmail/recipientseditor.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 '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()