summaryrefslogtreecommitdiffstats
path: root/src/partcontroller.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 17:07:59 +0900
commite5cb335358db67ee9a68a15d99dc89d1e0da3111 (patch)
tree70cf0b11d74c625d2bbea4f9d3f62ab0c1eb00bc /src/partcontroller.cpp
parent57951b635ee02df8266476eafb5094a3b3731a8f (diff)
downloadtdevelop-e5cb335358db67ee9a68a15d99dc89d1e0da3111.tar.gz
tdevelop-e5cb335358db67ee9a68a15d99dc89d1e0da3111.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0813a2c41340ea35119ba3225c8c9b710d9ced07)
Diffstat (limited to 'src/partcontroller.cpp')
-rw-r--r--src/partcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partcontroller.cpp b/src/partcontroller.cpp
index 4d375b0e..b34eb4f9 100644
--- a/src/partcontroller.cpp
+++ b/src/partcontroller.cpp
@@ -1515,7 +1515,7 @@ void PartController::slotNewStatus( )
{
kdDebug(9000) << k_funcinfo << endl;
- TQObject * senderobj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() ));
+ TQObject * senderobj = const_cast<TQObject*>(sender());
KTextEditor::View * view = dynamic_cast<KTextEditor::View*>( senderobj );
if ( view )
{
@@ -1841,7 +1841,7 @@ void PartController::gotoLastEditPos()
void PartController::slotDocumentUrlChanged()
{
- TQObject *obj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
+ TQObject *obj = const_cast<TQObject*>(sender());
KTextEditor::Document *doc = dynamic_cast<KTextEditor::Document*>( obj );
if (!doc)
return;