diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqwidget.h')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqwidget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqwidget.h b/tqtinterface/qt4/src/kernel/tqwidget.h index 0a75dad..6af93ed 100644 --- a/tqtinterface/qt4/src/kernel/tqwidget.h +++ b/tqtinterface/qt4/src/kernel/tqwidget.h @@ -158,7 +158,7 @@ typedef QFlags<Qt::WindowState> WState; QPoint gpos = mapToGlobal(e->pos()); \ QPoint npos = newreceiver->mapFromGlobal(gpos); \ if (popup) { \ - while (!TQT_TQRECT_OBJECT(newreceiver->rect()).tqcontains(npos)) { \ + while (!TQT_TQRECT_OBJECT(newreceiver->rect()).contains(npos)) { \ new_receiver_found = TRUE; \ newreceiver = tqwidget_parent_popup_menu(newreceiver); \ if (newreceiver) { \ @@ -169,7 +169,7 @@ typedef QFlags<Qt::WindowState> WState; } \ } \ if ((newreceiver) && (new_receiver_found)) { \ - if (TQT_TQRECT_OBJECT(newreceiver->rect()).tqcontains(npos)) { \ + if (TQT_TQRECT_OBJECT(newreceiver->rect()).contains(npos)) { \ if (tqwidget_is_popup_menu(newreceiver)) { \ npos = newreceiver->mapFromGlobal(gpos); \ QMouseEvent fixedevent(e->type(), npos, e->globalPos(), e->button(), e->buttons(), e->modifiers()); \ @@ -230,7 +230,7 @@ public: TQWidget * parentWidget( bool sameWindow = FALSE ) const; static TQCString normalizeSignalSlot( const char *signalSlot ); TQMetaObject *tqmetaObject() const; - static TQWidget * tqfind( WId w ); + static TQWidget * find( WId w ); bool isShown() const; TQWidget *tqchildAt( int x, int y, bool includeThis = FALSE ) const; TQWidget *tqchildAt( const TQPoint &p, bool includeThis = FALSE ) const; @@ -992,7 +992,7 @@ public: TQWidget * parentWidget( bool sameWindow = FALSE ) const; WState testWState( WState s ) const; WFlags testWFlags( WFlags f ) const; - static TQWidget * tqfind( WId ); + static TQWidget * find( WId ); static TQWidgetMapper *wmapper(); TQWidget *tqchildAt( int x, int y, bool includeThis = FALSE ) const; |