mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-23 00:03:02 -04:00
Complete documentation for connectionsChanged signals
This commit is contained in:
parent
c4e26d72c0
commit
f6c8ef3ad1
@ -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:
|
||||||
|
@ -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
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user