summaryrefslogtreecommitdiffstats
path: root/libtdepim/addresseelineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/addresseelineedit.cpp')
-rw-r--r--libtdepim/addresseelineedit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdepim/addresseelineedit.cpp b/libtdepim/addresseelineedit.cpp
index 06efda39..68a16e11 100644
--- a/libtdepim/addresseelineedit.cpp
+++ b/libtdepim/addresseelineedit.cpp
@@ -346,7 +346,7 @@ void AddresseeLineEdit::mouseReleaseEvent( TQMouseEvent *e )
if ( m_useCompletion
&& TQApplication::clipboard()->supportsSelection()
&& !isReadOnly()
- && e->button() == Qt::MidButton ) {
+ && e->button() == TQt::MidButton ) {
m_smartPaste = true;
}
@@ -1054,8 +1054,8 @@ bool KPIM::AddresseeLineEdit::eventFilter(TQObject *obj, TQEvent *e)
// avoid selection of headers on button press, or move or release while
// a button is pressed
if ( e->type() == TQEvent::MouseButtonPress
- || me->state() & Qt::LeftButton || me->state() & Qt::MidButton
- || me->state() & Qt::RightButton ) {
+ || me->state() & TQt::LeftButton || me->state() & TQt::MidButton
+ || me->state() & TQt::RightButton ) {
if ( itemIsHeader(item) ) {
return true; // eat the event, we don't want anything to happen
} else {