Commit 2f1d0288 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): little fixes

parent 64e3c942
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// =================================================================== // ===================================================================
class AccountSettingsListModel : public QObject { class AccountSettingsListModel : public QObject {
Q_OBJECT; Q_OBJECT
Q_PROPERTY(int index Q_PROPERTY(int index
READ getDefaultAccount READ getDefaultAccount
......
...@@ -6,15 +6,19 @@ ...@@ -6,15 +6,19 @@
// =================================================================== // ===================================================================
class AccountSettingsModel : public QObject { class AccountSettingsModel : public QObject {
Q_OBJECT; Q_OBJECT
Q_PROPERTY(QString username Q_PROPERTY(
READ getUsername QString username
WRITE setUsername); READ getUsername
WRITE setUsername
Q_PROPERTY(Presence presence );
READ getPresence
WRITE setPresence); Q_PROPERTY(
Presence presence
READ getPresence
WRITE setPresence
);
public: public:
// See: https://tools.ietf.org/html/rfc4480#section-3.2 // See: https://tools.ietf.org/html/rfc4480#section-3.2
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// =================================================================== // ===================================================================
class SettingsModel : public QObject { class SettingsModel : public QObject {
Q_OBJECT; Q_OBJECT
public: public:
SettingsModel (QObject *parent = Q_NULLPTR); SettingsModel (QObject *parent = Q_NULLPTR);
......
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