diff options
author | Michele Calgaro <[email protected]> | 2023-08-09 17:18:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-09 21:29:52 +0900 |
commit | 34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (patch) | |
tree | 977ab30a83c5a2cbf48f0353b58b915307c66b6e /tdehtml | |
parent | 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (diff) | |
download | tdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.tar.gz tdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.zip |
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 23278d259378e17087bf9aeaa5e45974dfb74bce)
Diffstat (limited to 'tdehtml')
-rw-r--r-- | tdehtml/java/kjavaappletserver.cpp | 2 | ||||
-rw-r--r-- | tdehtml/tdehtml_ext.cpp | 2 | ||||
-rw-r--r-- | tdehtml/tdehtml_part.cpp | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tdehtml/java/kjavaappletserver.cpp b/tdehtml/java/kjavaappletserver.cpp index 23e805577..64e87c5e5 100644 --- a/tdehtml/java/kjavaappletserver.cpp +++ b/tdehtml/java/kjavaappletserver.cpp @@ -826,7 +826,7 @@ PermissionDialog::~PermissionDialog() void PermissionDialog::clicked() { - m_button = TQT_TQOBJECT_CONST(sender())->name(); + m_button = sender()->name(); static_cast<const TQWidget*>(sender())->parentWidget()->close(); } diff --git a/tdehtml/tdehtml_ext.cpp b/tdehtml/tdehtml_ext.cpp index 03b38a75d..24a2636e4 100644 --- a/tdehtml/tdehtml_ext.cpp +++ b/tdehtml/tdehtml_ext.cpp @@ -263,7 +263,7 @@ void TDEHTMLPartBrowserExtension::copy() void TDEHTMLPartBrowserExtension::searchProvider() { // action name is of form "previewProvider[<searchproviderprefix>:]" - const TQString searchProviderPrefix = TQString( TQT_TQOBJECT_CONST(sender())->name() ).mid( 14 ); + const TQString searchProviderPrefix = TQString( sender()->name() ).mid( 14 ); KURIFilterData data; TQStringList list; diff --git a/tdehtml/tdehtml_part.cpp b/tdehtml/tdehtml_part.cpp index 769c83a9f..31b2fd478 100644 --- a/tdehtml/tdehtml_part.cpp +++ b/tdehtml/tdehtml_part.cpp @@ -5033,7 +5033,7 @@ void TDEHTMLPart::slotParentCompleted() void TDEHTMLPart::slotChildStarted( TDEIO::Job *job ) { - tdehtml::ChildFrame *child = frame( TQT_TQOBJECT_CONST(sender()) ); + tdehtml::ChildFrame *child = frame( sender() ); assert( child ); @@ -5060,7 +5060,7 @@ void TDEHTMLPart::slotChildCompleted() void TDEHTMLPart::slotChildCompleted( bool pendingAction ) { - tdehtml::ChildFrame *child = frame( TQT_TQOBJECT_CONST(sender()) ); + tdehtml::ChildFrame *child = frame( sender() ); if ( child ) { kdDebug(6050) << this << " slotChildCompleted child=" << child << " m_frame=" << child->m_frame << endl; @@ -5093,7 +5093,7 @@ void TDEHTMLPart::slotChildDocCreated() void TDEHTMLPart::slotChildURLRequest( const KURL &url, const KParts::URLArgs &args ) { - tdehtml::ChildFrame *child = frame( TQT_TQOBJECT_CONST(sender())->parent() ); + tdehtml::ChildFrame *child = frame( sender()->parent() ); TDEHTMLPart *callingHtmlPart = const_cast<TDEHTMLPart *>(dynamic_cast<const TDEHTMLPart *>(sender()->parent())); // TODO: handle child target correctly! currently the script are always executed fur the parent |