From 7811b327ac412b1afb4c8cc16424d642457cc6d7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 15 Feb 2013 23:21:29 -0600 Subject: Fix prior commit --- src/common/nokde/nokde_klocale.cpp | 4 ---- src/common/nokde/nokde_klocale.h | 17 ----------------- src/common/nokde/nokde_tdelocale.cpp | 4 ++++ src/common/nokde/nokde_tdelocale.h | 17 +++++++++++++++++ 4 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 src/common/nokde/nokde_klocale.cpp delete mode 100644 src/common/nokde/nokde_klocale.h create mode 100644 src/common/nokde/nokde_tdelocale.cpp create mode 100644 src/common/nokde/nokde_tdelocale.h diff --git a/src/common/nokde/nokde_klocale.cpp b/src/common/nokde/nokde_klocale.cpp deleted file mode 100644 index 327851b..0000000 --- a/src/common/nokde/nokde_klocale.cpp +++ /dev/null @@ -1,4 +0,0 @@ -#include "nokde_tdelocale.h" - -TQString i18n(const TQString &, const TQString &text) { return text; } -TQString locate(const TQString &, const TQString &) { return TQString(); } diff --git a/src/common/nokde/nokde_klocale.h b/src/common/nokde/nokde_klocale.h deleted file mode 100644 index 90b5f47..0000000 --- a/src/common/nokde/nokde_klocale.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef NOKDE_KLOCALE_H -#define NOKDE_KLOCALE_H - -#undef TDECORE_EXPORT -#define TDECORE_EXPORT - -#undef KDE_DEPRECATED -#define KDE_DEPRECATED - -#undef I18N_NOOP -#define I18N_NOOP(x) (x) -#include -inline TQString i18n(const TQString &text) { return text; } -extern TQString i18n(const TQString &index, const TQString &text); -extern TQString locate(const TQString &, const TQString &); - -#endif diff --git a/src/common/nokde/nokde_tdelocale.cpp b/src/common/nokde/nokde_tdelocale.cpp new file mode 100644 index 0000000..327851b --- /dev/null +++ b/src/common/nokde/nokde_tdelocale.cpp @@ -0,0 +1,4 @@ +#include "nokde_tdelocale.h" + +TQString i18n(const TQString &, const TQString &text) { return text; } +TQString locate(const TQString &, const TQString &) { return TQString(); } diff --git a/src/common/nokde/nokde_tdelocale.h b/src/common/nokde/nokde_tdelocale.h new file mode 100644 index 0000000..90b5f47 --- /dev/null +++ b/src/common/nokde/nokde_tdelocale.h @@ -0,0 +1,17 @@ +#ifndef NOKDE_KLOCALE_H +#define NOKDE_KLOCALE_H + +#undef TDECORE_EXPORT +#define TDECORE_EXPORT + +#undef KDE_DEPRECATED +#define KDE_DEPRECATED + +#undef I18N_NOOP +#define I18N_NOOP(x) (x) +#include +inline TQString i18n(const TQString &text) { return text; } +extern TQString i18n(const TQString &index, const TQString &text); +extern TQString locate(const TQString &, const TQString &); + +#endif -- cgit v1.2.1