diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:21:35 +0900 |
| commit | 521604defa90ca9cf8cdcf0c8e3c8f2579bb8092 (patch) | |
| tree | aca33c8a5d0b537d70889e2f43cb34610c35d68b /lib/widgets/qcomboview.cpp | |
| parent | baf125d9b448d63fd97e63f9855d2094aa8d015c (diff) | |
| download | tdevelop-521604defa90ca9cf8cdcf0c8e3c8f2579bb8092.tar.gz tdevelop-521604defa90ca9cf8cdcf0c8e3c8f2579bb8092.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6b0cf55d6252a256d9fc5bcb89837bec7f21f40d)
Diffstat (limited to 'lib/widgets/qcomboview.cpp')
| -rw-r--r-- | lib/widgets/qcomboview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp index 9e564326..1d959d13 100644 --- a/lib/widgets/qcomboview.cpp +++ b/lib/widgets/qcomboview.cpp @@ -466,7 +466,7 @@ void QComboView::paintEvent( TQPaintEvent * ) void QComboView::mousePressEvent( TQMouseEvent *e ) { - if ( e->button() != Qt::LeftButton ) + if ( e->button() != TQt::LeftButton ) return; if ( d->discardNextMousePress ) { d->discardNextMousePress = FALSE; @@ -917,7 +917,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event ) } } } - } else if ((e->state() & ( Qt::RightButton | Qt::LeftButton | Qt::MidButton ) ) == 0 && + } else if ((e->state() & ( TQt::RightButton | TQt::LeftButton | TQt::MidButton ) ) == 0 && style().styleHint(TQStyle::SH_ComboBox_ListMouseTracking, this)) { // tqWarning("event filter:: emu"); TQWidget *mouseW = TQApplication::widgetAt( e->globalPos(), TRUE ); |
