Commit fa62c04c authored by Milian Wolff's avatar Milian Wolff
Browse files

Fix indentation and add non-inline dtor

parent 5eeedbe5
......@@ -58,6 +58,8 @@ QtHelpQtDoc::QtHelpQtDoc(QObject *parent, const QVariantList &args)
registerDocumentations();
}
QtHelpQtDoc::~QtHelpQtDoc() = default;
void QtHelpQtDoc::registerDocumentations()
{
const QString qmake = qmakeCandidate();
......
......@@ -27,21 +27,23 @@
class QtHelpQtDoc : public QtHelpProviderAbstract
{
Q_OBJECT
public:
QtHelpQtDoc(QObject *parent, const QVariantList &args);
QIcon icon() const override;
QString name() const override;
void registerDocumentations();
void loadDocumentation();
void unloadDocumentation();
/** @return local paths to all QCH files found in QT_INSTALL_DOCS directory **/
QStringList qchFiles() const;
private:
QString m_path;
private Q_SLOTS:
void lookupDone(int code);
public:
explicit QtHelpQtDoc(QObject* parent, const QVariantList& args);
~QtHelpQtDoc();
QIcon icon() const override;
QString name() const override;
void registerDocumentations();
void loadDocumentation();
void unloadDocumentation();
/** @return local paths to all QCH files found in QT_INSTALL_DOCS directory **/
QStringList qchFiles() const;
private:
QString m_path;
private Q_SLOTS:
void lookupDone(int code);
};
#endif // QTHELPQTDOC_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment