summaryrefslogtreecommitdiffstats
path: root/twin/clients
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:46:35 +0900
committerMichele Calgaro <[email protected]>2023-08-18 19:13:36 +0900
commit5cfda35559d971762794b1c8e294d037c09c63f3 (patch)
tree567400ec90a083f3fcb02cde2ed0d779d861da79 /twin/clients
parent7c193f33d78ab79d2811a60c5190abdc1fa95c03 (diff)
downloadtdebase-5cfda35559d971762794b1c8e294d037c09c63f3.tar.gz
tdebase-5cfda35559d971762794b1c8e294d037c09c63f3.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 0fc56f21d45249a473d20555ff3071d3b16bee54)
Diffstat (limited to 'twin/clients')
-rw-r--r--twin/clients/b2/b2client.cpp2
-rw-r--r--twin/clients/keramik/keramik.cpp2
-rw-r--r--twin/clients/test/test.cpp2
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())
{