Ricerca e rubrica CardDAV (0.9.0)
- SearchPage: find_start/find_poll, risultati con mittente, oggetto e cartella; la riga nella cartella si ricava da id_named + row_of - ContactsPage: sincronizzazione del libro CardDAV e contatti che aprono la composizione; campi del libro in Account (indirizzo, utente, password)
This commit is contained in:
1 parent
651592e076
commit
35ea49a992
11 files changed
+623
-7
No files matched your search
@@ -23,6 +23,10 @@ class AccountSettings : public QObject
|
||||
Q_PROPERTY(int smtpPort READ smtpPort WRITE setSmtpPort NOTIFY changed)
|
||||
Q_PROPERTY(int smtpSecurity READ smtpSecurity WRITE setSmtpSecurity NOTIFY changed)
|
||||
Q_PROPERTY(int keep READ keep WRITE setKeep NOTIFY changed)
|
||||
// Rubrica CardDAV: indirizzo del libro, utente e password (se diversa).
|
||||
Q_PROPERTY(QString bookUrl READ bookUrl WRITE setBookUrl NOTIFY changed)
|
||||
Q_PROPERTY(QString bookUser READ bookUser WRITE setBookUser NOTIFY changed)
|
||||
Q_PROPERTY(QString bookPassword READ bookPassword WRITE setBookPassword NOTIFY changed)
|
||||
|
||||
public:
|
||||
explicit AccountSettings(QObject *parent = nullptr);
|
||||
@@ -38,6 +42,9 @@ public:
|
||||
int smtpPort() const { return m_smtpPort; }
|
||||
int smtpSecurity() const { return m_smtpSecurity; }
|
||||
int keep() const { return m_keep; }
|
||||
QString bookUrl() const { return m_bookUrl; }
|
||||
QString bookUser() const { return m_bookUser; }
|
||||
QString bookPassword() const { return m_bookPassword; }
|
||||
|
||||
void setPersona(const QString &v);
|
||||
void setMittente(const QString &v);
|
||||
@@ -50,6 +57,13 @@ public:
|
||||
void setSmtpPort(int v);
|
||||
void setSmtpSecurity(int v);
|
||||
void setKeep(int v);
|
||||
void setBookUrl(const QString &v);
|
||||
void setBookUser(const QString &v);
|
||||
void setBookPassword(const QString &v);
|
||||
// La riga che il motore legge per sincronizzare il libro: operazione S,
|
||||
// nome del libro, indirizzo, utente, poi resource/nome/indirizzo vuoti e
|
||||
// la password in fondo (puo' contenere qualsiasi cosa).
|
||||
QString bookLine() const;
|
||||
|
||||
// "persona, host, porta, sicurezza, messaggi da tenere, utente, password"
|
||||
// come lo vuole Mail_Imap.Start: campi separati da tabulazioni.
|
||||
@@ -68,6 +82,7 @@ private:
|
||||
|
||||
QString m_persona, m_mittente, m_imapHost, m_user, m_password;
|
||||
QString m_smtpHost, m_smtpPassword;
|
||||
QString m_bookUrl, m_bookUser, m_bookPassword;
|
||||
int m_imapPort, m_imapSecurity, m_smtpPort, m_smtpSecurity, m_keep;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user