summaryrefslogtreecommitdiffstats
path: root/tdehtml/misc
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/misc')
-rw-r--r--tdehtml/misc/htmlattrs.c2
-rw-r--r--tdehtml/misc/htmlattrs.h2
-rw-r--r--tdehtml/misc/htmltags.c2
-rw-r--r--tdehtml/misc/htmltags.h2
-rw-r--r--tdehtml/misc/loader.h6
-rw-r--r--tdehtml/misc/loader_jpeg.cpp2
-rw-r--r--tdehtml/misc/makeattrs4
-rw-r--r--tdehtml/misc/maketags4
8 files changed, 12 insertions, 12 deletions
diff --git a/tdehtml/misc/htmlattrs.c b/tdehtml/misc/htmlattrs.c
index e37f4c5c9..1c11494ec 100644
--- a/tdehtml/misc/htmlattrs.c
+++ b/tdehtml/misc/htmlattrs.c
@@ -1013,7 +1013,7 @@ static const unsigned short attrList[] = {
65535
};
-const char* KDE_NO_EXPORT getAttrName(unsigned short id)
+const char* TDE_NO_EXPORT getAttrName(unsigned short id)
{
if (!id || id > TOTAL_KEYWORDS) return "";
return spool_attr + wordlist_attr[attrList[id]].name;
diff --git a/tdehtml/misc/htmlattrs.h b/tdehtml/misc/htmlattrs.h
index d9aaff067..7f28a5081 100644
--- a/tdehtml/misc/htmlattrs.h
+++ b/tdehtml/misc/htmlattrs.h
@@ -163,6 +163,6 @@ using namespace DOM;
#define ATTR_VALUE 152
#define ATTR_LAST_ATTR 152
#define ATTR_LAST_CI_ATTR 103
-const char* getAttrName(unsigned short id) KDE_NO_EXPORT;
+const char* getAttrName(unsigned short id) TDE_NO_EXPORT;
#endif
diff --git a/tdehtml/misc/htmltags.c b/tdehtml/misc/htmltags.c
index fa701fe69..0ccdfbb01 100644
--- a/tdehtml/misc/htmltags.c
+++ b/tdehtml/misc/htmltags.c
@@ -680,7 +680,7 @@ static const unsigned short tagSList[] = {
630, 635, 640, 646, 0
};
-const char* KDE_NO_EXPORT getTagName(unsigned short id)
+const char* TDE_NO_EXPORT getTagName(unsigned short id)
{
if(id > ID_CLOSE_TAG*2) id = ID_CLOSE_TAG+1;
return &tagStable[tagSList[id]];
diff --git a/tdehtml/misc/htmltags.h b/tdehtml/misc/htmltags.h
index bf9a8ded8..ae4f7eba9 100644
--- a/tdehtml/misc/htmltags.h
+++ b/tdehtml/misc/htmltags.h
@@ -7,7 +7,7 @@
#include "dom/dom_string.h"
#include <tdeglobal.h>
-KDE_NO_EXPORT const char* getTagName(unsigned short id);
+TDE_NO_EXPORT const char* getTagName(unsigned short id);
#define ID_A 1
#define ID_ABBR 2
diff --git a/tdehtml/misc/loader.h b/tdehtml/misc/loader.h
index e340b3023..826759098 100644
--- a/tdehtml/misc/loader.h
+++ b/tdehtml/misc/loader.h
@@ -457,7 +457,7 @@ namespace tdehtml
* init the cache in case it's not already. This needs to get called once
* before using it.
*/
- KDE_EXPORT static void init();
+ TDE_EXPORT static void init();
/**
* Ask the cache for some url. Will return a cachedObject, and
@@ -481,14 +481,14 @@ namespace tdehtml
static void setSize( int bytes );
static int size() { return maxSize; };
static void statistics();
- KDE_EXPORT static void flush(bool force=false);
+ TDE_EXPORT static void flush(bool force=false);
/**
* clears the cache
* Warning: call this only at the end of your program, to clean
* up memory (useful for finding memory holes)
*/
- KDE_EXPORT static void clear();
+ TDE_EXPORT static void clear();
static Loader *loader() { return m_loader; }
diff --git a/tdehtml/misc/loader_jpeg.cpp b/tdehtml/misc/loader_jpeg.cpp
index 9ee5378f9..61f091105 100644
--- a/tdehtml/misc/loader_jpeg.cpp
+++ b/tdehtml/misc/loader_jpeg.cpp
@@ -90,7 +90,7 @@ struct tdehtml_jpeg_source_mgr : public jpeg_source_mgr {
bool do_progressive;
public:
- tdehtml_jpeg_source_mgr() KDE_NO_EXPORT;
+ tdehtml_jpeg_source_mgr() TDE_NO_EXPORT;
};
diff --git a/tdehtml/misc/makeattrs b/tdehtml/misc/makeattrs
index 935f350bd..1ed890c2c 100644
--- a/tdehtml/misc/makeattrs
+++ b/tdehtml/misc/makeattrs
@@ -67,7 +67,7 @@ print header "#define ATTR_LAST_CI_ATTR $last_ci_attr\n";
print out "%%\n";
close out;
-print header "const char* getAttrName(unsigned short id) KDE_NO_EXPORT;\n";
+print header "const char* getAttrName(unsigned short id) TDE_NO_EXPORT;\n";
print header "\n#endif\n";
close header;
@@ -103,7 +103,7 @@ while(defined ($line = shift @a))
print OUT " " .$hmap{$amap{$l}}.",\n";
}
print OUT " 65535\n};\n\n";
-print OUT "const char* KDE_NO_EXPORT getAttrName(unsigned short id)\n{\n";
+print OUT "const char* TDE_NO_EXPORT getAttrName(unsigned short id)\n{\n";
print OUT " if (!id || id > TOTAL_KEYWORDS) return \"\";\n";
print OUT " return spool_attr + wordlist_attr[attrList[id]].name;\n";
print OUT "}\n";
diff --git a/tdehtml/misc/maketags b/tdehtml/misc/maketags
index 8a6abf0ed..0b6dabefd 100644
--- a/tdehtml/misc/maketags
+++ b/tdehtml/misc/maketags
@@ -43,7 +43,7 @@ print header <<EOF;
#include "dom/dom_string.h"
#include <tdeglobal.h>
-KDE_NO_EXPORT const char* getTagName(unsigned short id);
+TDE_NO_EXPORT const char* getTagName(unsigned short id);
EOF
@@ -118,7 +118,7 @@ foreach my $line (@tags)
++$c;
}
print OUT " 0\n};\n\n";
-print OUT "const char* KDE_NO_EXPORT getTagName(unsigned short id)\n{\n";
+print OUT "const char* TDE_NO_EXPORT getTagName(unsigned short id)\n{\n";
print OUT " if(id > ID_CLOSE_TAG*2) id = ID_CLOSE_TAG+1;\n";
print OUT " return &tagStable[tagSList[id]];\n}\n";