Mixxx

LibraryScanner Class Reference

#include <libraryscanner.h>

Collaboration diagram for LibraryScanner:

List of all members.

Public Slots

void cancel ()
void resetCancel ()

Signals

void scanFinished ()
void progressHashing (QString)

Public Member Functions

 LibraryScanner ()
 LibraryScanner (TrackCollection *collection)
virtual ~LibraryScanner ()
void run ()
void scan (QString libraryPath)
void scan ()
bool recursiveScan (QString dirPath, QList< TrackInfoObject * > &tracksToAdd)

Detailed Description

Definition at line 37 of file libraryscanner.h.


Constructor & Destructor Documentation

LibraryScanner::LibraryScanner ( )
LibraryScanner::LibraryScanner ( TrackCollection collection)

Definition at line 28 of file libraryscanner.cpp.

Here is the call graph for this function:

LibraryScanner::~LibraryScanner ( ) [virtual]

Definition at line 74 of file libraryscanner.cpp.

Here is the call graph for this function:


Member Function Documentation

void LibraryScanner::cancel ( ) [slot]

Definition at line 329 of file libraryscanner.cpp.

Here is the caller graph for this function:

void LibraryScanner::progressHashing ( QString  ) [signal]

Here is the caller graph for this function:

bool LibraryScanner::recursiveScan ( QString  dirPath,
QList< TrackInfoObject * > &  tracksToAdd 
)

Recursively scan a music library. Doesn't import tracks for any directories that have already been scanned and have not changed. Changes are tracked by performing a hash of the directory's file list, and those hashes are stored in the database.

Definition at line 352 of file libraryscanner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void LibraryScanner::resetCancel ( ) [slot]

Definition at line 336 of file libraryscanner.cpp.

Here is the caller graph for this function:

void LibraryScanner::run ( )

Definition at line 134 of file libraryscanner.cpp.

Here is the call graph for this function:

void LibraryScanner::scan ( QString  libraryPath)

Definition at line 301 of file libraryscanner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void LibraryScanner::scan ( )

Definition at line 343 of file libraryscanner.cpp.

Here is the caller graph for this function:

void LibraryScanner::scanFinished ( ) [signal]

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines