summaryrefslogtreecommitdiffstats
path: root/tdehtml/ecma
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-01 21:32:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-02 21:11:19 +0900
commit62949e0a61c1340c38a696a7652fde623c36b0ae (patch)
tree9a6ef1b5a2cb7910f984368933eda680133fef95 /tdehtml/ecma
parentbef9baf7ee87538c596dd04c8d379b1814bb94e8 (diff)
downloadtdelibs-62949e0a61c1340c38a696a7652fde623c36b0ae.tar.gz
tdelibs-62949e0a61c1340c38a696a7652fde623c36b0ae.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bba3128085abe1a32cca43d9fb8ac02c2a29bf6b)
Diffstat (limited to 'tdehtml/ecma')
-rw-r--r--tdehtml/ecma/kjs_binding.cpp18
-rw-r--r--tdehtml/ecma/kjs_binding.h2
-rw-r--r--tdehtml/ecma/kjs_dom.h2
-rw-r--r--tdehtml/ecma/kjs_window.h4
4 files changed, 13 insertions, 13 deletions
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<TDEHTMLPart> 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);