making serviceItem aware of how many slides are in an item

This commit is contained in:
Chris Cochrun 2023-01-13 09:22:38 -06:00
parent 278afe7989
commit 6271df91fc
4 changed files with 53 additions and 0 deletions

View file

@ -23,6 +23,7 @@ public:
AudioRole,
FontRole,
FontSizeRole,
SlideNumberRole,
ActiveRole,
SelectedRole
};
@ -81,6 +82,11 @@ public:
const QString &type, const QString &background,
const QString &backgroundType, const QStringList &text,
const QString &audio, const QString &font, const int &fontSize);
Q_INVOKABLE void insertItem(const int &index, const QString &name,
const QString &type, const QString &background,
const QString &backgroundType, const QStringList &text,
const QString &audio, const QString &font,
const int &fontSize, const int &slideNumber);
Q_INVOKABLE void removeItem(int index);
Q_INVOKABLE bool moveRows(int sourceIndex, int destIndex, int count);
Q_INVOKABLE bool moveDown(int index);