summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/caldav/export.h10
-rw-r--r--tderesources/caldav/plugin.cpp2
-rw-r--r--tderesources/carddav/export.h10
3 files changed, 11 insertions, 11 deletions
diff --git a/tderesources/caldav/export.h b/tderesources/caldav/export.h
index c439f53f4..9a70e8ce3 100644
--- a/tderesources/caldav/export.h
+++ b/tderesources/caldav/export.h
@@ -30,22 +30,22 @@
Boston, MA 02110-1301, USA.
*/
-#ifndef KRESOURCES_TDEPIM_EXPORT_H
-#define KRESOURCES_TDEPIM_EXPORT_H
+#ifndef TDERESOURCES_TDEPIM_EXPORT_H
+#define TDERESOURCES_TDEPIM_EXPORT_H
/** Exports a function returning tderesources plugin factory, for resource class @a resourceclass,
* @a resourceconfigclass config class and @a catalog catalog.
*/
-#define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \
+#define EXPORT_TDERESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \
typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
class Factory : public FactoryBase { \
public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \
}; \
K_EXPORT_PLUGIN( Factory )
-/** Like EXPORT_KRESOURCES_PLUGIN but allows to specify two catalogs.
+/** Like EXPORT_TDERESOURCES_PLUGIN but allows to specify two catalogs.
*/
-#define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \
+#define EXPORT_TDERESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \
typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
class Factory : public FactoryBase { \
public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \
diff --git a/tderesources/caldav/plugin.cpp b/tderesources/caldav/plugin.cpp
index 9ce6d60f6..c7ea06e81 100644
--- a/tderesources/caldav/plugin.cpp
+++ b/tderesources/caldav/plugin.cpp
@@ -32,7 +32,7 @@ using namespace KCal;
========================================================================*/
// Creates the resource factory.
-//EXPORT_KRESOURCES_PLUGIN2( ResourceCalDav, ResourceCalDavConfig, "libkcal", "kres_caldav" )
+//EXPORT_TDERESOURCES_PLUGIN2( ResourceCalDav, ResourceCalDavConfig, "libkcal", "kres_caldav" )
typedef KRES::PluginFactory<ResourceCalDav, ResourceCalDavConfig> CalDavFactory;
diff --git a/tderesources/carddav/export.h b/tderesources/carddav/export.h
index c439f53f4..9a70e8ce3 100644
--- a/tderesources/carddav/export.h
+++ b/tderesources/carddav/export.h
@@ -30,22 +30,22 @@
Boston, MA 02110-1301, USA.
*/
-#ifndef KRESOURCES_TDEPIM_EXPORT_H
-#define KRESOURCES_TDEPIM_EXPORT_H
+#ifndef TDERESOURCES_TDEPIM_EXPORT_H
+#define TDERESOURCES_TDEPIM_EXPORT_H
/** Exports a function returning tderesources plugin factory, for resource class @a resourceclass,
* @a resourceconfigclass config class and @a catalog catalog.
*/
-#define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \
+#define EXPORT_TDERESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \
typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
class Factory : public FactoryBase { \
public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \
}; \
K_EXPORT_PLUGIN( Factory )
-/** Like EXPORT_KRESOURCES_PLUGIN but allows to specify two catalogs.
+/** Like EXPORT_TDERESOURCES_PLUGIN but allows to specify two catalogs.
*/
-#define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \
+#define EXPORT_TDERESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \
typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \
class Factory : public FactoryBase { \
public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \