diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-11-23 12:25:32 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-11-23 13:57:13 +0100 |
commit | 2fc8c10b8faff5be486b8eb2c175c179d14a643c (patch) | |
tree | e07e24f4561e711ef3ed2adf7c7ef8ecf7d410b0 /src/plugins/qtsupport/gettingstartedwelcomepage.h | |
parent | c0cebf97355237316d7797ffc226fa001144f581 (diff) |
new design of the welcomepage
Design done by: Virva Auvinen
Change-Id: I94ca75f50d3924088bc7d9be6cc884975480bcac
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/qtsupport/gettingstartedwelcomepage.h')
-rw-r--r-- | src/plugins/qtsupport/gettingstartedwelcomepage.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/gettingstartedwelcomepage.h b/src/plugins/qtsupport/gettingstartedwelcomepage.h index 0c84f6420a9..6b031fb575f 100644 --- a/src/plugins/qtsupport/gettingstartedwelcomepage.h +++ b/src/plugins/qtsupport/gettingstartedwelcomepage.h @@ -48,12 +48,27 @@ namespace Internal { class ExamplesListModel; class GettingStartedWelcomePageWidget; - class GettingStartedWelcomePage : public Utils::IWelcomePage { Q_OBJECT + public: GettingStartedWelcomePage(); + QUrl pageLocation() const; + QString title() const; + int priority() const; + void facilitateQml(QDeclarativeEngine *); + +private: + QDeclarativeEngine *m_engine; +}; + + +class ExamplesWelcomePage : public Utils::IWelcomePage +{ + Q_OBJECT +public: + ExamplesWelcomePage(); void setShowExamples(bool showExamples); QUrl pageLocation() const; @@ -62,12 +77,14 @@ public: bool hasSearchBar() const; void facilitateQml(QDeclarativeEngine *); Q_INVOKABLE QStringList tagList() const; + Q_INVOKABLE void openUrl(const QUrl &url); signals: void tagsUpdated(); public slots: void openSplitHelp(const QUrl &help); + void openHelp(const QUrl &help); void openProject(const QString& projectFile, const QStringList& additionalFilesToOpen, const QUrl& help); void updateTagsModel(); |