summaryrefslogtreecommitdiffstats
path: root/khtml/khtml_iface.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/khtml_iface.cc
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/khtml_iface.cc')
-rw-r--r--khtml/khtml_iface.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/khtml/khtml_iface.cc b/khtml/khtml_iface.cc
index 4829624b9..2746ba0d2 100644
--- a/khtml/khtml_iface.cc
+++ b/khtml/khtml_iface.cc
@@ -23,8 +23,8 @@
#include "khtmlview.h"
#include "khtml_ext.h"
#include <kio/global.h>
-#include <qapplication.h>
-#include <qvariant.h>
+#include <tqapplication.h>
+#include <tqvariant.h>
KHTMLPartIface::KHTMLPartIface( KHTMLPart *_part )
: DCOPObject( _part->dcopObjectId() ), part(_part)
@@ -115,23 +115,23 @@ bool KHTMLPartIface::onlyLocalReferences() const
return part->onlyLocalReferences();
}
-bool KHTMLPartIface::setEncoding( const QString &name )
+bool KHTMLPartIface::setEncoding( const TQString &name )
{
return part->setEncoding(name);
}
-QString KHTMLPartIface::encoding() const
+TQString KHTMLPartIface::encoding() const
{
return part->encoding();
}
-void KHTMLPartIface::setFixedFont( const QString &name )
+void KHTMLPartIface::setFixedFont( const TQString &name )
{
part->setFixedFont(name);
}
-bool KHTMLPartIface::gotoAnchor( const QString &name )
+bool KHTMLPartIface::gotoAnchor( const TQString &name )
{
return part->gotoAnchor(name);
}
@@ -150,8 +150,8 @@ void KHTMLPartIface::activateNode()
{
KParts::ReadOnlyPart* p = part->currentFrame();
if ( p && p->widget() ) {
- QKeyEvent ev( QKeyEvent::KeyPress, Qt::Key_Return, '\n', 0, "\n" );
- QApplication::sendEvent( p->widget(), &ev );
+ TQKeyEvent ev( TQKeyEvent::KeyPress, Qt::Key_Return, '\n', 0, "\n" );
+ TQApplication::sendEvent( p->widget(), &ev );
}
}
@@ -160,7 +160,7 @@ void KHTMLPartIface::selectAll()
part->selectAll();
}
-QString KHTMLPartIface::lastModified() const
+TQString KHTMLPartIface::lastModified() const
{
return part->lastModified();
}
@@ -185,7 +185,7 @@ void KHTMLPartIface::viewDocumentSource()
part->slotViewDocumentSource();
}
-void KHTMLPartIface::saveBackground(const QString &destination)
+void KHTMLPartIface::saveBackground(const TQString &destination)
{
KURL back = part->backgroundURL();
if (back.isEmpty())
@@ -196,7 +196,7 @@ void KHTMLPartIface::saveBackground(const QString &destination)
KHTMLPopupGUIClient::saveURL( back, KURL( destination ), metaData );
}
-void KHTMLPartIface::saveDocument(const QString &destination)
+void KHTMLPartIface::saveDocument(const TQString &destination)
{
KURL srcURL( part->url() );
@@ -208,12 +208,12 @@ void KHTMLPartIface::saveDocument(const QString &destination)
KHTMLPopupGUIClient::saveURL( srcURL, KURL( destination ), metaData, part->cacheId() );
}
-void KHTMLPartIface::setUserStyleSheet(const QString &styleSheet)
+void KHTMLPartIface::setUserStyleSheet(const TQString &styleSheet)
{
part->setUserStyleSheet(styleSheet);
}
-QString KHTMLPartIface::selectedText() const
+TQString KHTMLPartIface::selectedText() const
{
return part->selectedText();
}
@@ -223,7 +223,7 @@ void KHTMLPartIface::viewFrameSource()
part->slotViewFrameSource();
}
-QString KHTMLPartIface::evalJS(const QString &script)
+TQString KHTMLPartIface::evalJS(const TQString &script)
{
return part->executeScript(DOM::Node(), script).toString();
}