diff options
Diffstat (limited to 'khtml/khtml_iface.cc')
-rw-r--r-- | khtml/khtml_iface.cc | 28 |
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(); } |