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