diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/ecma/ksvg_window.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/ecma/ksvg_window.h')
-rw-r--r-- | ksvg/ecma/ksvg_window.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksvg/ecma/ksvg_window.h b/ksvg/ecma/ksvg_window.h index 28c9699e..db6ac9a3 100644 --- a/ksvg/ecma/ksvg_window.h +++ b/ksvg/ecma/ksvg_window.h @@ -20,7 +20,7 @@ #define KSVG_WINDOW_H #include <kjs/object.h> -#include <qguardedptr.h> +#include <tqguardedptr.h> namespace KSVG { @@ -58,7 +58,7 @@ public: */ static Window *retrieveActive(KJS::ExecState *exec); - QGuardedPtr<KSVG::SVGDocumentImpl> doc() const { return m_doc; } + TQGuardedPtr<KSVG::SVGDocumentImpl> doc() const { return m_doc; } int installTimeout(const KJS::UString &handler, int t, bool singleShot); void clearTimeout(int timerId); @@ -82,23 +82,23 @@ public: private: WindowQObject *winq; - QGuardedPtr<KSVG::SVGDocumentImpl> m_doc; + TQGuardedPtr<KSVG::SVGDocumentImpl> m_doc; }; class ScheduledAction { public: ScheduledAction(KJS::Object _func, KJS::List _args, bool _singleShot); - ScheduledAction(QString _code, bool _singleShot); + ScheduledAction(TQString _code, bool _singleShot); ~ScheduledAction(); void execute(Window *window); KJS::Object func; KJS::List args; - QString code; + TQString code; bool isFunction; bool singleShot; }; -class WindowQObject : public QObject { +class WindowQObject : public TQObject { Q_OBJECT public: WindowQObject(Window *w); @@ -111,11 +111,11 @@ public slots: protected slots: void parentDestroyed(); protected: - void timerEvent(QTimerEvent *e); + void timerEvent(TQTimerEvent *e); private: Window *parent; //KHTMLPart *part; // not guarded, may be dangling - QMap<int, ScheduledAction*> scheduledActions; + TQMap<int, ScheduledAction*> scheduledActions; }; } |