diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 18:54:01 +0900 |
commit | 0fc56f21d45249a473d20555ff3071d3b16bee54 (patch) | |
tree | c788136146e1f97187ecaf773563c21cbd42fa11 /twin/clients | |
parent | 83e74d1e550db6a814ec252968b601f6a9b14f9b (diff) | |
download | tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin/clients')
-rw-r--r-- | twin/clients/b2/b2client.cpp | 2 | ||||
-rw-r--r-- | twin/clients/keramik/keramik.cpp | 2 | ||||
-rw-r--r-- | twin/clients/test/test.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/twin/clients/b2/b2client.cpp b/twin/clients/b2/b2client.cpp index 6c81660ee..49391e923 100644 --- a/twin/clients/b2/b2client.cpp +++ b/twin/clients/b2/b2client.cpp @@ -1179,7 +1179,7 @@ bool B2Client::drawbound(const TQRect& geom, bool clear) bool B2Client::eventFilter(TQObject *o, TQEvent *e) { - if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(widget())) + if (o != widget()) return false; switch (e->type()) { case TQEvent::Resize: diff --git a/twin/clients/keramik/keramik.cpp b/twin/clients/keramik/keramik.cpp index ded50a9d2..446199fa7 100644 --- a/twin/clients/keramik/keramik.cpp +++ b/twin/clients/keramik/keramik.cpp @@ -1796,7 +1796,7 @@ TQSize KeramikClient::minimumSize() const bool KeramikClient::eventFilter( TQObject* o, TQEvent* e ) { - if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(widget()) ) + if ( o != widget() ) return false; switch ( e->type() ) diff --git a/twin/clients/test/test.cpp b/twin/clients/test/test.cpp index e01d1d98e..ebfb00df1 100644 --- a/twin/clients/test/test.cpp +++ b/twin/clients/test/test.cpp @@ -100,7 +100,7 @@ TQSize Decoration::minimumSize() const bool Decoration::eventFilter( TQObject* o, TQEvent* e ) { - if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(widget())) + if( o == widget()) { switch( e->type()) { |