summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdefontinst
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-05 17:48:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-05 21:05:14 +0900
commitbeb289c9a974045e2c9388bb281203c346578c59 (patch)
tree094bfeee684ae5ef627bbf08e1820bff946c18da /kcontrol/tdefontinst
parent54334e21a2858cac8e8e2b6553c24d0881005c0e (diff)
downloadtdebase-beb289c9a974045e2c9388bb281203c346578c59.tar.gz
tdebase-beb289c9a974045e2c9388bb281203c346578c59.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 026828840f8255b5c4fde83ea95209f6f1f5ef8f)
Diffstat (limited to 'kcontrol/tdefontinst')
-rw-r--r--kcontrol/tdefontinst/lib/FcEngine.h2
-rw-r--r--kcontrol/tdefontinst/lib/Misc.h38
-rw-r--r--kcontrol/tdefontinst/tdeio/KioFonts.cpp2
-rw-r--r--kcontrol/tdefontinst/thumbnail/FontThumbnail.cpp2
-rw-r--r--kcontrol/tdefontinst/viewpart/FontViewPartFactory.cpp2
5 files changed, 23 insertions, 23 deletions
diff --git a/kcontrol/tdefontinst/lib/FcEngine.h b/kcontrol/tdefontinst/lib/FcEngine.h
index 535baa6e1..5db48b0c3 100644
--- a/kcontrol/tdefontinst/lib/FcEngine.h
+++ b/kcontrol/tdefontinst/lib/FcEngine.h
@@ -45,7 +45,7 @@ typedef struct _XftFont XftFont;
namespace KFI
{
-class KDE_EXPORT CFcEngine
+class TDE_EXPORT CFcEngine
{
public:
diff --git a/kcontrol/tdefontinst/lib/Misc.h b/kcontrol/tdefontinst/lib/Misc.h
index ee8de5445..3fd49d34a 100644
--- a/kcontrol/tdefontinst/lib/Misc.h
+++ b/kcontrol/tdefontinst/lib/Misc.h
@@ -50,25 +50,25 @@ namespace Misc
DIR_PERMS = 0755
};
- extern KDE_EXPORT bool check(const TQString &path, unsigned int fmt, bool checkW=false);
- inline KDE_EXPORT bool fExists(const TQString &p) { return check(p, S_IFREG, false); }
- inline KDE_EXPORT bool dExists(const TQString &p) { return check(p, S_IFDIR, false); }
- inline KDE_EXPORT bool fWritable(const TQString &p) { return check(p, S_IFREG, true); }
- inline KDE_EXPORT bool dWritable(const TQString &p) { return check(p, S_IFDIR, true); }
- inline KDE_EXPORT bool isLink(const TQString &i) { return check(i, S_IFLNK, false); }
- extern KDE_EXPORT TQString linkedTo(const TQString &i);
- extern KDE_EXPORT TQString dirSyntax(const TQString &d); // Has trailing slash: /file/path/
- extern KDE_EXPORT TQString xDirSyntax(const TQString &d); // No trailing slash: /file/path
- inline KDE_EXPORT TQString fileSyntax(const TQString &f) { return xDirSyntax(f); }
- extern KDE_EXPORT TQString getDir(const TQString &f);
- extern KDE_EXPORT TQString getFile(const TQString &f);
- extern KDE_EXPORT bool createDir(const TQString &dir);
- extern KDE_EXPORT TQString changeExt(const TQString &f, const TQString &newExt);
- extern KDE_EXPORT bool doCmd(const TQString &cmd, const TQString &p1=TQString::null, const TQString &p2=TQString::null, const TQString &p3=TQString::null);
- inline KDE_EXPORT bool root() { return 0==getuid(); }
- extern KDE_EXPORT void getAssociatedUrls(const KURL &url, KURL::List &list, bool afmAndPfm=true, TQWidget *widget=NULL);
- extern KDE_EXPORT void createBackup(const TQString &f);
- extern KDE_EXPORT time_t getTimeStamp(const TQString &item);
+ extern TDE_EXPORT bool check(const TQString &path, unsigned int fmt, bool checkW=false);
+ inline TDE_EXPORT bool fExists(const TQString &p) { return check(p, S_IFREG, false); }
+ inline TDE_EXPORT bool dExists(const TQString &p) { return check(p, S_IFDIR, false); }
+ inline TDE_EXPORT bool fWritable(const TQString &p) { return check(p, S_IFREG, true); }
+ inline TDE_EXPORT bool dWritable(const TQString &p) { return check(p, S_IFDIR, true); }
+ inline TDE_EXPORT bool isLink(const TQString &i) { return check(i, S_IFLNK, false); }
+ extern TDE_EXPORT TQString linkedTo(const TQString &i);
+ extern TDE_EXPORT TQString dirSyntax(const TQString &d); // Has trailing slash: /file/path/
+ extern TDE_EXPORT TQString xDirSyntax(const TQString &d); // No trailing slash: /file/path
+ inline TDE_EXPORT TQString fileSyntax(const TQString &f) { return xDirSyntax(f); }
+ extern TDE_EXPORT TQString getDir(const TQString &f);
+ extern TDE_EXPORT TQString getFile(const TQString &f);
+ extern TDE_EXPORT bool createDir(const TQString &dir);
+ extern TDE_EXPORT TQString changeExt(const TQString &f, const TQString &newExt);
+ extern TDE_EXPORT bool doCmd(const TQString &cmd, const TQString &p1=TQString::null, const TQString &p2=TQString::null, const TQString &p3=TQString::null);
+ inline TDE_EXPORT bool root() { return 0==getuid(); }
+ extern TDE_EXPORT void getAssociatedUrls(const KURL &url, KURL::List &list, bool afmAndPfm=true, TQWidget *widget=NULL);
+ extern TDE_EXPORT void createBackup(const TQString &f);
+ extern TDE_EXPORT time_t getTimeStamp(const TQString &item);
}
}
diff --git a/kcontrol/tdefontinst/tdeio/KioFonts.cpp b/kcontrol/tdefontinst/tdeio/KioFonts.cpp
index 54de7bdcf..0dccc06a3 100644
--- a/kcontrol/tdefontinst/tdeio/KioFonts.cpp
+++ b/kcontrol/tdefontinst/tdeio/KioFonts.cpp
@@ -97,7 +97,7 @@ static const int constMaxFcCheckTime=10;
extern "C"
{
- KDE_EXPORT int kdemain(int argc, char **argv);
+ TDE_EXPORT int kdemain(int argc, char **argv);
}
int kdemain(int argc, char **argv)
diff --git a/kcontrol/tdefontinst/thumbnail/FontThumbnail.cpp b/kcontrol/tdefontinst/thumbnail/FontThumbnail.cpp
index a053393f4..c7c00ef0f 100644
--- a/kcontrol/tdefontinst/thumbnail/FontThumbnail.cpp
+++ b/kcontrol/tdefontinst/thumbnail/FontThumbnail.cpp
@@ -38,7 +38,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new KFI::CFontThumbnail;
}
diff --git a/kcontrol/tdefontinst/viewpart/FontViewPartFactory.cpp b/kcontrol/tdefontinst/viewpart/FontViewPartFactory.cpp
index a43f9d1d2..90b65eebf 100644
--- a/kcontrol/tdefontinst/viewpart/FontViewPartFactory.cpp
+++ b/kcontrol/tdefontinst/viewpart/FontViewPartFactory.cpp
@@ -35,7 +35,7 @@
extern "C"
{
- KDE_EXPORT void* init_libtdefontviewpart()
+ TDE_EXPORT void* init_libtdefontviewpart()
{
TDEGlobal::locale()->insertCatalogue("tdefontinst");
return new KFI::CFontViewPartFactory;