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 stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
void connectionsChanged( ); void connectionsChanged( );
%Docstring %Docstring
Emitted when the provider's connections of the child items have changed open browsers
%End %End
protected slots: protected slots:

View File

@ -52,7 +52,7 @@ The default implementation does nothing
void connectionsChanged(); void connectionsChanged();
%Docstring %Docstring
Emitted when the provider's connections have changed This signal is normally forwarded the app and used to refresh browser items
%End %End
}; };

View File

@ -296,6 +296,9 @@ class CORE_EXPORT QgsDataItem : public QObject
void dataChanged( QgsDataItem *item ); void dataChanged( QgsDataItem *item );
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState ); void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
//! Emitted when the provider's connections of the child items have changed //! 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( ); void connectionsChanged( );
protected slots: protected slots:

View File

@ -57,6 +57,7 @@ class GUI_EXPORT QgsAbstractDataSourceWidget : public QDialog
signals: signals:
//! Emitted when the provider's connections have changed //! Emitted when the provider's connections have changed
//! This signal is normally forwarded the app and used to refresh browser items
void connectionsChanged(); void connectionsChanged();
private: private: