#include <music-scanner.h>


Public Member Functions | |
| MusicScanner (SongSelectorLogic *sroot) | |
Protected Member Functions | |
| virtual void | recursing (const QString dirname) |
| virtual void | checkfile (const QString pathname, const QString filename) |
| virtual bool | matchextension (const QString filename) |
| MusicScanner::MusicScanner | ( | SongSelectorLogic * | sroot | ) |
References SongSelectorLogic::database, DataBase::getFileTreeCopy(), MusicDir, and DirectoryScanner::reset().
| void MusicScanner::checkfile | ( | const QString | dir, | |
| const QString | filename | |||
| ) | [protected, virtual] |
Called for each file that has a proper extension.
Implements DirectoryScanner.
References app, createNewIndexFor(), Index::get_storedin(), DirectoryScanner::prefix_length, and slash.
| bool MusicScanner::matchextension | ( | const QString | filename | ) | [protected, virtual] |
The function used to check whether the extension matches If the extension does not match the file is not sent to checkfile. The standard function will check the required_extension.
Reimplemented from DirectoryScanner.
References goodExtension().
| void MusicScanner::recursing | ( | const QString | dirname | ) | [protected, virtual] |
Reimplemented from DirectoryScanner.
1.6.2