# HG changeset patch # User Raimund Renkert # Date 1396423497 -7200 # Node ID ffd47b045d194bd7390459c277c838d3e457872f # Parent daad3431b930195735572e367b33a60df24a7984 Added certificate status enum and register it as metatype. diff -r daad3431b930 -r ffd47b045d19 ui/certificate.h --- 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 diff -r daad3431b930 -r ffd47b045d19 ui/mainwindow.cpp --- 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"); + qRegisterMetaType("Certificate::Status"); connect(mTrayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), this, SLOT(iconActivated(QSystemTrayIcon::ActivationReason)));