Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 20cfc90d4f)
r14.1.x
Michele Calgaro 1 year ago
parent 2795d5ce0a
commit 89e9e3ac34
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1110,7 +1110,7 @@ void Playlist::decode(TQMimeSource *s, PlaylistItem *item)
bool Playlist::eventFilter(TQObject *watched, TQEvent *e)
{
if(TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(header())) {
if(watched == header()) {
switch(e->type()) {
case TQEvent::MouseMove:
{

@ -136,7 +136,7 @@ void SearchLine::setFocus()
bool SearchLine::eventFilter(TQObject *watched, TQEvent *e)
{
if(TQT_BASE_OBJECT(watched) != TQT_BASE_OBJECT(m_lineEdit) || e->type() != TQEvent::KeyPress)
if(watched != m_lineEdit || e->type() != TQEvent::KeyPress)
return TQHBox::eventFilter(watched, e);
TQKeyEvent *key = TQT_TQKEYEVENT(e);

@ -179,7 +179,7 @@ bool StatusLabel::eventFilter(TQObject *o, TQEvent *e)
if(e->type() == TQEvent::MouseButtonRelease &&
mouseEvent->button() == Qt::LeftButton)
{
if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_itemTimeLabel)) {
if(o == m_itemTimeLabel) {
m_showTimeRemaining = !m_showTimeRemaining;
updateTime();
}

@ -104,7 +104,7 @@ void ViewMode::paintCell(PlaylistBox::Item *item,
bool ViewMode::eventFilter(TQObject *watched, TQEvent *e)
{
if(m_visible && TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_playlistBox->viewport()) && e->type() == TQEvent::Resize) {
if(m_visible && watched == m_playlistBox->viewport() && e->type() == TQEvent::Resize) {
TQResizeEvent *re = TQT_TQRESIZEEVENT(e);
if(re->size().width() != re->oldSize().width())
m_needsRefresh = true;

Loading…
Cancel
Save