A simple Qt based browser with no bullshit that supports PKCS#11 tokens (such as the SuisseID).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
885 B

13 years ago
/*! @file
@id $Id$
*/
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
#ifndef LOGINCERTIFICATE_HXX
#define LOGINCERTIFICATE_HXX
#include <qbrowserlib/log.hxx>
#include <qbrowserlib/ui_logincertificate.hxx>
namespace qbrowserlib {
13 years ago
class LoginCertificate: public QDialog, protected Ui::LoginCertificate {
public:
LoginCertificate(QWidget* p): QDialog(p) {
TRC;
13 years ago
setupUi(this);
setup();
}
LoginCertificate& setup() {
TRC;
QSslCertificate c(QSslConfiguration::defaultConfiguration()
.localCertificate());
_cert->certificate(c);
13 years ago
return *this;
}
protected:
virtual void showEvent(QShowEvent *event) {
TRC;
13 years ago
setup();
QDialog::showEvent(event);
}
};
}
13 years ago
#endif