|
| ProfileModel (QObject *parent=Q_NULLPTR) |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
virtual QVariant | data (const QModelIndex &idx, int role=Qt::DisplayRole) const |
|
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role) |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
|
void | deleteEntry (QModelIndex idx) |
|
void | deleteEntries (QModelIndexList idcs) |
|
int | findByName (QString name) |
|
QModelIndex | addNewProfile (QString name) |
|
QModelIndex | duplicateEntry (QModelIndex idx, int new_status=PROF_STAT_COPY) |
|
void | doResetModel (bool reset_import=false) |
|
bool | resetDefault () const |
|
QModelIndex | activeProfile () const |
|
GList * | at (int row) const |
|
bool | changesPending () const |
|
bool | importPending () const |
|
bool | userProfilesExist () const |
|
int | importProfilesFromDir (QString filename, int *skippedCnt=Q_NULLPTR, bool fromZip=false, QStringList *result=Q_NULLPTR) |
|
QList< int > | findAllByNameAndVisibility (QString name, bool isGlobal=false, bool searchReference=false) const |
|
void | markAsImported (QStringList importedItems) |
|
bool | clearImported (QString *msg=Q_NULLPTR) |
|
int | lastSetRow () const |
|
bool | checkInvalid (const QModelIndex &index) const |
|
bool | checkIfDeleted (const QModelIndex &index) const |
|
bool | checkIfDeleted (int row) const |
|
bool | checkDuplicate (const QModelIndex &index, bool isOriginalToDuplicate=false) const |
|