ark
ArchiveModel Class Reference
#include <archivemodel.h>

Detailed Description
Definition at line 33 of file archivemodel.h.
Signals | |
| void | loadingStarted () |
| void | loadingFinished () |
| void | extractionFinished (bool success) |
| void | error (const QString &error, const QString &details) |
Public Member Functions | |
| ArchiveModel (QObject *parent=0) | |
| ~ArchiveModel () | |
| QVariant | data (const QModelIndex &index, int role) const |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| 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 |
| void | setArchive (Kerfuffle::Archive *archive) |
| Kerfuffle::Archive * | archive () const |
| ArchiveEntry | entryForIndex (const QModelIndex &index) |
| int | childCount (const QModelIndex &index) |
| ExtractJob * | extractFile (const QVariant &fileName, const QString &destinationDir, bool preservePaths=false) |
| ExtractJob * | extractFiles (const QList< QVariant > &files, const QString &destinationDir, bool preservePaths=false) |
| AddJob * | addFiles (const QStringList &paths) |
| DeleteJob * | deleteFiles (const QList< QVariant > &files) |
| void | setJobTracker (KJobTrackerInterface *tracker) |
Constructor & Destructor Documentation
| ArchiveModel::ArchiveModel | ( | QObject * | parent = 0 |
) |
Definition at line 152 of file archivemodel.cpp.
| ArchiveModel::~ArchiveModel | ( | ) |
Definition at line 159 of file archivemodel.cpp.
Member Function Documentation
| QVariant ArchiveModel::data | ( | const QModelIndex & | index, | |
| int | role | |||
| ) | const |
Definition at line 168 of file archivemodel.cpp.
| Qt::ItemFlags ArchiveModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 204 of file archivemodel.cpp.
| QVariant ArchiveModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role = Qt::DisplayRole | |||
| ) | const |
Definition at line 214 of file archivemodel.cpp.
| QModelIndex ArchiveModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const |
Definition at line 229 of file archivemodel.cpp.
| QModelIndex ArchiveModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 247 of file archivemodel.cpp.
| int ArchiveModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 287 of file archivemodel.cpp.
| int ArchiveModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 301 of file archivemodel.cpp.
| void ArchiveModel::setArchive | ( | Kerfuffle::Archive * | archive | ) |
Definition at line 401 of file archivemodel.cpp.
| Kerfuffle::Archive* ArchiveModel::archive | ( | ) | const [inline] |
Definition at line 51 of file archivemodel.h.
| ArchiveEntry ArchiveModel::entryForIndex | ( | const QModelIndex & | index | ) |
Definition at line 261 of file archivemodel.cpp.
| int ArchiveModel::childCount | ( | const QModelIndex & | index | ) |
Definition at line 272 of file archivemodel.cpp.
| ExtractJob * ArchiveModel::extractFile | ( | const QVariant & | fileName, | |
| const QString & | destinationDir, | |||
| bool | preservePaths = false | |||
| ) |
Definition at line 427 of file archivemodel.cpp.
| ExtractJob * ArchiveModel::extractFiles | ( | const QList< QVariant > & | files, | |
| const QString & | destinationDir, | |||
| bool | preservePaths = false | |||
| ) |
Definition at line 434 of file archivemodel.cpp.
| AddJob * ArchiveModel::addFiles | ( | const QStringList & | paths | ) |
Definition at line 440 of file archivemodel.cpp.
Definition at line 455 of file archivemodel.cpp.
| void ArchiveModel::setJobTracker | ( | KJobTrackerInterface * | tracker | ) | [inline] |
Definition at line 62 of file archivemodel.h.
| void ArchiveModel::loadingStarted | ( | ) | [signal] |
| void ArchiveModel::loadingFinished | ( | ) | [signal] |
| void ArchiveModel::extractionFinished | ( | bool | success | ) | [signal] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference