Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/7/head
Michele Calgaro 9 months ago
parent dbf8df231b
commit b6cc37b113
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -227,7 +227,7 @@ void KSquirrel::slotOptions()
bool KSquirrel::eventFilter(TQObject *o, TQEvent *e)
{
if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(mainPage) && e->type() == TQEvent::Show)
if(o == mainPage && e->type() == TQEvent::Show)
{
// delayed init, hehe...
if(waitForShow)

@ -996,7 +996,7 @@ void SQ_GLWidget::initAccelsAndMenu()
void SQ_GLWidget::slotAccelActivated()
{
TDEAction *accel = static_cast<TDEAction *>(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME *>(sender())));
TDEAction *accel = static_cast<TDEAction *>(TQT_TQOBJECT(sender()));
TDEShortcut ks = accel->shortcut();

@ -97,7 +97,7 @@ void SQ_FileDetailView::slotShowToolTip(TQListViewItem *item)
bool SQ_FileDetailView::eventFilter(TQObject *o, TQEvent *e)
{
if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(viewport()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this))
if(o == viewport() || o == this)
{
int type = e->type();

@ -81,7 +81,7 @@ void SQ_FileIconViewBase::slotShowToolTip(TQIconViewItem *item)
bool SQ_FileIconViewBase::eventFilter(TQObject *o, TQEvent *e)
{
if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(viewport()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this))
if(o == viewport() || o == this)
{
int type = e->type();

@ -150,7 +150,7 @@ void SQ_GLView::closeEvent(TQCloseEvent *e)
bool SQ_GLView::eventFilter(TQObject *watched, TQEvent *e)
{
if(TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(this))
if(watched == this)
{
// stop animation, if SQ_GLView is hidden (animation becomes useless)
if(/*e->type() == TQEvent::WindowDeactivate || */e->type() == TQEvent::Hide)

@ -996,7 +996,7 @@ void SQ_GLWidget::initAccelsAndMenu()
void SQ_GLWidget::slotAccelActivated()
{
TDEAction *accel = static_cast<TDEAction *>(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME *>(sender())));
TDEAction *accel = static_cast<TDEAction *>(TQT_TQOBJECT(sender()));
TDEShortcut ks = accel->shortcut();

Loading…
Cancel
Save