summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:46:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-15 20:10:15 +0900
commitc33805f103e4f107399ae155b5ee6aacd3a7d58c (patch)
treee2f88bebd7263be65783840a10cfee63acc5a8f2
parent2b61be696c96185200305fd17527484babef2cde (diff)
downloadtdeartwork-c33805f103e4f107399ae155b5ee6aacd3a7d58c.tar.gz
tdeartwork-c33805f103e4f107399ae155b5ee6aacd3a7d58c.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 239865cbb53b0559ef17402ad8bc0aee0b5e9765)
-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())
{