blob: b7443918c57b3e8f968896fe5f0395f0021d653a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef MAINCATEGORYPAGE_H
#define MAINCATEGORYPAGE_H
#include "templatepage.h"
#include <QModelIndex>
class MLinearLayoutPolicy;
class MList;
class QAbstractItemModel;
class MainCategoryPage : public TimedemoPage
{
Q_OBJECT
public:
MainCategoryPage(QAbstractItemModel* demosDataModel, const QModelIndex &parentIndex);
QString timedemoTitle();
void createContent();
void populateLayout();
private Q_SLOTS:
void galleryPageItemClicked(const QModelIndex &index);
private:
QAbstractItemModel *dataModel;
MList *list;
MLinearLayoutPolicy *policy;
};
#endif // MAINCATEGORYPAGE_H
|