diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/homepage.cpp | 3 | ||||
-rw-r--r-- | src/homepage.h | 4 | ||||
-rw-r--r-- | src/previewimage.cpp | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp index 912ed11d..230692c0 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -49,8 +49,9 @@ #include <QFile> -HomePage::HomePage(QObject *parent) +HomePage::HomePage(QObject *parent, const QString &authority) : QObject(parent) + , m_authority(authority) { m_homePagePath = KStandardDirs::locate("data", "rekonq/htmls/home.html"); } diff --git a/src/homepage.h b/src/homepage.h index 90a211a9..3996c095 100644 --- a/src/homepage.h +++ b/src/homepage.h @@ -40,7 +40,7 @@ class HomePage : public QObject Q_OBJECT public: - HomePage(QObject *parent); + HomePage(QObject *parent = 0, const QString &authority = QString("home")); ~HomePage(); QString rekonqHomePage(); @@ -52,6 +52,8 @@ private: QString fillRecentHistory(); QString m_homePagePath; + + QString m_authority; }; #endif // REKONQ_HOME_PAGE diff --git a/src/previewimage.cpp b/src/previewimage.cpp index 96b02be7..c10f8924 100644 --- a/src/previewimage.cpp +++ b/src/previewimage.cpp @@ -66,6 +66,7 @@ PreviewImage::~PreviewImage() { } + void PreviewImage::setSiteImage() { QMovie *m = movie(); @@ -80,4 +81,4 @@ void PreviewImage::mousePressEvent(QMouseEvent *event) { Q_UNUSED(event) Application::instance()->loadUrl(m_url); -}
\ No newline at end of file +} |