summaryrefslogtreecommitdiffstats
path: root/kig/modes
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 21:29:20 +0900
commit54816bc0576ee9d560cd1be85e0c6589ce9d8c28 (patch)
tree84e36e73d0e2b88e0898eddcfdc54708e71b8a10 /kig/modes
parent1adf059cf75fa09467d50bab91c6c97daa555a28 (diff)
downloadtdeedu-54816bc0576ee9d560cd1be85e0c6589ce9d8c28.tar.gz
tdeedu-54816bc0576ee9d560cd1be85e0c6589ce9d8c28.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 118efac31c7d85eda2db83c3f37cccfb6bd3e17d)
Diffstat (limited to 'kig/modes')
-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() );
}