kget
Go to the documentation of this file.
20 #ifndef VERIFICATION_MODEL_H
21 #define VERIFICATION_MODEL_H
23 #include "../kget_export.h"
25 #include <QtCore/QAbstractTableModel>
27 class VerificationModelPrivate;
43 QVariant data(
const QModelIndex &index,
int role)
const;
44 Qt::ItemFlags flags(
const QModelIndex &index)
const;
45 bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole);
46 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
47 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
48 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
49 bool removeRows(
int row,
int count,
const QModelIndex &parent = QModelIndex());
60 void addChecksum(
const QString &type,
const QString &checksum,
int verified = 0);
69 void addChecksums(
const QHash<QString, QString> &checksums);
74 void setVerificationStatus(
const QString &type,
int verified);
77 VerificationModelPrivate *d;
79 friend class VerificationModelPrivate;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.