Changeset View
Changeset View
Standalone View
Standalone View
src/formatter/grantleeviewformatter.cpp
Show All 27 Lines | |||||
28 | #include <QVariantHash> | 28 | #include <QVariantHash> | ||
29 | #include <QApplication> | 29 | #include <QApplication> | ||
30 | #include <QVariantList> | 30 | #include <QVariantList> | ||
31 | #include <folder.h> | 31 | #include <folder.h> | ||
32 | #include <feed.h> | 32 | #include <feed.h> | ||
33 | 33 | | |||
34 | using namespace Akregator; | 34 | using namespace Akregator; | ||
35 | 35 | | |||
36 | GrantleeViewFormatter::GrantleeViewFormatter(const QString &htmlFileName, const QString &themePath, const QUrl &imageDir, int deviceDpiY, QObject *parent) | 36 | GrantleeViewFormatter::GrantleeViewFormatter(const QString &htmlFileName, const QString &themePath, const QUrl &imageDir, int deviceDpiY) | ||
37 | : PimCommon::GenericGrantleeFormatter(htmlFileName, themePath, parent) | 37 | : GrantleeTheme::GenericFormatter(htmlFileName, themePath) | ||
38 | , mImageDir(imageDir) | 38 | , mImageDir(imageDir) | ||
39 | , mHtmlArticleFileName(htmlFileName) | 39 | , mHtmlArticleFileName(htmlFileName) | ||
40 | , mGrantleeThemePath(QStringLiteral("file://") + themePath + QLatin1Char('/')) | 40 | , mGrantleeThemePath(QStringLiteral("file://") + themePath + QLatin1Char('/')) | ||
41 | , mDeviceDpiY(deviceDpiY) | 41 | , mDeviceDpiY(deviceDpiY) | ||
42 | { | 42 | { | ||
43 | mDirectionString = QApplication::isRightToLeft() ? QStringLiteral("rtl") : QStringLiteral("ltr"); | 43 | mDirectionString = QApplication::isRightToLeft() ? QStringLiteral("rtl") : QStringLiteral("ltr"); | ||
44 | } | 44 | } | ||
45 | 45 | | |||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |