diff options
Diffstat (limited to 'accounts/maildir/maildirsettings.h')
-rw-r--r-- | accounts/maildir/maildirsettings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/accounts/maildir/maildirsettings.h b/accounts/maildir/maildirsettings.h index 063fb9da..9e5b6a4c 100644 --- a/accounts/maildir/maildirsettings.h +++ b/accounts/maildir/maildirsettings.h | |||
@@ -26,8 +26,8 @@ class MaildirSettings : public QObject | |||
26 | Q_OBJECT | 26 | Q_OBJECT |
27 | Q_PROPERTY(QByteArray identifier READ identifier WRITE setIdentifier) | 27 | Q_PROPERTY(QByteArray identifier READ identifier WRITE setIdentifier) |
28 | Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) | 28 | Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) |
29 | Q_PROPERTY(QString path READ path WRITE setPath NOTIFY pathChanged) | 29 | Q_PROPERTY(QUrl path READ path WRITE setPath NOTIFY pathChanged) |
30 | Q_PROPERTY(QValidator* pathValidator READ pathValidator) | 30 | Q_PROPERTY(QValidator* pathValidator READ pathValidator CONSTANT) |
31 | 31 | ||
32 | public: | 32 | public: |
33 | MaildirSettings(QObject *parent = 0); | 33 | MaildirSettings(QObject *parent = 0); |
@@ -38,8 +38,8 @@ public: | |||
38 | void setAccountIdentifier(const QByteArray &); | 38 | void setAccountIdentifier(const QByteArray &); |
39 | QByteArray accountIdentifier() const; | 39 | QByteArray accountIdentifier() const; |
40 | 40 | ||
41 | void setPath(const QString &); | 41 | void setPath(const QUrl &); |
42 | QString path() const; | 42 | QUrl path() const; |
43 | QValidator *pathValidator() const; | 43 | QValidator *pathValidator() const; |
44 | 44 | ||
45 | Q_INVOKABLE void save(); | 45 | Q_INVOKABLE void save(); |