Tooltips and fonts stuff.
[qsnippetsmanager.git] / standarditemmodel.h
blobf2355d89bcf45277f9e8021f38a2a54995116a94
1 #ifndef STANDARDITEMMODEL_H
2 #define STANDARDITEMMODEL_H
4 #include <QMimeData>
5 #include <QStandardItemModel>
7 #include "Snippet.h"
9 class MainWindow;
11 class StandardItemModel : public QStandardItemModel
13 public:
14 StandardItemModel( MainWindow* aparent = 0 );
16 bool dropMimeData( const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent );
17 QMimeData* mimeData( const QModelIndexList &indexes ) const;
18 QStringList mimeTypes() const;
19 Qt::DropActions supportedDropActions() const;
21 private:
22 MainWindow* p;
25 #endif // STANDARDITEMMODEL_H