@@ -30,7 +30,7 @@
31#include "horizontaljournal.h"
31#include "horizontaljournal.h"
33−class QWidthModel : public QAbstractListModel {
33+class WidthModel : public QAbstractListModel {
35 QHash<int, QByteArray> roleNames() const
35 QHash<int, QByteArray> roleNames() const
@@ -125,7 +125,7 @@ private Q_SLOTS:
125 view->setResizeMode(QQuickView::SizeRootObjectToView);
125 view->setResizeMode(QQuickView::SizeRootObjectToView);
126 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
126 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
128− model = new QWidthModel();
128+ model = new WidthModel();
129 QStringList heightList;
129 QStringList heightList;
130 heightList << "100" << "50" << "125" << "10" << "40" << "70" << "200" << "110" << "160" << "20" << "20" << "65" << "80" << "200" << "300" << "130" << "400" << "300" << "500" << "10";
130 heightList << "100" << "50" << "125" << "10" << "40" << "70" << "200" << "110" << "160" << "20" << "20" << "65" << "80" << "200" << "300" << "130" << "400" << "300" << "500" << "10";
131 model->setStringList(heightList);
131 model->setStringList(heightList);
@@ -314,7 +314,7 @@ private Q_SLOTS:
315 void testChangeModel()
315 void testChangeModel()
317− QWidthModel *model2 = new QWidthModel();
317+ WidthModel *model2 = new WidthModel();
318 QStringList list2;
318 QStringList list2;
319 list2 << "100" << "50" << "125" << "25" << "50" << "50";
319 list2 << "100" << "50" << "125" << "25" << "50" << "50";
320 model2->setStringList(list2);
320 model2->setStringList(list2);
@@ -385,7 +385,7 @@ private Q_SLOTS:
386 void testModelAppendRemoveLast()
386 void testModelAppendRemoveLast()
388− QWidthModel *model2 = new QWidthModel();
388+ WidthModel *model2 = new WidthModel();
389 QStringList heightList;
389 QStringList heightList;
390 heightList << "100" << "50" << "125" << "25" << "50" << "50";
390 heightList << "100" << "50" << "125" << "25" << "50" << "50";
391 model2->setStringList(heightList);
391 model2->setStringList(heightList);
@@ -457,7 +457,7 @@ private Q_SLOTS:
458 QQuickView *view;
458 QQuickView *view;
459 HorizontalJournal *hj;
459 HorizontalJournal *hj;
460− QWidthModel *model;
460+ WidthModel *model;
463QTEST_MAIN(HorizontalJournalTest)
463QTEST_MAIN(HorizontalJournalTest)