Complete documentation for connectionsChanged signals

This commit is contained in:
Alessandro Pasotti 2017-07-17 10:23:33 +02:00
parent c4e26d72c0
commit f6c8ef3ad1
4 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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
};

View File

@ -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:

View File

@ -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: