#include <dbaccess.h>
Definition at line 130 of file dbaccess.h.
Public Types | |
| typedef std::vector < file_association > | association_list |
| typedef std::vector< std::pair < QString, bool > > | ext_ignore_list |
Public Member Functions | |
| unsigned int | add (const QString &ext, const QString &playcommand, bool ignore, bool use_default) |
| bool | get (unsigned int id, file_association &val) const |
| bool | get (const QString &ext, file_association &val) const |
| bool | remove (unsigned int id) |
| const association_list & | getList () const |
| void | getExtensionIgnoreList (ext_ignore_list &ext_ignore) const |
| void | load_data () |
Static Public Member Functions | |
| static FileAssociations & | getFileAssociation () |
Private Member Functions | |
| FileAssociations () | |
| ~FileAssociations () | |
Private Attributes | |
| class FileAssociationsImp * | m_imp |
Classes | |
| struct | file_association |
| typedef std::vector<file_association> FileAssociations::association_list |
Definition at line 146 of file dbaccess.h.
| typedef std::vector<std::pair<QString, bool> > FileAssociations::ext_ignore_list |
Definition at line 147 of file dbaccess.h.
| FileAssociations::FileAssociations | ( | ) | [private] |
Definition at line 886 of file dbaccess.cpp.
| FileAssociations::~FileAssociations | ( | ) | [private] |
Definition at line 891 of file dbaccess.cpp.
| FileAssociations & FileAssociations::getFileAssociation | ( | ) | [static] |
Definition at line 896 of file dbaccess.cpp.
Referenced by VideoScannerImp::buildFileList(), VideoListImp::buildFileList(), FileAssociation::deleteYourselfFromDB(), Metadata::getPlayer(), FileAssocDialog::loadFileAssociations(), and FileAssociation::saveYourself().
| bool FileAssociations::get | ( | unsigned int | id, | |
| file_association & | val | |||
| ) | const |
Definition at line 856 of file dbaccess.cpp.
| bool FileAssociations::get | ( | const QString & | ext, | |
| file_association & | val | |||
| ) | const |
Definition at line 861 of file dbaccess.cpp.
| bool FileAssociations::remove | ( | unsigned int | id | ) |
| const FileAssociations::association_list & FileAssociations::getList | ( | ) | const |
Definition at line 871 of file dbaccess.cpp.
Referenced by Metadata::getPlayer(), and FileAssocDialog::loadFileAssociations().
| void FileAssociations::getExtensionIgnoreList | ( | ext_ignore_list & | ext_ignore | ) | const |
Definition at line 876 of file dbaccess.cpp.
Referenced by VideoScannerImp::buildFileList(), and VideoListImp::buildFileList().
| void FileAssociations::load_data | ( | ) |
class FileAssociationsImp* FileAssociations::m_imp [private] |
Definition at line 170 of file dbaccess.h.
Referenced by add(), FileAssociations(), get(), getExtensionIgnoreList(), getList(), load_data(), remove(), and ~FileAssociations().
1.5.5