ark
archivemodel.h
Go to the documentation of this file.
65 virtual bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent);
73 Kerfuffle::ExtractJob* extractFile(const QVariant& fileName, const QString & destinationDir, const Kerfuffle::ExtractionOptions options = Kerfuffle::ExtractionOptions()) const;
74 Kerfuffle::ExtractJob* extractFiles(const QList<QVariant>& files, const QString & destinationDir, const Kerfuffle::ExtractionOptions options = Kerfuffle::ExtractionOptions()) const;
76 Kerfuffle::AddJob* addFiles(const QStringList & paths, const Kerfuffle::CompressionOptions& options = Kerfuffle::CompressionOptions());
118 QList<Kerfuffle::ArchiveEntry> m_newArchiveEntries; // holds entries from opening a new archive until it's totally open
Kerfuffle::ExtractJob * extractFile(const QVariant &fileName, const QString &destinationDir, const Kerfuffle::ExtractionOptions options=Kerfuffle::ExtractionOptions()) const
Definition: archivemodel.cpp:895
Definition: queries.h:44
Definition: jobs.h:155
Definition: jobs.h:140
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: archivemodel.cpp:425
virtual QMimeData * mimeData(const QModelIndexList &indexes) const
Definition: archivemodel.cpp:569
Kerfuffle::AddJob * addFiles(const QStringList &paths, const Kerfuffle::CompressionOptions &options=Kerfuffle::CompressionOptions())
Definition: archivemodel.cpp:911
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: archivemodel.cpp:380
Definition: archivemodel.h:41
void error(const QString &error, const QString &details)
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: archivemodel.cpp:369
void loadingStarted()
KJob * setArchive(Kerfuffle::Archive *archive)
Definition: archivemodel.cpp:863
ArchiveModel(const QString &dbusPathName, QObject *parent=0)
Definition: archivemodel.cpp:282
int childCount(const QModelIndex &index, int &dirs, int &files) const
Definition: archivemodel.cpp:463
void droppedFiles(const QStringList &files, const QString &path=QString())
Definition: archive.h:88
Kerfuffle::DeleteJob * deleteFiles(const QList< QVariant > &files)
Definition: archivemodel.cpp:930
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Definition: archivemodel.cpp:582
Definition: jobs.h:118
QVariant data(const QModelIndex &index, int role) const
Definition: archivemodel.cpp:295
void extractionFinished(bool success)
typedef DropActions
int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: archivemodel.cpp:485
virtual Qt::DropActions supportedDropActions() const
Definition: archivemodel.cpp:548
virtual void sort(int column, Qt::SortOrder order=Qt::AscendingOrder)
Definition: archivemodel.cpp:505
int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: archivemodel.cpp:497
Kerfuffle::ExtractJob * extractFiles(const QList< QVariant > &files, const QString &destinationDir, const Kerfuffle::ExtractionOptions options=Kerfuffle::ExtractionOptions()) const
Definition: archivemodel.cpp:902
QObject * parent() const
void loadingFinished(KJob *)
Kerfuffle::ArchiveEntry entryForIndex(const QModelIndex &index)
Definition: archivemodel.cpp:453
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.