File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ void HelpBrowser::setHelpEngine(QHelpEngine *helpEngine)
1010 mHelpEngine = helpEngine;
1111}
1212
13- QVariant HelpBrowser::loadResource (int type, const QUrl &name){
13+ QVariant HelpBrowser::loadResource (int type, const QUrl &name)
14+ {
1415 if (name.scheme () == " qthelp" ) {
1516 QString url (name.toString ());
1617 while (url.indexOf (" /./" ) > 0 )
Original file line number Diff line number Diff line change 55#include < QTextBrowser>
66
77namespace Ui {
8- class HelpDialog ;
8+ class HelpDialog ;
99}
1010
1111class QHelpEngine ;
1212
13- class HelpBrowser : public QTextBrowser
14- {
13+ class HelpBrowser : public QTextBrowser {
1514public:
1615 HelpBrowser (QWidget* parent = 0 ) : QTextBrowser(parent), mHelpEngine (nullptr ) {}
1716 void setHelpEngine (QHelpEngine *helpEngine);
18- QVariant loadResource (int type, const QUrl& name);
17+ QVariant loadResource (int type, const QUrl& name);
1918private:
2019 QHelpEngine* mHelpEngine ;
2120};
2221
23- class HelpDialog : public QDialog
24- {
22+ class HelpDialog : public QDialog {
2523 Q_OBJECT
2624
2725public:
You can’t perform that action at this time.
0 commit comments