TranslatorsInfo => LxQt::TranslatorsInfo
authorAlexander Sokolov <sokoloff.a@gmail.com>
Sun, 6 Oct 2013 07:21:43 +0000 (11:21 +0400)
committerAlexander Sokolov <sokoloff.a@gmail.com>
Sun, 6 Oct 2013 07:21:43 +0000 (11:21 +0400)
translatorsinfo/translatorsinfo.cpp
translatorsinfo/translatorsinfo.h

index ebf8a3c..b0ec342 100644 (file)
@@ -32,6 +32,8 @@
 #include <QtCore/QTextCodec>
 #include <QtGui/QTextDocument>
 
+using namespace LxQt;
+
 void fillLangguages(QMap<QString, QString> *languages)
 {
     languages->insert("ach"   ,"Acoli");
index 45325cb..0e61cb1 100644 (file)
@@ -31,6 +31,9 @@
 #include <QtCore/QMap>
 #include <QStringList>
 
+namespace LxQt
+{
+
 class Translator
 {
 public:
@@ -67,4 +70,5 @@ private:
     void process(const QString &lang, const QString &englishName, const QString &nativeName, const QString &contact);
 };
 
+} //namecpace LxQt
 #endif // TRANSLATORSINFO_H