NepomukDaemons
FolderSelectionModel Class Reference
#include <folderselectionmodel.h>

Public Types | |
| enum | CustomRoles { IncludeStateRole = 7777 } |
| enum | IncludeState { StateNone, StateInclude, StateExclude, StateIncludeInherited, StateExcludeInherited } |
Public Member Functions | |
| int | columnCount (const QModelIndex &) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QStringList | excludeFolders () const |
| void | excludePath (const QString &) |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| FolderSelectionModel (QObject *parent=0) | |
| QStringList | includeFolders () const |
| void | includePath (const QString &) |
| IncludeState | includeState (const QString &path) const |
| IncludeState | includeState (const QModelIndex &) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| void | setFolders (const QStringList &includeDirs, const QStringList &exclude) |
| virtual | ~FolderSelectionModel () |
Detailed Description
Definition at line 33 of file folderselectionmodel.h.
Member Enumeration Documentation
Definition at line 41 of file folderselectionmodel.h.
Constructor & Destructor Documentation
| FolderSelectionModel::FolderSelectionModel | ( | QObject * | parent = 0 |
) |
Definition at line 39 of file folderselectionmodel.cpp.
| FolderSelectionModel::~FolderSelectionModel | ( | ) | [virtual] |
Definition at line 46 of file folderselectionmodel.cpp.
Member Function Documentation
| int FolderSelectionModel::columnCount | ( | const QModelIndex & | ) | const [inline] |
Definition at line 71 of file folderselectionmodel.h.
| QVariant FolderSelectionModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
Definition at line 61 of file folderselectionmodel.cpp.
| QStringList FolderSelectionModel::excludeFolders | ( | ) | const |
Definition at line 211 of file folderselectionmodel.cpp.
| void FolderSelectionModel::excludePath | ( | const QString & | path | ) |
Exclude the specified path.
All subdirs will be reset.
Definition at line 180 of file folderselectionmodel.cpp.
| Qt::ItemFlags FolderSelectionModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 51 of file folderselectionmodel.cpp.
| QStringList FolderSelectionModel::includeFolders | ( | ) | const |
Definition at line 205 of file folderselectionmodel.cpp.
| void FolderSelectionModel::includePath | ( | const QString & | path | ) |
Include the specified path.
All subdirs will be reset.
Definition at line 163 of file folderselectionmodel.cpp.
| FolderSelectionModel::IncludeState FolderSelectionModel::includeState | ( | const QString & | path | ) | const |
Definition at line 236 of file folderselectionmodel.cpp.
| FolderSelectionModel::IncludeState FolderSelectionModel::includeState | ( | const QModelIndex & | index | ) | const |
Definition at line 230 of file folderselectionmodel.cpp.
| bool FolderSelectionModel::setData | ( | const QModelIndex & | index, | |
| const QVariant & | value, | |||
| int | role = Qt::EditRole | |||
| ) |
Definition at line 117 of file folderselectionmodel.cpp.
| void FolderSelectionModel::setFolders | ( | const QStringList & | includeDirs, | |
| const QStringList & | exclude | |||
| ) |
Definition at line 197 of file folderselectionmodel.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference