Using the typedef ModelItemValues for "QHash<int, QVariant>".
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
|
||||
class TableModel;
|
||||
|
||||
typedef QHash<int, QVariant> ModelItemValues;
|
||||
|
||||
class RemoveRowsCommand : public QUndoCommand {
|
||||
public:
|
||||
// TODO don't use simple pointer to model
|
||||
@ -22,7 +24,7 @@ class RemoveRowsCommand : public QUndoCommand {
|
||||
private:
|
||||
TableModel* m_tableModel;
|
||||
const int m_startRow;
|
||||
QList<QHash<int, QVariant>> m_valueList;
|
||||
QList<ModelItemValues> m_valueList;
|
||||
};
|
||||
|
||||
#endif // REMOVEROWSCOMMAND_H
|
||||
|
||||
Reference in New Issue
Block a user