Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 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 | 1e112cf41e92 |
children | 89e8783866f8 |
comparison
equal
deleted
inserted
replaced
264:daad3431b930 | 265:ffd47b045d19 |
---|---|
37 createActions(); | 37 createActions(); |
38 createTrayIcon(); | 38 createTrayIcon(); |
39 createMenuBar(); | 39 createMenuBar(); |
40 createContent(); | 40 createContent(); |
41 qRegisterMetaType<SSLConnection::ErrorCode>("SSLConnection::ErrorCode"); | 41 qRegisterMetaType<SSLConnection::ErrorCode>("SSLConnection::ErrorCode"); |
42 qRegisterMetaType<Certificate::Status>("Certificate::Status"); | |
42 | 43 |
43 connect(mTrayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), | 44 connect(mTrayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)), |
44 this, SLOT(iconActivated(QSystemTrayIcon::ActivationReason))); | 45 this, SLOT(iconActivated(QSystemTrayIcon::ActivationReason))); |
45 | 46 |
46 mMessageTimer = new QTimer(this); | 47 mMessageTimer = new QTimer(this); |