summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-08-25 13:52:10 +0200
committerMontel Laurent <[email protected]>2015-08-25 14:00:52 +0200
commita1c492673e83ed13c9ad65d20b7653bbb9f7d58e (patch)
treebfdd9c6d97f63575bce1ec66ac0c10e295a69e79
parentb606c67fe0be42c35f7bfac9a948d90be36443cf (diff)
Use namespace
-rw-r--r--kaddressbookgrantlee/formatter/grantleecontactutils.cpp1
-rw-r--r--kaddressbookgrantlee/formatter/grantleecontactutils.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/kaddressbookgrantlee/formatter/grantleecontactutils.cpp b/kaddressbookgrantlee/formatter/grantleecontactutils.cpp
index 283ed98..33b654a 100644
--- a/kaddressbookgrantlee/formatter/grantleecontactutils.cpp
+++ b/kaddressbookgrantlee/formatter/grantleecontactutils.cpp
@@ -18,6 +18,7 @@
#include "grantleecontactutils.h"
#include <KLocalizedString>
+using namespace KAddressBookGrantlee;
GrantleeContactUtils::GrantleeContactUtils()
{
diff --git a/kaddressbookgrantlee/formatter/grantleecontactutils.h b/kaddressbookgrantlee/formatter/grantleecontactutils.h
index d0d4271..fe098c7 100644
--- a/kaddressbookgrantlee/formatter/grantleecontactutils.h
+++ b/kaddressbookgrantlee/formatter/grantleecontactutils.h
@@ -20,7 +20,8 @@
#include "kaddressbook_grantlee_export.h"
#include <QVariantHash>
-
+namespace KAddressBookGrantlee
+{
class KADDRESSBOOK_GRANTLEE_EXPORT GrantleeContactUtils
{
public:
@@ -28,5 +29,5 @@ public:
QString variableI18n(const QString &variable);
void insertVariableToQVariantHash(QVariantHash &contactI18n, const QString &variable);
};
-
+}
#endif // GRANTLEECONTACTUTILS_H