Skip to content

Commit

Permalink
Complete documentation for connectionsChanged signals
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jul 18, 2017
1 parent c4e26d7 commit f6c8ef3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/qgsdataitem.sip
Expand Up @@ -320,7 +320,7 @@ Refresh connections: update GUI and emit signal
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
void connectionsChanged( );
%Docstring
Emitted when the provider's connections of the child items have changed
open browsers
%End

protected slots:
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsabstractdatasourcewidget.sip
Expand Up @@ -52,7 +52,7 @@ The default implementation does nothing

void connectionsChanged();
%Docstring
Emitted when the provider's connections have changed
This signal is normally forwarded the app and used to refresh browser items
%End

};
Expand Down
3 changes: 3 additions & 0 deletions src/core/qgsdataitem.h
Expand Up @@ -296,6 +296,9 @@ class CORE_EXPORT QgsDataItem : public QObject
void dataChanged( QgsDataItem *item );
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
//! Emitted when the provider's connections of the child items have changed
//! This signal is normally forwarded to the app in order to refresh the connection
//! item in the provider dialogs and to refresh the connection items in the other
//! open browsers
void connectionsChanged( );

protected slots:
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsabstractdatasourcewidget.h
Expand Up @@ -57,6 +57,7 @@ class GUI_EXPORT QgsAbstractDataSourceWidget : public QDialog
signals:

//! Emitted when the provider's connections have changed
//! This signal is normally forwarded the app and used to refresh browser items
void connectionsChanged();

private:
Expand Down

0 comments on commit f6c8ef3

Please sign in to comment.