Hydra 0.20
desktop::FileListLoader Class Reference

#include <FileList.h>

List of all members.

Public Member Functions

 FileListLoader (FileList &filelist, FileListListener *source=0, bool resetSelectionTo0=true)
 ~FileListLoader ()
 destructor will commit the changes and emit some signals
void setBaseDir (const QString &fulldirname)
 sets the base dir
void setBaseRecurse (bool recurse=true)
void setBaseShuffle (bool shuffle=true)
 either to shuffle the loaded list
bool setBaseQuery (const QString &query)
void setReload (void)
 simply flag that the list, with its current params, needs to be reloaded
void clearList (void)
 remove all files from the current list

Detailed Description

A class that is used to populate and load entries into a FileList while taking care of signal emission and consolidation.

You instantite the class, and set various options. Note that the options are by default, based on the existing filelist. Upon destruction, the list will be loaded and signals sent.

Author:
Aleksander Demko

Constructor & Destructor Documentation

desktop::FileListLoader::FileListLoader ( FileList filelist,
FileListListener source = 0,
bool  resetSelectionTo0 = true 
)

constructor future: progress dialog option/system?


Member Function Documentation

bool desktop::FileListLoader::setBaseQuery ( const QString &  query)

sets the query that will be used to filter the list returns true on succesful parse

void desktop::FileListLoader::setBaseRecurse ( bool  recurse = true)

sets weither directory recursion will be applied this may be removed in the future as dir-monitoting in this case may be impossible


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables