Drop TQT_TQ*_CONST defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 118efac31c)
r14.1.x
Michele Calgaro 1 year ago
parent 1adf059cf7
commit 54816bc057
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -67,8 +67,8 @@ LinksLabel::~LinksLabel()
void LinksLabel::urlClicked() void LinksLabel::urlClicked()
{ {
const TQObject* o = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender())); const TQObject* o = sender();
std::vector<KURLLabel*>::iterator i = std::find( p->urllabels.begin(), p->urllabels.end(), static_cast<const KURLLabel*>(TQT_TQWIDGET_CONST( o )) ); std::vector<KURLLabel*>::iterator i = std::find( p->urllabels.begin(), p->urllabels.end(), static_cast<const KURLLabel*>( o ) );
assert( i != p->urllabels.end() ); assert( i != p->urllabels.end() );
emit linkClicked( i - p->urllabels.begin() ); emit linkClicked( i - p->urllabels.begin() );
} }

Loading…
Cancel
Save