aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-06-28 13:35:56 +0200
committerMontel Laurent <[email protected]>2016-06-28 13:35:56 +0200
commitc72bc1a483d6cc60b364f00f1009465ddbe407f7 (patch)
tree2751cf949dafcc4fb9b2a440be337a27a08f58ef
parent850b6b71dd7d7b31060591835ab1be03227d2c61 (diff)
Add namespace
-rw-r--r--src/grantleeki18nlocalizer.cpp1
-rw-r--r--src/grantleeki18nlocalizer.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/grantleeki18nlocalizer.cpp b/src/grantleeki18nlocalizer.cpp
index 2fb87a7..480865c 100644
--- a/src/grantleeki18nlocalizer.cpp
+++ b/src/grantleeki18nlocalizer.cpp
@@ -27,6 +27,7 @@
#include <grantlee/safestring.h>
#include <KLocalizedString>
+using namespace GrantleeTheme;
GrantleeKi18nLocalizer::GrantleeKi18nLocalizer()
: Grantlee::QtLocalizer()
diff --git a/src/grantleeki18nlocalizer.h b/src/grantleeki18nlocalizer.h
index e2006db..6e5d353 100644
--- a/src/grantleeki18nlocalizer.h
+++ b/src/grantleeki18nlocalizer.h
@@ -27,7 +27,8 @@
#include <QVariantHash>
class KLocalizedString;
-
+namespace GrantleeTheme
+{
class GRANTLEETHEME_EXPORT GrantleeKi18nLocalizer : public Grantlee::QtLocalizer
{
public:
@@ -57,5 +58,6 @@ private:
const QVariantList &arguments) const;
QByteArray mApplicationDomain;
};
+}
#endif // GRANTLEEKI18NLOCALIZER_H