closes #71
parent
d1643f454c
commit
a5c84bbbb6
1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@ |
||||
/*! @file
|
||||
|
||||
@id $Id$ |
||||
*/ |
||||
// 1 2 3 4 5 6 7 8
|
||||
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||
|
||||
#ifndef LOGINCERTIFICATE_HXX |
||||
#define LOGINCERTIFICATE_HXX |
||||
|
||||
#include <ui_logincertificate.h> |
||||
|
||||
class LoginCertificate: public QDialog, protected Ui::LoginCertificate { |
||||
public: |
||||
LoginCertificate(QWidget* p): QDialog(p) { |
||||
setupUi(this); |
||||
setup(); |
||||
} |
||||
LoginCertificate& setup() { |
||||
_cert->certificate(QSslConfiguration::defaultConfiguration() |
||||
.localCertificate()); |
||||
return *this; |
||||
} |
||||
protected: |
||||
virtual void showEvent(QShowEvent *event) { |
||||
setup(); |
||||
QDialog::showEvent(event); |
||||
} |
||||
}; |
||||
|
||||
#endif |
Loading…
Reference in new issue