Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 26, 2023
1 parent 6ddae04 commit 4c1c6be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/qgsdbqueryhistoryprovider.h
Expand Up @@ -45,10 +45,16 @@ class GUI_EXPORT QgsDatabaseQueryHistoryProvider : public QgsAbstractHistoryProv
QgsHistoryEntryNode *createNodeForEntry( const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context ) override SIP_FACTORY;
void updateNodeForEntry( QgsHistoryEntryNode *node, const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context ) override;

/**
* Causes the provider to emit the openSqlDialog() signal.
*/
void emitOpenSqlDialog( const QString &connectionUri, const QString &provider, const QString &sql );

signals:

/**
* Emitted when the provider wants to trigger a SQL execution dialog.
*/
void openSqlDialog( const QString &connectionUri, const QString &provider, const QString &sql );

};
Expand Down

0 comments on commit 4c1c6be

Please sign in to comment.