Commit 8cb57b6c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Add Organization logo

When it doesn't have a nice image, being able to show the company logo is useful.

Differential Revision: https://phabricator.kde.org/D27619
parent 0f8a2a4a
......@@ -31,6 +31,7 @@ public:
QString name;
QString description;
QUrl image;
QUrl logo;
QString email;
QString telephone;
QUrl url;
......@@ -43,6 +44,7 @@ KITINERARY_MAKE_BASE_CLASS(Organization)
KITINERARY_MAKE_PROPERTY(Organization, QString, name, setName)
KITINERARY_MAKE_PROPERTY(Organization, QString, description, setDescription)
KITINERARY_MAKE_PROPERTY(Organization, QUrl, image, setImage)
KITINERARY_MAKE_PROPERTY(Organization, QUrl, logo, setLogo)
KITINERARY_MAKE_PROPERTY(Organization, QString, email, setEmail)
KITINERARY_MAKE_PROPERTY(Organization, QString, telephone, setTelephone)
KITINERARY_MAKE_PROPERTY(Organization, QUrl, url, setUrl)
......
......@@ -45,6 +45,7 @@ class KITINERARY_EXPORT Organization
KITINERARY_PROPERTY(QString, name, setName)
KITINERARY_PROPERTY(QString, description, setDescription)
KITINERARY_PROPERTY(QUrl, image, setImage)
KITINERARY_PROPERTY(QUrl, logo, setLogo)
KITINERARY_PROPERTY(QString, email, setEmail)
KITINERARY_PROPERTY(QString, telephone, setTelephone)
KITINERARY_PROPERTY(QUrl, url, setUrl)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment