ParaView
Public Types | Signals | Public Member Functions
pqRecentlyUsedResourcesList Class Reference

pqRecentlyUsedResourcesList encapsulates a persistent collection of recently-used resources (data files or state files). More...

#include <pqRecentlyUsedResourcesList.h>

List of all members.

Public Types

typedef QList< pqServerResourceListT
 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)

Detailed Description

pqRecentlyUsedResourcesList encapsulates a persistent collection of recently-used resources (data files or state files).

See also:
pqServerResource

Definition at line 44 of file pqRecentlyUsedResourcesList.h.


Member Typedef Documentation

convenience typedef.

Definition at line 53 of file pqRecentlyUsedResourcesList.h.


Constructor & Destructor Documentation

pqRecentlyUsedResourcesList::pqRecentlyUsedResourcesList ( QObject *  parent = 0)
virtual pqRecentlyUsedResourcesList::~pqRecentlyUsedResourcesList ( ) [virtual]

Member Function Documentation

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.


The documentation for this class was generated from the following file: