fixes the reorderPlots apidox

svn path=/trunk/KDE/kdelibs/; revision=1165477
This commit is contained in:
Vitor Boschi da Silva 2010-08-19 13:08:49 +00:00
parent ef873a97a6
commit f2a2d34a48

View File

@ -89,12 +89,12 @@ public:
/**
* Reorder the plots into the order given. For example:
* \code
* KSignalPlotter *s = KSignalPlotter(parent);
* Plasma::SignalPlotter *s = new Plasma::SignalPlotter(parent);
* s->addPlot(Qt::Blue);
* s->addPlot(Qt::Green);
* QList neworder;
* neworder << 1 << 0;
* reorderPlots(newOrder);
* s->reorderPlots(newOrder);
* //Now the order is Green then Blue
* \endcode
* @param newOrder a list with the new position of each plot