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