summaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 16:42:35 +0900
commit0813a2c41340ea35119ba3225c8c9b710d9ced07 (patch)
treebe99c4c1f95e9a19ddc3d28f7484b4b866e2fce7 /lib/widgets
parent03e67cae445e4207ff23b64c813fbc62d24ff364 (diff)
downloadtdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.tar.gz
tdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/propeditor/ppixmapedit.cpp2
-rw-r--r--lib/widgets/qcomboview.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/widgets/propeditor/ppixmapedit.cpp b/lib/widgets/propeditor/ppixmapedit.cpp
index 452b9637..5effbf42 100644
--- a/lib/widgets/propeditor/ppixmapedit.cpp
+++ b/lib/widgets/propeditor/ppixmapedit.cpp
@@ -112,7 +112,7 @@ void PPixmapEdit::resizeEvent(TQResizeEvent *ev)
bool PPixmapEdit::eventFilter(TQObject *o, TQEvent *ev)
{
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_edit))
+ if(o == m_edit)
{
if(ev->type() == TQEvent::MouseButtonPress)
{
diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp
index 9e84f1d4..ec132d80 100644
--- a/lib/widgets/qcomboview.cpp
+++ b/lib/widgets/qcomboview.cpp
@@ -850,7 +850,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event )
{
if ( !event )
return TRUE;
- else if ( TQT_BASE_OBJECT(object) == TQT_BASE_OBJECT(d->ed) ) {
+ else if ( object == d->ed ) {
if ( event->type() == TQEvent::KeyPress ) {
bool isAccepted = ( (TQKeyEvent*)event )->isAccepted();
keyPressEvent( (TQKeyEvent *)event );
@@ -887,8 +887,8 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event )
}
}
}
- } else if ( ( TQT_BASE_OBJECT(object) == TQT_BASE_OBJECT(d->listView()) ||
- TQT_BASE_OBJECT(object) == TQT_BASE_OBJECT(d->listView()->viewport()) )) {
+ } else if ( ( object == d->listView() ||
+ object == d->listView()->viewport() )) {
TQMouseEvent *e = (TQMouseEvent*)event;
switch( event->type() ) {
case TQEvent::MouseMove:
@@ -1430,7 +1430,7 @@ void QComboView::setLineEdit( TQLineEdit *edit )
d->ed = edit;
- if ( TQT_BASE_OBJECT(edit->parent()) != TQT_BASE_OBJECT(this) ) {
+ if ( edit->parent() != this ) {
edit->reparent( this, TQPoint(0,0), FALSE );
edit->setFont( font() );
}