Applets
kickoffmodel.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KICKOFFMODEL_H
00021 #define KICKOFFMODEL_H
00022
00023
00024 #include <QStandardItemModel>
00025
00026
00027 #include <KService>
00028
00029 namespace Kickoff
00030 {
00031
00035 class KickoffModel : public QStandardItemModel
00036 {
00037 Q_OBJECT
00038
00039 public:
00041 KickoffModel(QObject *parent = 0);
00042 virtual ~KickoffModel();
00043
00044
00045 virtual Qt::ItemFlags flags(const QModelIndex &index) const;
00046 virtual QMimeData *mimeData(const QModelIndexList &indexes) const;
00047 virtual QStringList mimeTypes() const;
00048 virtual Qt::DropActions supportedDropActions() const;
00049 virtual Qt::DropActions supportedDragActions() const;
00050
00051 private:
00052 };
00053
00054 }
00055
00056 #endif // KICKOFFMODEL_H