diff options
author | Armin Berres <armin.berres@basyskom.de> | 2010-03-02 14:16:32 +0100 |
---|---|---|
committer | Armin Berres <armin.berres@basyskom.de> | 2010-03-03 11:30:05 +0100 |
commit | 870d206b07c7c88744a38160ad7e301e3ecc61b6 (patch) | |
tree | b1b1dbb6789f3df02950abd9650b968a383e8915 /demos/widgetsgallery/pushbuttonpage.cpp | |
parent | 3bf9f85079c9fd6f5c6f4e61ab8016171aa220e6 (diff) |
Changes: make output of timedemo independent from the locale
RevBy: Kuisma Salonen
Details:
Right now the output of the timedemo differs if the locale is
changed. To get te same output no matter what we introduce new methods
to define the string representations of a page in the timedemo output.
Diffstat (limited to 'demos/widgetsgallery/pushbuttonpage.cpp')
-rw-r--r-- | demos/widgetsgallery/pushbuttonpage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/widgetsgallery/pushbuttonpage.cpp b/demos/widgetsgallery/pushbuttonpage.cpp index ba2a10d1..957b48c4 100644 --- a/demos/widgetsgallery/pushbuttonpage.cpp +++ b/demos/widgetsgallery/pushbuttonpage.cpp @@ -43,6 +43,11 @@ PushButtonPage::~PushButtonPage() { } +QString PushButtonPage::timedemoTitle() +{ + return "PushButton"; +} + void PushButtonPage::createContent() { TemplatePage::createContent(); |