From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/khtml_ext.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'khtml/khtml_ext.cpp') diff --git a/khtml/khtml_ext.cpp b/khtml/khtml_ext.cpp index 7cadfb944..4f2ceca79 100644 --- a/khtml/khtml_ext.cpp +++ b/khtml/khtml_ext.cpp @@ -315,7 +315,7 @@ void KHTMLPartBrowserExtension::callExtensionProxyMethod( const char *method ) if ( !m_extensionProxy ) return; - int slot = m_extensionProxy->metaObject()->findSlot( method ); + int slot = m_extensionProxy->tqmetaObject()->findSlot( method ); if ( slot == -1 ) return; @@ -344,9 +344,9 @@ void KHTMLPartBrowserExtension::updateEditActions() bool hasSelection = false; if( m_editableFormWidget) { - if ( ::qt_cast(m_editableFormWidget)) + if ( ::tqqt_cast(m_editableFormWidget)) hasSelection = static_cast( &(*m_editableFormWidget) )->hasSelectedText(); - else if(::qt_cast(m_editableFormWidget)) + else if(::tqqt_cast(m_editableFormWidget)) hasSelection = static_cast( &(*m_editableFormWidget) )->hasSelectedText(); } @@ -809,7 +809,7 @@ void KHTMLPopupGUIClient::saveURL( TQWidget *parent, const TQString &caption, const TQString &filter, long cacheId, const TQString & suggestedFilename ) { - TQString name = TQString::fromLatin1( "index.html" ); + TQString name = TQString::tqfromLatin1( "index.html" ); if ( !suggestedFilename.isEmpty() ) name = suggestedFilename; else if ( !url.fileName().isEmpty() ) -- cgit v1.2.1