API review: connectVisualization() is not a slot.
[note: I have checked that indeed it's not called as a slot in kdebase, /extragear/plasma or playground/base/plasma] svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800593
This commit is contained in:
parent
70985897bb
commit
5637be62e7
@ -106,14 +106,6 @@ class PLASMA_EXPORT DataContainer : public QObject
|
|||||||
*/
|
*/
|
||||||
bool visualizationIsConnected(QObject *visualization) const;
|
bool visualizationIsConnected(QObject *visualization) const;
|
||||||
|
|
||||||
public Q_SLOTS:
|
|
||||||
/**
|
|
||||||
* Check if the DataContainer is still in use.
|
|
||||||
* If not the signal "becameUnused" will be emitted.
|
|
||||||
* Warning: The DataContainer may be invalid after calling this function.
|
|
||||||
*/
|
|
||||||
void checkUsage();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connects an object to this DataContainer. May be called repeatedly
|
* Connects an object to this DataContainer. May be called repeatedly
|
||||||
* for the same visualization without side effects
|
* for the same visualization without side effects
|
||||||
@ -123,6 +115,14 @@ class PLASMA_EXPORT DataContainer : public QObject
|
|||||||
**/
|
**/
|
||||||
void connectVisualization(QObject* visualization, uint pollingInterval, Plasma::IntervalAlignment alignment);
|
void connectVisualization(QObject* visualization, uint pollingInterval, Plasma::IntervalAlignment alignment);
|
||||||
|
|
||||||
|
public Q_SLOTS:
|
||||||
|
/**
|
||||||
|
* Check if the DataContainer is still in use.
|
||||||
|
* If not the signal "becameUnused" will be emitted.
|
||||||
|
* Warning: The DataContainer may be invalid after calling this function.
|
||||||
|
*/
|
||||||
|
void checkUsage();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disconnects an object from this DataContainer.
|
* Disconnects an object from this DataContainer.
|
||||||
**/
|
**/
|
||||||
|
Loading…
Reference in New Issue
Block a user