summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/recipientseditor.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/recipientseditor.cpp')
-rw-r--r--kmail/recipientseditor.cpp36
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() );