diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/parts/preview/whtmlpart.h | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parts/preview/whtmlpart.h')
-rw-r--r-- | quanta/parts/preview/whtmlpart.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/quanta/parts/preview/whtmlpart.h b/quanta/parts/preview/whtmlpart.h index 1c0c83c0..63be955b 100644 --- a/quanta/parts/preview/whtmlpart.h +++ b/quanta/parts/preview/whtmlpart.h @@ -18,7 +18,7 @@ #ifndef WHTMLPART_H #define WHTMLPART_H -#include <qstrlist.h> +#include <tqstrlist.h> #include <khtml_part.h> @@ -30,8 +30,8 @@ class KPopupMenu; class WHTMLPart : public KHTMLPart { Q_OBJECT public: - WHTMLPart(QWidget *parentWidget = 0, const char *widgetname = 0, bool enableViewSource = false, - QObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI ); + WHTMLPart(TQWidget *parentWidget = 0, const char *widgetname = 0, bool enableViewSource = false, + TQObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI ); virtual ~WHTMLPart(); /** Specify the URL where the preview was started */ @@ -46,29 +46,29 @@ public slots: */ void forward(); void back(); - void popupMenu(const QString &url, const QPoint &point); + void popupMenu(const TQString &url, const TQPoint &point); void slotViewSource(); - void addToHistory(const QString &url); - virtual bool eventFilter(QObject *watched, QEvent *e); + void addToHistory(const TQString &url); + virtual bool eventFilter(TQObject *watched, TQEvent *e); signals: void updateStatus( bool back, bool forward ); void previewHasFocus(bool focus); void showPreview(bool show); - void openFile(const KURL&, const QString&, bool); + void openFile(const KURL&, const TQString&, bool); protected: - virtual void urlSelected( const QString &url, int button, int state, const QString &_target, KParts::URLArgs args = KParts::URLArgs()); - virtual KParts::ReadOnlyPart *createPart( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const QString &mimetype, QString &serviceName, - QStringList &serviceTypes, const QStringList ¶ms); + virtual void urlSelected( const TQString &url, int button, int state, const TQString &_target, KParts::URLArgs args = KParts::URLArgs()); + virtual KParts::ReadOnlyPart *createPart( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const TQString &mimetype, TQString &serviceName, + TQStringList &serviceTypes, const TQStringList ¶ms); private: KURL m_previewedURL; KPopupMenu *m_contextMenu; - QStrList history; + TQStrList history; unsigned int hpos; bool m_enableViewSource; }; |