summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/recipientseditor.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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 2a21d7f05..5b18e044b 100644
--- a/kmail/recipientseditor.cpp
+++ b/kmail/recipientseditor.cpp
@@ -39,14 +39,14 @@
#include <kiconloader.h>
#include <kmessagebox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqscrollview.h>
#include <tqcombobox.h>
#include <tqhbox.h>
#include <tqtimer.h>
#include <tqpushbutton.h>
-#include <stylesheet.h>
+#include <tqstylesheet.h>
Recipient::Recipient( const TQString &email, Recipient::Type type )
: mEmail( email ), mType( type )
@@ -288,7 +288,7 @@ void RecipientLine::keyPressEvent( TQKeyEvent *ev )
int RecipientLine::setComboWidth( int w )
{
- w = TQMAX( w, mCombo->sizeHint().width() );
+ w = TQMAX( w, mCombo->tqsizeHint().width() );
mCombo->setFixedWidth( w );
mCombo->updateGeometry();
parentWidget()->updateGeometry();
@@ -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,7 +536,7 @@ void RecipientsView::resizeView()
// setFixedHeight( mLineHeight * mLines.count() );
}
- parentWidget()->layout()->activate();
+ parentWidget()->tqlayout()->activate();
emit sizeHintChanged();
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();
@@ -915,8 +915,8 @@ void RecipientsEditor::setRecipientString( const TQString &str,
if ( count++ > GlobalSettings::self()->maximumRecipients() ) {
KMessageBox::sorry( this,
i18n("Truncating recipients list to %1 of %2 entries.")
- .arg( GlobalSettings::self()->maximumRecipients() )
- .arg( r.count() ) );
+ .tqarg( GlobalSettings::self()->maximumRecipients() )
+ .tqarg( r.count() ) );
break;
}
addRecipient( *it, type );