From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/khtml_ext.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'khtml/khtml_ext.h') diff --git a/khtml/khtml_ext.h b/khtml/khtml_ext.h index 4d118b9c8..47ab97228 100644 --- a/khtml/khtml_ext.h +++ b/khtml/khtml_ext.h @@ -29,7 +29,7 @@ #include "khtml_part.h" -#include +#include #include #include @@ -49,12 +49,12 @@ public: virtual int xOffset(); virtual int yOffset(); - virtual void saveState( QDataStream &stream ); - virtual void restoreState( QDataStream &stream ); + virtual void saveState( TQDataStream &stream ); + virtual void restoreState( TQDataStream &stream ); // internal - void editableWidgetFocused( QWidget *widget ); - void editableWidgetBlurred( QWidget *widget ); + void editableWidgetFocused( TQWidget *widget ); + void editableWidgetBlurred( TQWidget *widget ); void setExtensionProxy( KParts::BrowserExtension *proxyExtension ); @@ -85,8 +85,8 @@ private: void callExtensionProxyMethod( const char *method ); KHTMLPart *m_part; - QGuardedPtr m_editableFormWidget; - QGuardedPtr m_extensionProxy; + TQGuardedPtr m_editableFormWidget; + TQGuardedPtr m_extensionProxy; bool m_connectedToClipboard; }; @@ -96,9 +96,9 @@ public: KHTMLPartBrowserHostExtension( KHTMLPart *part ); virtual ~KHTMLPartBrowserHostExtension(); - virtual QStringList frameNames() const; + virtual TQStringList frameNames() const; - virtual const QPtrList frames() const; + virtual const TQPtrList frames() const; virtual bool openURLInFrame( const KURL &url, const KParts::URLArgs &urlArgs ); @@ -112,20 +112,20 @@ private: * @internal * INTERNAL class. *NOT* part of the public API. */ -class KHTMLPopupGUIClient : public QObject, public KXMLGUIClient +class KHTMLPopupGUIClient : public TQObject, public KXMLGUIClient { Q_OBJECT public: - KHTMLPopupGUIClient( KHTMLPart *khtml, const QString &doc, const KURL &url ); + KHTMLPopupGUIClient( KHTMLPart *khtml, const TQString &doc, const KURL &url ); virtual ~KHTMLPopupGUIClient(); - static void saveURL( QWidget *parent, const QString &caption, const KURL &url, - const QMap &metaData = KIO::MetaData(), - const QString &filter = QString::null, long cacheId = 0, - const QString &suggestedFilename = QString::null ); + static void saveURL( TQWidget *parent, const TQString &caption, const KURL &url, + const TQMap &metaData = KIO::MetaData(), + const TQString &filter = TQString::null, long cacheId = 0, + const TQString &suggestedFilename = TQString::null ); static void saveURL( const KURL &url, const KURL &destination, - const QMap &metaData = KIO::MetaData(), + const TQMap &metaData = KIO::MetaData(), long cacheId = 0 ); private slots: void slotSaveLinkAs(); @@ -154,13 +154,13 @@ class KHTMLZoomFactorAction : public KAction Q_OBJECT public: //BCI: remove in KDE 4 - KHTMLZoomFactorAction( KHTMLPart *part, bool direction, const QString &text, const QString &icon, const QObject *receiver, const char *slot, QObject *parent, const char *name ); - KHTMLZoomFactorAction( KHTMLPart *part, bool direction, const QString &text, - const QString &icon, const KShortcut& cut, const QObject *receiver, - const char *slot, QObject *parent, const char *name ); + KHTMLZoomFactorAction( KHTMLPart *part, bool direction, const TQString &text, const TQString &icon, const TQObject *receiver, const char *slot, TQObject *parent, const char *name ); + KHTMLZoomFactorAction( KHTMLPart *part, bool direction, const TQString &text, + const TQString &icon, const KShortcut& cut, const TQObject *receiver, + const char *slot, TQObject *parent, const char *name ); virtual ~KHTMLZoomFactorAction(); - virtual int plug( QWidget *widget, int index ); + virtual int plug( TQWidget *widget, int index ); private slots: void slotActivated( int ); @@ -169,7 +169,7 @@ protected slots: private: void init(KHTMLPart *part, bool direction); private: - QPopupMenu *m_popup; + TQPopupMenu *m_popup; bool m_direction; KHTMLPart *m_part; }; -- cgit v1.2.1