summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/java/kjavaappletserver.cpp2
-rw-r--r--tdehtml/tdehtml_ext.cpp2
-rw-r--r--tdehtml/tdehtml_part.cpp6
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