Mercurial > trustbridge
changeset 265:ffd47b045d19
Added certificate status enum and register it as metatype.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 09:24:57 +0200 |
parents | daad3431b930 |
children | dd6a09d2699f |
files | ui/certificate.h ui/mainwindow.cpp |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/certificate.h Tue Apr 01 17:39:11 2014 +0200 +++ b/ui/certificate.h Wed Apr 02 09:24:57 2014 +0200 @@ -19,6 +19,13 @@ { public: + enum Status { + InstallNew = 1, + InstallOld, + RemoveNew, + RemoveOld + }; + /** @brief construct a certificate from a line of a certificate list. * * The first two characters of the string are expected to be
--- a/ui/mainwindow.cpp Tue Apr 01 17:39:11 2014 +0200 +++ b/ui/mainwindow.cpp Wed Apr 02 09:24:57 2014 +0200 @@ -39,6 +39,7 @@ createMenuBar(); createContent(); qRegisterMetaType<SSLConnection::ErrorCode>("SSLConnection::ErrorCode"); + qRegisterMetaType<Certificate::Status>("Certificate::Status"); connect(mTrayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(iconActivated(QSystemTrayIcon::ActivationReason)));