|
LibEngsas
|
A model to represent MimeTypes, related applications and available settings. More...
#include <emimetypemodel.h>
Inheritance diagram for EMimeTypeModel:
Collaboration diagram for EMimeTypeModel:Public Member Functions | |
| EMimeTypeModel (QObject *parent=0) | |
| ~EMimeTypeModel () | |
| void | addMimeType (EMimeType *mimeType) |
| EMimeType * | getMimeType (QString mimeType) |
| EMimeType * | getMimeType (int row) |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| bool | hasChildren (const QModelIndex &parent=QModelIndex()) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| bool | loadModel () |
| bool | saveModel () |
Public Member Functions inherited from EAbstractItemModel | |
| EAbstractItemModel (QObject *parent=0) | |
| virtual | ~EAbstractItemModel () |
Private Member Functions | |
| EMimeModelItem * | elementFromIndex (const QModelIndex &index) const |
Private Attributes | |
| QList< EMimeType * > | mimeTypes |
Additional Inherited Members | |
Signals inherited from EAbstractItemModel | |
| void | error (QString msg) |
| void | warning (QString msg) |
| void | information (QString msg) |
| void | eRowsInserted (const QModelIndex &parent, int start, int end) |
| Replacement of private signal rowsInserted(). More... | |
| void | eRowsRemoved (const QModelIndex &parent, int start, int end) |
| Replacement of private signal rowsRemoved(). More... | |
Static Public Member Functions inherited from EAbstractItemModel | |
| static void | connectByPass (QObject *parent, EAbstractItemModel *child) |
| static void | connectByPass (EAbstractItemModel *parent, QObject *child) |
Protected Slots inherited from EAbstractItemModel | |
| virtual void | errorByPass (const QString &message) |
Protected Member Functions inherited from EAbstractItemModel | |
| virtual void | warningByPass (const QString &message) |
| virtual void | informationByPass (const QString &message) |
A model to represent MimeTypes, related applications and available settings.
model to represant MimeTypes, the application which can be used to open it, the suffix of the mimetype and the default application choosen by the user
| EMimeTypeModel::EMimeTypeModel | ( | QObject * | parent = 0 | ) |
| EMimeTypeModel::~EMimeTypeModel | ( | ) |
| void EMimeTypeModel::addMimeType | ( | EMimeType * | mimeType | ) |
Here is the caller graph for this function:| int EMimeTypeModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| QVariant EMimeTypeModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:| EMimeType * EMimeTypeModel::getMimeType | ( | QString | mimeType | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| EMimeType * EMimeTypeModel::getMimeType | ( | int | row | ) |
| bool EMimeTypeModel::hasChildren | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Here is the call graph for this function:| QVariant EMimeTypeModel::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role = Qt::DisplayRole |
||
| ) | const |
| QModelIndex EMimeTypeModel::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool EMimeTypeModel::loadModel | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| QModelIndex EMimeTypeModel::parent | ( | const QModelIndex & | index | ) | const |
Here is the call graph for this function:| int EMimeTypeModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool EMimeTypeModel::saveModel | ( | ) |
Here is the call graph for this function:
|
private |
1.8.8