1 #ifndef CHANNELSMODEL_H
2 #define CHANNELSMODEL_H
8 class ChannelsModel : public QSqlQueryModel {
13 ChannelsModel(QObject *parent = 0);
14 QVariant data(const QModelIndex &item, int role) const;
15 void setHoveredRow(int row);
16 YTUser* userForIndex(const QModelIndex &index) const;
19 ItemTypeRole = Qt::UserRole,
35 Qt::ItemFlags flags(const QModelIndex &index) const;
36 QStringList mimeTypes() const;
37 Qt::DropActions supportedDropActions() const;
38 Qt::DropActions supportedDragActions() const;
39 QMimeData* mimeData( const QModelIndexList &indexes ) const;
45 #endif // CHANNELSMODEL_H