~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to src/Certificates/guitest/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <QApplication>
 
2
 
 
3
#include "Certificates/CertificateErrorDialog.h"
 
4
 
 
5
int main(int argc, char* argv[])
 
6
{
 
7
        QApplication app(argc, argv);
 
8
        QCA::Certificate cert;
 
9
        CertificateErrorDialog dlg("Certificate error", "untrusted-host.com", cert, QCA::TLS::HostMismatch, QCA::ErrorRejected, ".");
 
10
        dlg.exec();
 
11
        return app.exec();
 
12
}