From bba3128085abe1a32cca43d9fb8ac02c2a29bf6b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 1 May 2024 21:32:16 +0900 Subject: Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro --- tdehtml/ecma/kjs_binding.cpp | 18 +++++++++--------- tdehtml/ecma/kjs_binding.h | 2 +- tdehtml/ecma/kjs_dom.h | 2 +- tdehtml/ecma/kjs_window.h | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'tdehtml/ecma') diff --git a/tdehtml/ecma/kjs_binding.cpp b/tdehtml/ecma/kjs_binding.cpp index 0a0a2da47..c3dd39255 100644 --- a/tdehtml/ecma/kjs_binding.cpp +++ b/tdehtml/ecma/kjs_binding.cpp @@ -395,18 +395,18 @@ Value KJS::getLiveConnectValue(KParts::LiveConnectExtension *lc, const TQString } } -/* only with gcc > 3.4 KDE_NO_EXPORT */ +/* only with gcc > 3.4 TDE_NO_EXPORT */ EmbedLiveConnect::EmbedLiveConnect(KParts::LiveConnectExtension *lc, UString n, KParts::LiveConnectExtension::Type t, int id) : m_liveconnect (lc), name(n), objtype(t), objid(id) {} -/* only with gcc > 3.4 KDE_NO_EXPORT */ +/* only with gcc > 3.4 TDE_NO_EXPORT */ EmbedLiveConnect::~EmbedLiveConnect() { if (m_liveconnect) m_liveconnect->unregister(objid); } -KDE_NO_EXPORT +TDE_NO_EXPORT Value EmbedLiveConnect::get(ExecState *, const Identifier & prop) const { if (m_liveconnect) { @@ -419,19 +419,19 @@ Value EmbedLiveConnect::get(ExecState *, const Identifier & prop) const return Undefined(); } -KDE_NO_EXPORT +TDE_NO_EXPORT void EmbedLiveConnect::put(ExecState * exec, const Identifier &prop, const Value & value, int) { if (m_liveconnect) m_liveconnect->put(objid, prop.qstring(), value.toString(exec).qstring()); } -KDE_NO_EXPORT +TDE_NO_EXPORT bool EmbedLiveConnect::implementsCall() const { return objtype == KParts::LiveConnectExtension::TypeFunction; } -KDE_NO_EXPORT +TDE_NO_EXPORT Value EmbedLiveConnect::call(ExecState *exec, Object&, const List &args) { if (m_liveconnect) { @@ -447,17 +447,17 @@ Value EmbedLiveConnect::call(ExecState *exec, Object&, const List &args) return Undefined(); } -KDE_NO_EXPORT +TDE_NO_EXPORT bool EmbedLiveConnect::toBoolean(ExecState *) const { return true; } -KDE_NO_EXPORT +TDE_NO_EXPORT Value EmbedLiveConnect::toPrimitive(ExecState *exec, Type) const { return String(toString(exec)); } -KDE_NO_EXPORT +TDE_NO_EXPORT UString EmbedLiveConnect::toString(ExecState *) const { TQString str; const char *type = objtype == KParts::LiveConnectExtension::TypeFunction ? "Function" : "Object"; diff --git a/tdehtml/ecma/kjs_binding.h b/tdehtml/ecma/kjs_binding.h index b6d60348e..f8276bcb8 100644 --- a/tdehtml/ecma/kjs_binding.h +++ b/tdehtml/ecma/kjs_binding.h @@ -89,7 +89,7 @@ namespace KJS { * that the interpreter runs for. * The interpreter also stores the DOM object - >KJS::DOMObject cache. */ - class KDE_EXPORT ScriptInterpreter : public Interpreter + class TDE_EXPORT ScriptInterpreter : public Interpreter { public: ScriptInterpreter( const Object &global, tdehtml::ChildFrame* frame ); diff --git a/tdehtml/ecma/kjs_dom.h b/tdehtml/ecma/kjs_dom.h index e812745ea..57f8678f9 100644 --- a/tdehtml/ecma/kjs_dom.h +++ b/tdehtml/ecma/kjs_dom.h @@ -246,7 +246,7 @@ namespace KJS { }; bool checkNodeSecurity(ExecState *exec, const DOM::Node& n); - KDE_EXPORT Value getDOMNode(ExecState *exec, const DOM::Node& n); + TDE_EXPORT Value getDOMNode(ExecState *exec, const DOM::Node& n); Value getDOMNamedNodeMap(ExecState *exec, const DOM::NamedNodeMap& m); Value getDOMNodeList(ExecState *exec, const DOM::NodeList& l); Value getDOMDOMImplementation(ExecState *exec, const DOM::DOMImplementation& i); diff --git a/tdehtml/ecma/kjs_window.h b/tdehtml/ecma/kjs_window.h index 539131fd5..7badb3947 100644 --- a/tdehtml/ecma/kjs_window.h +++ b/tdehtml/ecma/kjs_window.h @@ -68,7 +68,7 @@ namespace KJS { static const ClassInfo info; }; - class KDE_EXPORT Window : public ObjectImp { + class TDE_EXPORT Window : public ObjectImp { friend TQGuardedPtr getInstance(); friend class Location; friend class WindowFunc; @@ -245,7 +245,7 @@ namespace KJS { int timerId; }; - class KDE_EXPORT WindowQObject : public TQObject { + class TDE_EXPORT WindowQObject : public TQObject { TQ_OBJECT public: WindowQObject(Window *w); -- cgit v1.2.1