summaryrefslogtreecommitdiffstats
path: root/ksvg/ecma/ksvg_window.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /ksvg/ecma/ksvg_window.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/ecma/ksvg_window.h')
-rw-r--r--ksvg/ecma/ksvg_window.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/ksvg/ecma/ksvg_window.h b/ksvg/ecma/ksvg_window.h
index db6ac9a3..6f1e511a 100644
--- a/ksvg/ecma/ksvg_window.h
+++ b/ksvg/ecma/ksvg_window.h
@@ -25,14 +25,14 @@
namespace KSVG {
class SVGDocumentImpl;
-class WindowQObject;
+class WindowTQObject;
// This is currently a fork of khtml's Window object, simplified.
// However in the long run it could become a base class for it.
// Author: David Faure <faure@kde.org>
class Window : public KJS::ObjectImp {
friend class WindowFunc;
- friend class WindowQObject;
+ friend class WindowTQObject;
friend class ScheduledAction;
public:
Window(KSVG::SVGDocumentImpl *p);
@@ -81,7 +81,7 @@ public:
static const struct KJS::HashTable s_hashTable;
private:
- WindowQObject *winq;
+ WindowTQObject *winq;
TQGuardedPtr<KSVG::SVGDocumentImpl> m_doc;
};
@@ -98,22 +98,23 @@ public:
bool singleShot;
};
-class WindowQObject : public TQObject {
+class WindowTQObject : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- WindowQObject(Window *w);
- ~WindowQObject();
+ WindowTQObject(Window *w);
+ ~WindowTQObject();
int installTimeout(const KJS::UString &handler, int t, bool singleShot);
int installTimeout(const KJS::Value &func, KJS::List args, int t, bool singleShot);
void clearTimeout(int timerId, bool delAction = true);
public slots:
void timeoutClose();
protected slots:
- void parentDestroyed();
+ void tqparentDestroyed();
protected:
void timerEvent(TQTimerEvent *e);
private:
- Window *parent;
+ Window *tqparent;
//KHTMLPart *part; // not guarded, may be dangling
TQMap<int, ScheduledAction*> scheduledActions;
};