diff options
Diffstat (limited to 'accounts/maildir/maildirsettings.h')
-rw-r--r-- | accounts/maildir/maildirsettings.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/accounts/maildir/maildirsettings.h b/accounts/maildir/maildirsettings.h index 9e5b6a4c..f79208db 100644 --- a/accounts/maildir/maildirsettings.h +++ b/accounts/maildir/maildirsettings.h | |||
@@ -24,17 +24,15 @@ | |||
24 | class MaildirSettings : public QObject | 24 | class MaildirSettings : public QObject |
25 | { | 25 | { |
26 | Q_OBJECT | 26 | Q_OBJECT |
27 | Q_PROPERTY(QByteArray identifier READ identifier WRITE setIdentifier) | ||
28 | Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) | 27 | Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) |
29 | Q_PROPERTY(QUrl path READ path WRITE setPath NOTIFY pathChanged) | 28 | Q_PROPERTY(QUrl path READ path WRITE setPath NOTIFY pathChanged) |
30 | Q_PROPERTY(QValidator* pathValidator READ pathValidator CONSTANT) | 29 | Q_PROPERTY(QValidator* pathValidator READ pathValidator CONSTANT) |
30 | Q_PROPERTY(QString icon MEMBER mIcon NOTIFY changed) | ||
31 | Q_PROPERTY(QString accountName MEMBER mName NOTIFY changed) | ||
31 | 32 | ||
32 | public: | 33 | public: |
33 | MaildirSettings(QObject *parent = 0); | 34 | MaildirSettings(QObject *parent = 0); |
34 | 35 | ||
35 | void setIdentifier(const QByteArray &); | ||
36 | QByteArray identifier() const; | ||
37 | |||
38 | void setAccountIdentifier(const QByteArray &); | 36 | void setAccountIdentifier(const QByteArray &); |
39 | QByteArray accountIdentifier() const; | 37 | QByteArray accountIdentifier() const; |
40 | 38 | ||
@@ -47,9 +45,12 @@ public: | |||
47 | 45 | ||
48 | signals: | 46 | signals: |
49 | void pathChanged(); | 47 | void pathChanged(); |
48 | void changed(); | ||
50 | 49 | ||
51 | private: | 50 | private: |
52 | QByteArray mIdentifier; | 51 | QByteArray mIdentifier; |
53 | QByteArray mAccountIdentifier; | 52 | QByteArray mAccountIdentifier; |
54 | QString mPath; | 53 | QString mPath; |
54 | QString mIcon; | ||
55 | QString mName; | ||
55 | }; | 56 | }; |