|
ParaView
|
pqRecentlyUsedResourcesList encapsulates a persistent collection of recently-used resources (data files or state files). More...
#include <pqRecentlyUsedResourcesList.h>
Public Types | |
| typedef QList< pqServerResource > | ListT |
| convenience typedef. | |
Signals | |
| void | changed () |
| Signal emitted whenever the collection is changed. | |
Public Member Functions | |
| pqRecentlyUsedResourcesList (QObject *parent=0) | |
| virtual | ~pqRecentlyUsedResourcesList () |
| void | add (const pqServerResource &resource) |
| Add a resource to the collection. | |
| const QList< pqServerResource > & | list () const |
| Returns the contents of the collection ordered from most-recently-used to least-recently-used. | |
| void | load (pqSettings &) |
| Load the collection (from local user preferences) | |
| void | save (pqSettings &) const |
| Save the collection (to local user preferences) | |
pqRecentlyUsedResourcesList encapsulates a persistent collection of recently-used resources (data files or state files).
Definition at line 44 of file pqRecentlyUsedResourcesList.h.
| typedef QList<pqServerResource> pqRecentlyUsedResourcesList::ListT |
convenience typedef.
Definition at line 53 of file pqRecentlyUsedResourcesList.h.
| pqRecentlyUsedResourcesList::pqRecentlyUsedResourcesList | ( | QObject * | parent = 0 | ) |
| virtual pqRecentlyUsedResourcesList::~pqRecentlyUsedResourcesList | ( | ) | [virtual] |
| void pqRecentlyUsedResourcesList::add | ( | const pqServerResource & | resource | ) |
Add a resource to the collection.
Moves the resource to the beginning of the list.
| const QList<pqServerResource>& pqRecentlyUsedResourcesList::list | ( | ) | const [inline] |
Returns the contents of the collection ordered from most-recently-used to least-recently-used.
Definition at line 61 of file pqRecentlyUsedResourcesList.h.
| void pqRecentlyUsedResourcesList::load | ( | pqSettings & | ) |
Load the collection (from local user preferences)
| void pqRecentlyUsedResourcesList::save | ( | pqSettings & | ) | const |
Save the collection (to local user preferences)
| void pqRecentlyUsedResourcesList::changed | ( | ) | [signal] |
Signal emitted whenever the collection is changed.
1.7.5.1