mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
21 lines
526 B
C
21 lines
526 B
C
|
#ifndef QGSHELPVIEWER_H
|
||
|
#define QGSHELPVIEWER_H
|
||
|
# include "qgshelpviewerbase.h"
|
||
|
class QString;
|
||
|
class sqlite3;
|
||
|
class QgsHelpViewer : public QgsHelpViewerBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
QgsHelpViewer(const QString &contextId=QString::null, QWidget *parent=0, const char *name=0);
|
||
|
~QgsHelpViewer();
|
||
|
public slots:
|
||
|
void setContext(const QString &contextId);
|
||
|
void fileExit();
|
||
|
private:
|
||
|
void loadContext(const QString &contextId);
|
||
|
int connectDb(const QString &helpDbPath);
|
||
|
sqlite3 *db;
|
||
|
};
|
||
|
#endif // QGSHELPVIEWER_H
|