projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix downloading several books. Update version.
[dorian]
/
chaptersdialog.h
diff --git
a/chaptersdialog.h
b/chaptersdialog.h
index
03d18ff
..
a29d887
100644
(file)
--- a/
chaptersdialog.h
+++ b/
chaptersdialog.h
@@
-1,11
+1,12
@@
#ifndef CHAPTERSDIALOG_H
#define CHAPTERSDIALOG_H
#ifndef CHAPTERSDIALOG_H
#define CHAPTERSDIALOG_H
+#include <QStringList>
+
#include "listwindow.h"
class QWidget;
#include "listwindow.h"
class QWidget;
-class QListWidget;
-class QListWidgetItem;
+class QModelIndex;
class Book;
/** Display book chapters. */
class Book;
/** Display book chapters. */
@@
-20,10
+21,10
@@
signals:
void goToChapter(int index);
public slots:
void goToChapter(int index);
public slots:
- void onItemActivated(QListWidgetItem *);
+ void onItemActivated(const QModelIndex &index);
protected:
protected:
- QListWidget *list;
+ QStringList data;
};
#endif // CHAPTERSDIALOG_H
};
#endif // CHAPTERSDIALOG_H