summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:46:22 +0900
committerMichele Calgaro <[email protected]>2023-08-15 14:44:10 +0900
commit239865cbb53b0559ef17402ad8bc0aee0b5e9765 (patch)
treed6037faa3bc365d14e88d3370bdc94b793f712b9
parentec4cfb44347fe2148d2896ea7d85b811bac82577 (diff)
downloadtdeartwork-239865cbb53b0559ef17402ad8bc0aee0b5e9765.tar.gz
tdeartwork-239865cbb53b0559ef17402ad8bc0aee0b5e9765.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--twin-styles/cde/cdeclient.cpp2
-rw-r--r--twin-styles/glow/glowclient.cpp2
-rw-r--r--twin-styles/icewm/icewm.cpp2
-rw-r--r--twin-styles/kde1/kde1client.cpp4
-rw-r--r--twin-styles/kstep/nextclient.cpp2
-rw-r--r--twin-styles/openlook/OpenLook.cpp2
-rw-r--r--twin-styles/riscos/Manager.cpp2
-rw-r--r--twin-styles/smooth-blend/client/smoothblend.cpp2
-rw-r--r--twin-styles/system/systemclient.cpp2
9 files changed, 10 insertions, 10 deletions
diff --git a/twin-styles/cde/cdeclient.cpp b/twin-styles/cde/cdeclient.cpp
index 84d98c2b..040b00ef 100644
--- a/twin-styles/cde/cdeclient.cpp
+++ b/twin-styles/cde/cdeclient.cpp
@@ -754,7 +754,7 @@ void CdeClient::mouseReleaseEvent( TQMouseEvent * e )
bool CdeClient::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-styles/glow/glowclient.cpp b/twin-styles/glow/glowclient.cpp
index bea30b44..4c911194 100644
--- a/twin-styles/glow/glowclient.cpp
+++ b/twin-styles/glow/glowclient.cpp
@@ -860,7 +860,7 @@ void GlowClient::slotMaximize()
bool GlowClient::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-styles/icewm/icewm.cpp b/twin-styles/icewm/icewm.cpp
index 990ce1dc..324a736a 100644
--- a/twin-styles/icewm/icewm.cpp
+++ b/twin-styles/icewm/icewm.cpp
@@ -1664,7 +1664,7 @@ void IceWMClient::menuButtonReleased()
bool IceWMClient::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-styles/kde1/kde1client.cpp b/twin-styles/kde1/kde1client.cpp
index acb4c0b9..021513b2 100644
--- a/twin-styles/kde1/kde1client.cpp
+++ b/twin-styles/kde1/kde1client.cpp
@@ -544,7 +544,7 @@ void StdClient::maxButtonClicked( ButtonState button )
bool StdClient::eventFilter( TQObject* o, TQEvent* e )
{
- if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(widget()) )
+ if ( o != widget() )
return false;
switch ( e->type() ) {
@@ -693,7 +693,7 @@ void StdToolClient::reset( unsigned long )
bool StdToolClient::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-styles/kstep/nextclient.cpp b/twin-styles/kstep/nextclient.cpp
index 0a18d552..b9953459 100644
--- a/twin-styles/kstep/nextclient.cpp
+++ b/twin-styles/kstep/nextclient.cpp
@@ -876,7 +876,7 @@ void NextClient::reset(unsigned long)
bool NextClient::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-styles/openlook/OpenLook.cpp b/twin-styles/openlook/OpenLook.cpp
index 0f2eafc0..fd07a70a 100644
--- a/twin-styles/openlook/OpenLook.cpp
+++ b/twin-styles/openlook/OpenLook.cpp
@@ -165,7 +165,7 @@ OpenLook::~OpenLook()
bool OpenLook::eventFilter(TQObject *o, TQEvent *e)
{
- if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(widget())) return false;
+ if (o != widget()) return false;
switch (e->type()) {
case TQEvent::Resize:
resizeEvent(TQT_TQRESIZEEVENT(e));
diff --git a/twin-styles/riscos/Manager.cpp b/twin-styles/riscos/Manager.cpp
index 96e27432..14c81a84 100644
--- a/twin-styles/riscos/Manager.cpp
+++ b/twin-styles/riscos/Manager.cpp
@@ -82,7 +82,7 @@ void Manager::init()
bool Manager::eventFilter(TQObject *o, TQEvent *e)
{
- if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(widget())) return false;
+ if (o != widget()) return false;
switch (e->type())
{
case TQEvent::Resize:
diff --git a/twin-styles/smooth-blend/client/smoothblend.cpp b/twin-styles/smooth-blend/client/smoothblend.cpp
index 31b23deb..004a4264 100644
--- a/twin-styles/smooth-blend/client/smoothblend.cpp
+++ b/twin-styles/smooth-blend/client/smoothblend.cpp
@@ -1042,7 +1042,7 @@ KDecoration::Position smoothblendClient::mousePosition(const TQPoint &point) con
// Event filter
bool smoothblendClient::eventFilter(TQObject *obj, TQEvent *e) {
- if (TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(widget()))
+ if (obj != widget())
return false;
switch (e->type()) {
diff --git a/twin-styles/system/systemclient.cpp b/twin-styles/system/systemclient.cpp
index d1edc611..869b925e 100644
--- a/twin-styles/system/systemclient.cpp
+++ b/twin-styles/system/systemclient.cpp
@@ -412,7 +412,7 @@ void SystemClient::addButtons(TQBoxLayout *hb, const TQString& s)
bool SystemClient::eventFilter( TQObject* o, TQEvent* e )
{
- if( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(widget()))
+ if( o != widget())
return false;
switch( e->type())
{