summaryrefslogtreecommitdiffstats
path: root/kommander/plugin
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-05 17:49:18 +0900
committerMichele Calgaro <[email protected]>2024-05-05 17:49:18 +0900
commit41f38262d296ad0327e2305cc8fe2e933cf7c9ae (patch)
tree69bdd1cf50a9ae5618036e2efa584aa72f1f73c5 /kommander/plugin
parent3d1f691cc0066908ab112c737b9d0a5a71606d1f (diff)
downloadtdewebdev-41f38262d296ad0327e2305cc8fe2e933cf7c9ae.tar.gz
tdewebdev-41f38262d296ad0327e2305cc8fe2e933cf7c9ae.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kommander/plugin')
-rw-r--r--kommander/plugin/specialinformation.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kommander/plugin/specialinformation.cpp b/kommander/plugin/specialinformation.cpp
index 4a1d8903..e8449f1a 100644
--- a/kommander/plugin/specialinformation.cpp
+++ b/kommander/plugin/specialinformation.cpp
@@ -65,7 +65,7 @@ SpecialFunction::SpecialFunction(ParserType p, const TQString& name, const TQStr
}
-TQString KDE_EXPORT SpecialFunction::prototype(uint prototypeFlags) const
+TQString TDE_EXPORT SpecialFunction::prototype(uint prototypeFlags) const
{
if (!m_types.count())
return m_function;
@@ -84,21 +84,21 @@ TQString KDE_EXPORT SpecialFunction::prototype(uint prototypeFlags) const
return TQString("%1(%2)").arg(m_function).arg(params.join(", "));
}
-TQString KDE_EXPORT SpecialFunction::argumentName(uint i) const
+TQString TDE_EXPORT SpecialFunction::argumentName(uint i) const
{
if (i < m_args.count())
return m_args[i];
return TQString();
}
-TQString KDE_EXPORT SpecialFunction::argumentType(uint i) const
+TQString TDE_EXPORT SpecialFunction::argumentType(uint i) const
{
if (i < m_types.count())
return m_types[i];
return TQString();
}
-int KDE_EXPORT SpecialFunction::argumentCount() const
+int TDE_EXPORT SpecialFunction::argumentCount() const
{
return m_types.count();
}
@@ -106,7 +106,7 @@ int KDE_EXPORT SpecialFunction::argumentCount() const
-int KDE_EXPORT SpecialInformation::function(int group, const TQString& fname)
+int TDE_EXPORT SpecialInformation::function(int group, const TQString& fname)
{
TQString f = fname.lower();
if (m_functions.contains(group) && m_functions[group].contains(f))
@@ -116,13 +116,13 @@ int KDE_EXPORT SpecialInformation::function(int group, const TQString& fname)
return -1;
}
-KDE_EXPORT SpecialFunction SpecialInformation::functionObject(const TQString& gname, const TQString& fname)
+TDE_EXPORT SpecialFunction SpecialInformation::functionObject(const TQString& gname, const TQString& fname)
{
int gid = group(gname);
return m_specials[gid][function(gid, fname)];
}
-int KDE_EXPORT SpecialInformation::group(const TQString& gname)
+int TDE_EXPORT SpecialInformation::group(const TQString& gname)
{
if (m_groups.contains(gname))
return m_groups[gname];
@@ -139,7 +139,7 @@ bool SpecialInformation::isValid(const TQString& gname, const TQString& fname)
return function(group(gname), fname) != -1;
}
-bool KDE_EXPORT SpecialInformation::isValid(int gname, int fname, SpecialFunction::ParserType p)
+bool TDE_EXPORT SpecialInformation::isValid(int gname, int fname, SpecialFunction::ParserType p)
{
return m_specials.contains(gname) && m_specials[gname].contains(fname)
&& m_specials[gname][fname].isSupported(p);
@@ -153,14 +153,14 @@ bool SpecialInformation::isValid(const TQString& gname, const TQString& fname,
return f != -1 && m_specials[g][f].isSupported(p);
}
-int KDE_EXPORT SpecialInformation::minArg(int gname, int fname)
+int TDE_EXPORT SpecialInformation::minArg(int gname, int fname)
{
if (isValid(gname, fname))
return m_specials[gname][fname].minArg();
return -1;
}
-int KDE_EXPORT SpecialInformation::maxArg(int gname, int fname)
+int TDE_EXPORT SpecialInformation::maxArg(int gname, int fname)
{
if (isValid(gname, fname))
return m_specials[gname][fname].maxArg();
@@ -188,7 +188,7 @@ TQString SpecialInformation::description(int gname, int fname)
return TQString();
}
-TQString KDE_EXPORT SpecialInformation::prototype(int gname, int fname, uint flags)
+TQString TDE_EXPORT SpecialInformation::prototype(int gname, int fname, uint flags)
{
if (isValid(gname, fname))
return m_specials[gname][fname].prototype(flags);
@@ -248,7 +248,7 @@ void SpecialInformation::insertGroup(int id, const TQString& name, const TQStrin
}
}
-TQString KDE_EXPORT SpecialInformation::parserGroupName(const TQString& name)
+TQString TDE_EXPORT SpecialInformation::parserGroupName(const TQString& name)
{
if (m_parserGroups.contains(name))
return m_parserGroups[name];
@@ -256,12 +256,12 @@ TQString KDE_EXPORT SpecialInformation::parserGroupName(const TQString& name)
return name;
}
-TQStringList KDE_EXPORT SpecialInformation::groups()
+TQStringList TDE_EXPORT SpecialInformation::groups()
{
return m_groups.keys();
}
-TQStringList KDE_EXPORT SpecialInformation::functions(const TQString& g)
+TQStringList TDE_EXPORT SpecialInformation::functions(const TQString& g)
{
int gid = group(g);
if (gid == -1)
@@ -281,7 +281,7 @@ bool SpecialFunction::isSupported(ParserType p) const
return (m_parserTypes & p);
}
-void KDE_EXPORT SpecialInformation::registerSpecials()
+void TDE_EXPORT SpecialInformation::registerSpecials()
{
insertGroup(Group::DCOP, "DCOP", "");
insert(DCOP::addUniqueItem, "addUniqueItem(TQString widget, TQString item)",