Country register plugin created

This commit is contained in:
2017-05-03 22:23:49 +02:00
parent a0f325708b
commit 25c481f5f1
14 changed files with 327 additions and 1 deletions
+76
View File
@@ -0,0 +1,76 @@
#include "countrydata.h"
CountryData::CountryData(QObject *parent) : QObject(parent)
{
}
int CountryData::id() const
{
return m_id;
}
void CountryData::setId(int id)
{
m_id = id;
}
QString CountryData::code2() const
{
return m_code2;
}
void CountryData::setCode2(const QString &code2)
{
m_code2 = code2;
}
QString CountryData::code3() const
{
return m_code3;
}
void CountryData::setCode3(const QString &code3)
{
m_code3 = code3;
}
QString CountryData::czechFullName() const
{
return m_czechFullName;
}
void CountryData::setCzechFullName(const QString &czechFullName)
{
m_czechFullName = czechFullName;
}
QString CountryData::czechName() const
{
return m_czechName;
}
void CountryData::setCzechName(const QString &czechName)
{
m_czechName = czechName;
}
QString CountryData::englishFullName() const
{
return m_englishFullName;
}
void CountryData::setEnglishFullName(const QString &englishFullName)
{
m_englishFullName = englishFullName;
}
QString CountryData::englishName() const
{
return m_englishName;
}
void CountryData::setEnglishName(const QString &englishName)
{
m_englishName = englishName;
}