BPS C++ API  2.24.4
bpsmodelindexmimedata.h
Go to the documentation of this file.
1 
4 #ifndef BPSMODELINDEXMIMEDATA_H
5 #define BPSMODELINDEXMIMEDATA_H
6 
7 #include "bpscore_global.h"
8 #include <QMimeData>
9 #include <QModelIndexList>
10 
15 {
16  Q_OBJECT
18 
19 public:
20 
26  BpsModelIndexMimeData(QString aFormat, const QModelIndexList& aIndexes);
27 
28  virtual ~BpsModelIndexMimeData();
29 
34 
38  QModelIndexList indexes() const;
39 
43  int indexCount() const;
44 
45 }; // BpsModelIndexMimeData
46 
47 #endif // BPSMODELINDEXMIMEDATA_H
Public include file for BPS CORE library macros.
#define BPSCORE_EXPORT
Declare class to be an import from the shared library.
Definition: bpscore_global.h:22
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
This class implements a mime data container for model indexes.
Definition: bpsmodelindexmimedata.h:15
QStringList formats() const
int indexCount() const
BpsModelIndexMimeData(QString aFormat, const QModelIndexList &aIndexes)
Constructor for BpsModelIndexMimeData.
QModelIndexList indexes() const