This property decides if the searchBar in the tool bar is shown or not.
Change-Id: Ic00da70a6427dff71b49f4341003d31b43338fed
Reviewed-on: http://codereview.qt-project.org/5705
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
Q_PROPERTY(QString title READ title CONSTANT)
Q_PROPERTY(QUrl pageLocation READ pageLocation CONSTANT)
Q_PROPERTY(int priority READ priority CONSTANT)
+ Q_PROPERTY(bool hasSearchBar READ hasSearchBar CONSTANT)
public:
IWelcomePage();
virtual QString title() const = 0;
virtual int priority() const { return 0; }
virtual void facilitateQml(QDeclarativeEngine *) {}
+ virtual bool hasSearchBar() const { return false; }
private:
// not used atm