From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kresources/caldav/export.h | 6 +++--- kresources/caldav/plugin.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kresources/caldav') diff --git a/kresources/caldav/export.h b/kresources/caldav/export.h index e747b58a7..2e22c5572 100644 --- a/kresources/caldav/export.h +++ b/kresources/caldav/export.h @@ -39,7 +39,7 @@ #define EXPORT_KRESOURCES_PLUGIN( resourceclass, resourceconfigclass, catalog ) \ typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \ class Factory : public FactoryBase { \ - public: Factory() { KGlobal::locale()->insertCatalogue(catalog); } \ + public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog); } \ }; \ K_EXPORT_PLUGIN( Factory ) @@ -48,8 +48,8 @@ #define EXPORT_KRESOURCES_PLUGIN2( resourceclass, resourceconfigclass, catalog1, catalog2 ) \ typedef KRES::PluginFactory< resourceclass, resourceconfigclass > FactoryBase; \ class Factory : public FactoryBase { \ - public: Factory() { KGlobal::locale()->insertCatalogue(catalog1); \ - KGlobal::locale()->insertCatalogue(catalog2); } \ + public: Factory() { TDEGlobal::locale()->insertCatalogue(catalog1); \ + TDEGlobal::locale()->insertCatalogue(catalog2); } \ }; \ K_EXPORT_PLUGIN( Factory ) diff --git a/kresources/caldav/plugin.cpp b/kresources/caldav/plugin.cpp index ffccf6782..9ce6d60f6 100644 --- a/kresources/caldav/plugin.cpp +++ b/kresources/caldav/plugin.cpp @@ -40,8 +40,8 @@ extern "C" { void *init_kcal_caldav() { - KGlobal::locale()->insertCatalogue( "libkcal" ); - KGlobal::locale()->insertCatalogue( "kres_caldav" ); + TDEGlobal::locale()->insertCatalogue( "libkcal" ); + TDEGlobal::locale()->insertCatalogue( "kres_caldav" ); return new CalDavFactory; } } -- cgit v1.2.1