Skip to content

Commit f6c8ef3

Browse files
committedJul 18, 2017
Complete documentation for connectionsChanged signals
1 parent c4e26d7 commit f6c8ef3

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
 

‎python/core/qgsdataitem.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Refresh connections: update GUI and emit signal
320320
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
321321
void connectionsChanged( );
322322
%Docstring
323-
Emitted when the provider's connections of the child items have changed
323+
open browsers
324324
%End
325325

326326
protected slots:

‎python/gui/qgsabstractdatasourcewidget.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The default implementation does nothing
5252

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

5858
};

‎src/core/qgsdataitem.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ class CORE_EXPORT QgsDataItem : public QObject
296296
void dataChanged( QgsDataItem *item );
297297
void stateChanged( QgsDataItem *item, QgsDataItem::State oldState );
298298
//! Emitted when the provider's connections of the child items have changed
299+
//! This signal is normally forwarded to the app in order to refresh the connection
300+
//! item in the provider dialogs and to refresh the connection items in the other
301+
//! open browsers
299302
void connectionsChanged( );
300303

301304
protected slots:

‎src/gui/qgsabstractdatasourcewidget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class GUI_EXPORT QgsAbstractDataSourceWidget : public QDialog
5757
signals:
5858

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

6263
private:

0 commit comments

Comments
 (0)
Please sign in to comment.