summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 15:34:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 15:34:31 +0900
commit118efac31c7d85eda2db83c3f37cccfb6bd3e17d (patch)
tree7a28d367fd3c2fd5e70620ab2d99e817b8df0d75
parent59ac6c104baf8e137ff932951e831c9ba4cf4b14 (diff)
downloadtdeedu-118efac31c7d85eda2db83c3f37cccfb6bd3e17d.tar.gz
tdeedu-118efac31c7d85eda2db83c3f37cccfb6bd3e17d.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kig/modes/linkslabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/modes/linkslabel.cpp b/kig/modes/linkslabel.cpp
index 9d37d840..6d9c2f2f 100644
--- a/kig/modes/linkslabel.cpp
+++ b/kig/modes/linkslabel.cpp
@@ -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() );
}