#include <trackcollection.h>
List of all members.
Detailed Description
- Author:
- Albert Santoni
Definition at line 45 of file trackcollection.h.
Constructor & Destructor Documentation
TrackCollection::~TrackCollection |
( |
| ) |
|
Member Function Documentation
void TrackCollection::addTrackSource |
( |
const QString |
name, |
|
|
QSharedPointer< BaseTrackCache > |
trackSource |
|
) |
| |
bool TrackCollection::checkForTables |
( |
| ) |
|
void TrackCollection::finishedLoading |
( |
| ) |
[signal] |
CrateDAO & TrackCollection::getCrateDAO |
( |
| ) |
|
QSqlDatabase & TrackCollection::getDatabase |
( |
| ) |
|
TrackDAO & TrackCollection::getTrackDAO |
( |
| ) |
|
QSharedPointer< BaseTrackCache > TrackCollection::getTrackSource |
( |
const QString |
name | ) |
|
bool TrackCollection::importDirectory |
( |
QString |
directory, |
|
|
TrackDAO & |
trackDao, |
|
|
QList< TrackInfoObject * > & |
tracksToAdd |
|
) |
| |
Import the files in a given diretory, without recursing into subdirectories
Do a non-recursive import of all the songs in a directory. Does NOT decend into subdirectories.
- Parameters:
-
trackDao | The track data access object which provides a connection to the database. We use this parameter in order to make this function callable from separate threads. You need to use a different DB connection for each thread. |
- Returns:
- true if the scan completed without being cancelled. False if the scan was cancelled part-way through.
Definition at line 98 of file trackcollection.cpp.
void TrackCollection::progressLoading |
( |
QString |
path | ) |
[signal] |
void TrackCollection::resetLibaryCancellation |
( |
| ) |
|
void TrackCollection::slotCancelLibraryScan |
( |
| ) |
[slot] |
void TrackCollection::startedLoading |
( |
| ) |
[signal] |
The documentation for this class was generated from the following files: