diff options
author | Andre Heinecke <[email protected]> | 2017-01-12 11:57:00 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-01-12 11:57:00 +0000 |
commit | 9640dc58e498966b482dcded6990cf4b47c556ac (patch) | |
tree | 301452a0aa55c8a79bcaa302571761aa786e167a /lang/qt/src/qgpgmenewcryptoconfig.h | |
parent | qt: Don't use qstrdup in test passphrase cb (diff) | |
download | gpgme-9640dc58e498966b482dcded6990cf4b47c556ac.tar.gz gpgme-9640dc58e498966b482dcded6990cf4b47c556ac.zip |
qt: Add support for stringValueList in CryptoConf
* lang/qt/src/Makefile.am (qgpgme_sources): Add cryptoconfig.cpp
* lang/qt/src/cryptoconfig.cpp: New.
* lang/qt/src/cryptoconfig.h (CryptoConfigEntry::stringValueList):
New.
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfigEntry::stringValueList): New.
* lang/qt/src/qgpgmenewcryptoconfig.h: Update accordingly.
--
This is a pardigm change in cryptoconfig.h to avoid ABI breaks
with each new config value we support it now has an implementation
that is directly related to qgpgmenewcryptoconfig, which is now
the only one.
Diffstat (limited to '')
-rw-r--r-- | lang/qt/src/qgpgmenewcryptoconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/qt/src/qgpgmenewcryptoconfig.h b/lang/qt/src/qgpgmenewcryptoconfig.h index 81b4cb44..7100e70b 100644 --- a/lang/qt/src/qgpgmenewcryptoconfig.h +++ b/lang/qt/src/qgpgmenewcryptoconfig.h @@ -93,6 +93,8 @@ public: void setURLValueList(const QList<QUrl> &) Q_DECL_OVERRIDE; bool isDirty() const Q_DECL_OVERRIDE; + QStringList stringValueList() const; + #if 0 void setDirty(bool b); QString outputString() const; |