summaryrefslogtreecommitdiffstats
path: root/parts/bookmarks/bookmarks_part.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:48:37 +0900
committerMichele Calgaro <[email protected]>2023-08-18 16:42:35 +0900
commit0813a2c41340ea35119ba3225c8c9b710d9ced07 (patch)
treebe99c4c1f95e9a19ddc3d28f7484b4b866e2fce7 /parts/bookmarks/bookmarks_part.cpp
parent03e67cae445e4207ff23b64c813fbc62d24ff364 (diff)
downloadtdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.tar.gz
tdevelop-0813a2c41340ea35119ba3225c8c9b710d9ced07.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'parts/bookmarks/bookmarks_part.cpp')
-rw-r--r--parts/bookmarks/bookmarks_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/bookmarks/bookmarks_part.cpp b/parts/bookmarks/bookmarks_part.cpp
index 04fee8d7..409dfacc 100644
--- a/parts/bookmarks/bookmarks_part.cpp
+++ b/parts/bookmarks/bookmarks_part.cpp
@@ -124,7 +124,7 @@ void BookmarksPart::reload()
{
//kdDebug(0) << "BookmarksPart::reload()" << endl;
- TQObject * senderobj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() ));
+ TQObject * senderobj = const_cast<TQObject*>(sender());
if ( KParts::ReadOnlyPart * ro_part = dynamic_cast<KParts::ReadOnlyPart *>( senderobj ) )
{
if ( partIsSane( ro_part ) )
@@ -140,7 +140,7 @@ void BookmarksPart::marksEvent()
if ( ! _settingMarks )
{
- TQObject * senderobj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() ));
+ TQObject * senderobj = const_cast<TQObject*>(sender());
KParts::ReadOnlyPart * ro_part = dynamic_cast<KParts::ReadOnlyPart *>( senderobj );
if ( partIsSane( ro_part ) && !_dirtyParts.contains( ro_part ) )