diff options
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; }; |