From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- libtdepim/addresseelineedit.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libtdepim/addresseelineedit.cpp') diff --git a/libtdepim/addresseelineedit.cpp b/libtdepim/addresseelineedit.cpp index 35c80b7a1..687943ec5 100644 --- a/libtdepim/addresseelineedit.cpp +++ b/libtdepim/addresseelineedit.cpp @@ -57,7 +57,7 @@ #include #include #include -#include +#include using namespace KPIM; @@ -344,7 +344,7 @@ void AddresseeLineEdit::mouseReleaseEvent( TQMouseEvent *e ) { // reimplemented from TQLineEdit::mouseReleaseEvent() if ( m_useCompletion - && TQApplication::clipboard()->supportsSelection() + && TQApplication::tqclipboard()->supportsSelection() && !isReadOnly() && e->button() == Qt::MidButton ) { m_smartPaste = true; @@ -389,7 +389,7 @@ void AddresseeLineEdit::dropEvent( TQDropEvent *e ) } } else { // Let's see if this drop contains a comma separated list of emails - TQString dropData = TQString::fromUtf8( e->encodedData( "text/plain" ) ); + TQString dropData = TQString::fromUtf8( e->tqencodedData( "text/plain" ) ); TQStringList addrs = splitEmailAddrList( dropData ); if ( addrs.count() > 0 ) { setText( normalizeAddressesAndDecodeIDNs( dropData ) ); @@ -852,7 +852,7 @@ void AddresseeLineEdit::setCompletedItems( const TQStringList& items, bool autoS TQPoint oldPosOfItemUnderMouse; if ( itemUnderMouse ) { oldTextUnderMouse = itemUnderMouse->text(); - oldPosOfItemUnderMouse = completionBox->itemRect( itemUnderMouse ).topLeft(); + oldPosOfItemUnderMouse = completionBox->tqitemRect( itemUnderMouse ).topLeft(); } completionBox->setItems( items ); @@ -882,7 +882,7 @@ void AddresseeLineEdit::setCompletedItems( const TQStringList& items, bool autoS // if the mouse was over an item, before, but now that's elsewhere, // move the cursor, so folks don't accidently click the wrong item if ( newItemUnderMouse ) { - TQRect r = completionBox->itemRect( newItemUnderMouse ); + TQRect r = completionBox->tqitemRect( newItemUnderMouse ); TQPoint target = r.topLeft(); if ( oldPosOfItemUnderMouse != target ) { target.setX( target.x() + r.width()/2 ); -- cgit v1.2.1