more documentation; refs #115
This commit is contained in:
@@ -50,6 +50,9 @@
|
|||||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//! @addtogroup browser
|
||||||
|
//! @{
|
||||||
|
|
||||||
class Browser: public QMainWindow, protected Ui::Browser {
|
class Browser: public QMainWindow, protected Ui::Browser {
|
||||||
|
|
||||||
Q_OBJECT;
|
Q_OBJECT;
|
||||||
@@ -1573,4 +1576,6 @@ class Browser: public QMainWindow, protected Ui::Browser {
|
|||||||
ButtonLineEdit* _search;
|
ButtonLineEdit* _search;
|
||||||
QComboBox* _searchEngines;
|
QComboBox* _searchEngines;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -7,4 +7,9 @@
|
|||||||
|
|
||||||
#include <webviewwidgetifc.hxx>
|
#include <webviewwidgetifc.hxx>
|
||||||
|
|
||||||
|
//! @defgroup designer
|
||||||
|
//! @{
|
||||||
|
|
||||||
Q_EXPORT_PLUGIN2(swisswebviewwidgetplugin, SwissWebViewWidgetIfc);
|
Q_EXPORT_PLUGIN2(swisswebviewwidgetplugin, SwissWebViewWidgetIfc);
|
||||||
|
|
||||||
|
//! @}
|
||||||
|
@@ -11,7 +11,12 @@
|
|||||||
#include <qbrowserlib/swisswebview.hxx>
|
#include <qbrowserlib/swisswebview.hxx>
|
||||||
#include <QtDesigner>
|
#include <QtDesigner>
|
||||||
|
|
||||||
|
#ifndef LOG
|
||||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//! @defgroup designer
|
||||||
|
//! @{
|
||||||
|
|
||||||
//! WebView widget for Qt Designer
|
//! WebView widget for Qt Designer
|
||||||
class SwissWebViewWidgetIfc: public QObject,
|
class SwissWebViewWidgetIfc: public QObject,
|
||||||
@@ -68,4 +73,5 @@ class SwissWebViewWidgetIfc: public QObject,
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
#endif
|
#endif
|
||||||
|
19
src/main.cxx
19
src/main.cxx
@@ -26,6 +26,23 @@
|
|||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
/*! @mainpage The Secure Swiss PKCS#11 WebBrowser
|
||||||
|
|
||||||
|
The browser is divided into a library, qbrowserlib that implements
|
||||||
|
generic browsing utilities, the main browser page that collects
|
||||||
|
those features into a main window, a PKCS#11 Post-SuisseID
|
||||||
|
hardware token client authentication and a designer plugin for
|
||||||
|
flexible GUI creation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
//! @defgroup browser The SwissBrowser Executable and Main Window
|
||||||
|
//! @defgroup pkcs11 The PKCS#11 Client Authentication
|
||||||
|
//! @defgroup qbrowserlib The Swiss Browser Library
|
||||||
|
//! @defgroup designer Qt Designer Plugin for Browser Related Widgets
|
||||||
|
|
||||||
|
//! @addtogroup browser
|
||||||
|
//! @{
|
||||||
|
|
||||||
const QByteArray SWISSSIGN_EV_GOLD_CA_2009_G2
|
const QByteArray SWISSSIGN_EV_GOLD_CA_2009_G2
|
||||||
("-----BEGIN CERTIFICATE-----\n"
|
("-----BEGIN CERTIFICATE-----\n"
|
||||||
"MIIGvzCCBaegAwIBAgIQAPI39KUS4aGJo+mkR4+YuTANBgkqhkiG9w0BAQUFADBN\n"
|
"MIIGvzCCBaegAwIBAgIQAPI39KUS4aGJo+mkR4+YuTANBgkqhkiG9w0BAQUFADBN\n"
|
||||||
@@ -413,3 +430,5 @@ int main(int argv, char** argc) try {
|
|||||||
std::cerr<<"**** Error"<<std::endl;
|
std::cerr<<"**** Error"<<std::endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! @}
|
||||||
|
@@ -16,6 +16,9 @@
|
|||||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//! @addtogroup qbrowserlib
|
||||||
|
//! @{
|
||||||
|
|
||||||
class PluginFactory: public QWebPluginFactory {
|
class PluginFactory: public QWebPluginFactory {
|
||||||
public:
|
public:
|
||||||
PluginFactory(QObject* p=0): QWebPluginFactory(p) {
|
PluginFactory(QObject* p=0): QWebPluginFactory(p) {
|
||||||
@@ -53,4 +56,5 @@ class PluginFactory: public QWebPluginFactory {
|
|||||||
QList<Plugin> _plugins;
|
QList<Plugin> _plugins;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//! @addtogroup qbrowserlib
|
||||||
|
//! @{
|
||||||
|
|
||||||
class SaveOrRun: public QWidget, public Ui::SaveOrRun {
|
class SaveOrRun: public QWidget, public Ui::SaveOrRun {
|
||||||
Q_OBJECT;
|
Q_OBJECT;
|
||||||
|
|
||||||
@@ -206,4 +209,6 @@ class SaveOrRunDialog: public QDialog {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -18,6 +18,9 @@
|
|||||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//! @addtogroup qbrowserlib
|
||||||
|
//! @{
|
||||||
|
|
||||||
//! QWebPage with additional features and better default behaviour.
|
//! QWebPage with additional features and better default behaviour.
|
||||||
/*! SwissWebPage is designed to be used by SwissWebView.
|
/*! SwissWebPage is designed to be used by SwissWebView.
|
||||||
|
|
||||||
@@ -65,4 +68,5 @@ class SwissWebPage: public QWebPage {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -15,6 +15,9 @@
|
|||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
//! @addtogroup qbrowserlib
|
||||||
|
//! @{
|
||||||
|
|
||||||
//! QWebViev class with additional features.
|
//! QWebViev class with additional features.
|
||||||
/*! This QWebView class contains a @ref SwissWebPage and adds a new
|
/*! This QWebView class contains a @ref SwissWebPage and adds a new
|
||||||
signal @refs newView that sends the view whenever the a new view
|
signal @refs newView that sends the view whenever the a new view
|
||||||
@@ -61,4 +64,5 @@ class QDESIGNER_WIDGET_EXPORT SwissWebView: public QWebView {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -4,6 +4,9 @@
|
|||||||
*/
|
*/
|
||||||
// 1 2 3 4 5 6 7 8
|
// 1 2 3 4 5 6 7 8
|
||||||
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
|
#ifndef SSLCLIENTNETWORKMANAGER_HXX
|
||||||
|
#define SSLCLIENTNETWORKMANAGER_HXX
|
||||||
|
|
||||||
#include <QtNetwork/QNetworkReply>
|
#include <QtNetwork/QNetworkReply>
|
||||||
#include <QtNetwork/QNetworkAccessManager>
|
#include <QtNetwork/QNetworkAccessManager>
|
||||||
#include <smartcardauth.hxx>
|
#include <smartcardauth.hxx>
|
||||||
@@ -13,6 +16,8 @@
|
|||||||
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
#define LOG qDebug()<<__PRETTY_FUNCTION__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//! @addtogroup pkcs11
|
||||||
|
//! @{
|
||||||
class SslClientAuthNetworkAccessManager: public QNetworkAccessManager {
|
class SslClientAuthNetworkAccessManager: public QNetworkAccessManager {
|
||||||
Q_OBJECT;
|
Q_OBJECT;
|
||||||
public:
|
public:
|
||||||
@@ -56,3 +61,6 @@ class SslClientAuthNetworkAccessManager: public QNetworkAccessManager {
|
|||||||
std::auto_ptr<SmartCardAuth> _scAuth;
|
std::auto_ptr<SmartCardAuth> _scAuth;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! @}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user