fixes the reorderPlots apidox
svn path=/trunk/KDE/kdelibs/; revision=1165477
This commit is contained in:
parent
ef873a97a6
commit
f2a2d34a48
@ -89,12 +89,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Reorder the plots into the order given. For example:
|
* Reorder the plots into the order given. For example:
|
||||||
* \code
|
* \code
|
||||||
* KSignalPlotter *s = KSignalPlotter(parent);
|
* Plasma::SignalPlotter *s = new Plasma::SignalPlotter(parent);
|
||||||
* s->addPlot(Qt::Blue);
|
* s->addPlot(Qt::Blue);
|
||||||
* s->addPlot(Qt::Green);
|
* s->addPlot(Qt::Green);
|
||||||
* QList neworder;
|
* QList neworder;
|
||||||
* neworder << 1 << 0;
|
* neworder << 1 << 0;
|
||||||
* reorderPlots(newOrder);
|
* s->reorderPlots(newOrder);
|
||||||
* //Now the order is Green then Blue
|
* //Now the order is Green then Blue
|
||||||
* \endcode
|
* \endcode
|
||||||
* @param newOrder a list with the new position of each plot
|
* @param newOrder a list with the new position of each plot
|
||||||
|
Loading…
Reference in New Issue
Block a user