diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 15:34:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 15:34:31 +0900 |
commit | 118efac31c7d85eda2db83c3f37cccfb6bd3e17d (patch) | |
tree | 7a28d367fd3c2fd5e70620ab2d99e817b8df0d75 | |
parent | 59ac6c104baf8e137ff932951e831c9ba4cf4b14 (diff) | |
download | tdeedu-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.cpp | 4 |
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() ); } |