Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/27/head
Michele Calgaro 1 year ago
parent ec4cfb4434
commit 239865cbb5
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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:

@ -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())
{

@ -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())
{

@ -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() ) {

@ -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:

@ -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));

@ -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:

@ -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()) {

@ -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())
{

Loading…
Cancel
Save