Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6f1ff535cd)
r14.1.x
Michele Calgaro 1 year ago
parent 0984efdd17
commit 04e6c49e9c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -2733,7 +2733,7 @@ void Channel::setIdentity(const IdentityPtr identity)
bool Channel::eventFilter(TQObject* watched, TQEvent* e)
{
if((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nicknameListView)) && (e->type() == TQEvent::Resize) && splittersInitialized && isShown())
if(watched == nicknameListView && e->type() == TQEvent::Resize && splittersInitialized && isShown())
{
if (!topicSplitterHidden && !channelSplitterHidden)
{

@ -147,7 +147,7 @@ void KonviBookmarkMenu::slotBookmarkSelected()
{
if ( !m_pOwner ) return; // this view doesn't handle bookmarks...
/* URL */
m_kOwner->openBookmarkURL( TQString::fromUtf8(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name()),
m_kOwner->openBookmarkURL( TQString::fromUtf8(sender()->name()),
( (TDEAction *)sender() )->text() /* Title */ );
}

Loading…
Cancel
Save