summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix QRegExp includesSamuel Gaist2017-03-011-0/+1
| | | | | | | | This patch adds missing QRegExp includes in preparation for the qtbase include cleanup. Change-Id: Iad019a697d785e351f639b685a5d8c6a86e1f161 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Add feature xml-schemaFriedemann Kleint2016-10-251-2/+2
| | | | | | | Fix build warnings about missing qfeatures. Change-Id: I577b78fcf2037877f15d87006e279e61e4d86945 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Eradicate Q_FOREACH loops and mark the module as Q_FOREACH-freeMarc Mutz2016-09-201-1/+1
| | | | | | | | In network-settings.h, replaced a few QList of static size with C arrays. Change-Id: Iac32e68f76e3c53fa03b6a2943e1dfb5adbe6fad Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Example MessageHandler: remove unused m_messageType.Edward Welbourne2016-05-311-2/+0
| | | | | | | | | Coverity (CID 22275) pointed out it wasn't initialized in the constructor. It isn't even accessed; and the method that sets it claims the parameter it sets it to is unused. So just remove it. Change-Id: Id48f45a89b7a2d3d44e92b785d425592f1bc6467 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* delete .desktop files of examplesOswald Buddenhagen2016-05-104-44/+0
| | | | | | | | | they were added without an explanation, and they can't be particularly useful (because they contain hard-coded paths and refer to non-existing icons). Change-Id: I24cb431268c2d5130bf70a5e2777d321eda36e97 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: removed links to QObject XML Model Examplev5.6.0-rc1v5.6.0Nico Vertriest2016-01-281-9/+7
| | | | | | | | | Uses Qt Webkit which is not part of 5.6 Task-number: QTBUG-43810 Change-Id: I89d74eb9555f04f90f930fa52a834997b5f1e99d Reviewed-by: Martin Smith <martin.smith@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-1718-80/+80
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I1dc468d4e08c2dfdc4643410220f18bc8ec450b9 Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
* Doc: fix issues to display examples in Qt Creatorv5.4.1Leena Miettinen2015-01-054-52/+59
| | | | | | | | | | | | | - Add \brief commands to example docs to show descriptions - Add an examples page with the \group command - Link to the examples page from the module index page - Edit the .qdocconf file - Edit the .gitignore file to allow pushing changes to examples - Add a generic thumbnail image for C++ Code Analyzer example Change-Id: I1a313ae26664ce9fc50ef8962f0facd57dea546b Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Updated the \example command to point to the right directoryv5.4.0-rc1v5.4.0Venu2014-11-051-1/+1
| | | | | | | | qdoc needs a directory with a project file to generate the source files list at the bottom of the example page. Change-Id: I06b459cce495435d68ed5555ff4f48c860b63e64 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Polish schema example.Friedemann Kleint2014-10-081-4/+22
| | | | | | | | | | | | | Add some error handling, fix warning on startup: QIODevice::read: device not open caused by MainWindow::schemaSelected(0) which clears the instance combo causing the current index to temporarily change to -1. Change-Id: I213d68b07b2dee4e2bbc1404aaf149ce7c189713 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix some typosv5.3.0-beta1Sergio Ahumada2014-03-032-2/+2
| | | | | Change-Id: Ic387dac14f664fd01700142ca303d01d2fe09168 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* whitespace fixesOswald Buddenhagen2014-01-229-34/+34
| | | | | | | | remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Filetree-example: Fix sort order.Friedemann Kleint2013-12-121-2/+2
| | | | | | | | | | | The debug version of the algorithm in MSVC performs a check on the less-than function (if a < b, b < a should be false). Always returning QXmlNodeModelIndex::Precedes fails that. Task-number: QTBUG-35525 Change-Id: I2ad030284eb76fd07427ffb710b3d3afd63103e5 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* make it possible to disable XML schema usagePeter Hartmann2013-11-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | | Removing XML schema functionality reduces the size of libQt5XmlPatterns.so considerably: Linux desktop release mode: with XML schema: 4.3 MB without XML schema: 3.2 MB BlackBerry10 release mode: with XML schema: 2.6 MB without XML schema: 1.9 MB XML schema might not be used, especially on a mobile / embedded device, as opposed to the rest of xmlpatterns (e.g. XPath through QML XmlListModel). Task-number: QTBUG-28068 Change-Id: I5024a822179e7241e592f079efe3adef8f661c70 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix warnings about signal-slot connection in filetree example.Friedemann Kleint2013-05-132-3/+3
| | | | | | | Task-number: QTBUG-31079 Change-Id: I2696834f70bd0db05c9d70759b81159fabe561fd Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Remove instructions for using qtdemo from examples READMETopi Reinio2013-04-161-32/+3
| | | | | | | | | | The Qt Examples and Demos Launcher is not maintained anymore. Edit the README to mention Qt Creator as the way to find and launch examples. Task-number: QTBUG-28388 Change-Id: If3662d53a46335a5bdd8ced2df104e545d3fe5ba Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Doc: Fix minor typoSze Howe Koh2013-04-101-1/+1
| | | | | Change-Id: I68323ffd7f58f9dcb41aab96195598eebcc6b7ce Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Fix module name formatSze Howe Koh2013-01-251-1/+1
| | | | | | | | Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation Change-Id: I1a8b3cafa9d1b9a6fdde835ae93f5f87b4d3970c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1018-18/+18
| | | | | | Change-Id: I5b7d4c1de139bebfff1b67d216c579835431e5d6 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-01-101-1/+1
| | | | | | | Change-Id: Iff51a71f1d24a1372359efcea74d627ae4d471ee Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* remove trafficinfo example and related docJing Bai2012-12-0716-1257/+1
| | | | | | | | | | Due to trafikanten API change, this example doesn't work anymore. The new API uses JSON based content, we can probably use it for qjson example. Task-number: QTBUG-28423 Change-Id: I36b499b4b2f36d46314937c24d9a2df3bba7b391 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* centralize and fixup example sources install targetsv5.0.0-rc1Joerg Bornemann2012-12-057-41/+13
| | | | | | | | | This follows suit with aeb036e in qtbase. Change-Id: I3b93a30194cddd7514f05ce915eecb2e1ed6433c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: hjk <qthjk@ovi.com>
* Doc: Grouped the XML pattern examples under xmlpattern_examples groupVenugopal Shivashankar2012-11-305-1/+5
| | | | | Change-Id: Id026f8fe89d5a6e59de5bca14b5d0b5eb2a41752 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Display first result as wellChristian Stenger2012-11-261-0/+2
| | | | | Change-Id: If014d72cee6e3dd9e822a36390f56754c30e3848 Reviewed-by: hjk <qthjk@ovi.com>
* Doc: Modularized Qt XML Patterns documentation.Jerome Pasion2012-11-235-0/+1036
| | | | | | | | | | | | | -moved snippets, images, documentation to src/xmlpatterns -fixed \snippet tag -ported module information from qtdoc repository -enabled "make docs" for the module -set up qdocconf file and .index file -updated tests/auto/patternistexamples to point to the new snippet locations Change-Id: Ifd10733c277c6dbacac42898c8e7bacd00d23f27 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Stylefixes for examples in qtxmlpatternsChristian Stenger2012-11-225-49/+49
| | | | | Change-Id: I5a7a22779f13805479b37970888a26250c56a70d Reviewed-by: hjk <qthjk@ovi.com>
* Fix building of installed examples.Friedemann Kleint2012-11-212-1/+7
| | | | | | | | | - Install xmlpatterns.pro and its shared folder - Add missing resources. Task-number: QTBUG-27977 Change-Id: Ib7db1d23595cd52bd32d68a9962a7d49dfe7f02d Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2423-138/+138
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I34508f293d75832657f79479e2a8c184e873e154 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Qt XML Patterns File System Example: Do not bind to a null node indexTopi Reiniö2012-07-111-1/+1
| | | | | | | | | | | | | | | | Adds a check for validity of the file node index before running an XQuery. In evaluateResult(), QXmlQuery binds to a QXmlNodeModelIndex variable without checking if it's valid. This causes an assert to trigger if the default directory that the example tries to open does not exist. In this case, m_fileNode has the default (null) value when evaluateResult() is invoked on QComboBox::currentIndexChanged() signal. Task-number: QTBUG-26081 Change-Id: I03c39939b57fcf658527ce3110fdc30d204de520 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* QtXmlPatterns: Fix examples installs.Friedemann Kleint2012-07-112-2/+2
| | | | | Change-Id: I441077a42b65415ea5bf54dc4845f21568e68f21 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Fix compilation of examples when Qt is configured with -no-widgetsKent Hansen2012-06-271-1/+2
| | | | | Change-Id: I4bd904946c7f27dd371138457ef894b4576abd61 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Update QtXmlPatterns module name in documentationqt-v5.0.0-alpha1Honglei Zhang2012-03-221-1/+1
| | | | | | | | | | According to new module name convention, QtXmlPatterns is replaced with Qt XML Patterns in all documentation. Task-number: QTBUG-24775 Change-Id: I3bb3fffc29836dc1cd0e798dca48bfd9e2089821 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Purge the Symbian support from this moduleHolger Hans Peter Freyther2012-01-3110-30/+2
| | | | | | | | | | This continues were 70e6c71f7e8e4c12672075e7477f4f1d99f320e6 stopped and removes Symbian support from the .pro files and the examples. Change-Id: I760645d6e19cccb50d505340c3a08bacc7190105 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3123-23/+23
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie14feff161cca83c53750e22a6204d34c3cba52c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2323-23/+23
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I4a78fc4951be48d46135f4a5e0072bd1a8061ea9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0923-23/+23
| | | | | | Change-Id: Iba74aff1aba680f7b56314f3acae3478be9d3e56 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Merge branch 'refactor'Gunnar Sletta2011-09-1311-12/+14
|\ | | | | | | | | | | | | Conflicts: src/xmlpatterns/xmlpatterns.pro Change-Id: I8d435220281ec372f23c98ab3c15c9a208bacad8
| * QtXmlPatterns: Widget library split.Friedemann Kleint2011-05-2411-12/+14
| |
* | Fix usage of QT_SOURCE_TREEMarius Storm-Olsen2011-06-074-4/+4
|/ | | | Functionality has been moved into qt_example.prf
* Squashed commit of changes from the 4.8-temp branch.David Boddie2011-05-207-0/+272
|
* Squashed commit of the changes from the mobile-examples repositoryDavid Boddie2011-05-2010-4/+37
| | | | | (4.7-generated-declarative branch). (cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
* Moved to using a feature profile instead of direct inclusion.axis2011-04-276-6/+6
|
* Initial import from the monolithic Qt.Qt by Nokia2011-04-2761-0/+3712
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12