summaryrefslogtreecommitdiffstats
path: root/libtdepim/addresseelineedit.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:37:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-10 09:18:39 +0900
commit7a712e6185fe1086345a4ad970291444548f60a2 (patch)
tree6dd0b17b51cc004a16901d02e791fb031d927d51 /libtdepim/addresseelineedit.cpp
parent8a66634debeb3242ec542056469b6e07d5427968 (diff)
downloadtdepim-7a712e6185fe1086345a4ad970291444548f60a2.tar.gz
tdepim-7a712e6185fe1086345a4ad970291444548f60a2.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 98876ba8c52c0fc2f38c258476bc9637f055d576)
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 06efda39b..68a16e117 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 {