summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* delete .desktop files of examplesOswald Buddenhagen2012-11-28219-2409/+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: I27e2c35375e28645b0c03449ddc7ac7017da5943 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Make the animation framework docs more framework-agnosticJan Arve Saether2012-11-282-6/+9
| | | | | | | | | * (i.e. do not mention Kinetic) * Add some relevant references to Qt Quick * Refer to QMetaType::Type instead of the obsolete QVariant::Type Change-Id: I82b69250c933c7e54dc0c268fa6ce4379726fb0d Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Provide the bundled zlib headers for external accessaavit2012-11-283-5/+17
| | | | | | | | | | | | | | | | | | (Currently, the Qt5 windows packages lack the tiff and mng plugins from qtimageformats because of this issue.) If Qt is configured to use its bundled zlib, it is compiled into QtCore, and the public symbols are exported so that it can be used by other Qt libraries. However, after modularization, this did not work for libraries outside qtbase, since they did not have access to the headers of the bundled zlib. This commit fixes that. Ref. also 1f461ac45bfa8887261510a95fb33a346d68eaba Change-Id: Ie986f47e00fd0c16f2ba04d27f4258a20d61b260 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix -largefile option in configureLucas Wang2012-11-281-0/+4
| | | | | | | | | | -largefile is regarded as a library named argefile and added to Makefile as a link flag. It will cause a link error. Change-Id: I8ac30896d4e473f7e98c937c8906b1b9c620cf1e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* qdoc: Listing QML group members across modulesMartin Smith2012-11-282-5/+13
| | | | | | | | | | | | | This is a second update, which fixes the "All QML APIs by Module" page, I think. I expect there will be more insifious places where this problem will pop up. qdoc must be dragged, kicking and screaming into the modular age. Task-number: QTBUG-28036 Change-Id: I8dd4733a2b0aac9bab3cb2066b6dbf139a8e98a6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Qnx: Check if QCoreApplication::instance() exists before using QSocketNotifiermfekari2012-11-281-2/+5
| | | | | | Change-Id: I9f00314ea1ef73b87bc56ca1f8fcf859c9cd1824 Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Peter Hartmann <phartmann@rim.com>
* Remove Qt 3 references from model/view documentation.Paul Olav Tvete2012-11-281-16/+7
| | | | | | | Also, don't pretend that Qt 4 is new. Change-Id: Ib8f719310059093b31181e3c98cf5c028c3018dc Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Move session management code from QApplication to QGuiApplication.David Faure2012-11-288-264/+246
| | | | | | | | | | | | | | QSessionManager was already in QtGui, but not usable since the only API to get to it was still in QtWidgets. Session management isn't related to widgets, it also applies to QML apps on the desktop. The virtual commitData and saveState methods have been removed, given the two signals which exist since 4.2, and an additional isSessionSaving() method was added instead. Change-Id: I8099e70df133303e74456706827da21f013fcc6a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Docs: cleaned up remaining cleanlooks references and screenshotsJ-P Nurmi2012-11-2830-10/+5
| | | | | Change-Id: I671cec2a84eabe14bef788499dbfa7d7e9c27670 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Docs: add Fusion Style Widget GalleryJ-P Nurmi2012-11-2829-3/+141
| | | | | | Change-Id: I1eb6548a8842fc141b1506d6070f6b74bda5c893 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Document how to name threads.Mitch Curtis2012-11-281-0/+8
| | | | | | Change-Id: If7a7bf4f54509ebb86ce394d8bb5a7748ef419d5 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fixed QTestLib tutorial docs (link + outdated mention of Qt Labs).Samuel Rødal2012-11-282-4/+4
| | | | | | Change-Id: I76d45780b052b40b079fb0c8e0d38db88aa17814 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* fixqt4headers: Remove QtQuick1 and add QtMultimediaLars Knoll2012-11-281-6/+6
| | | | | | | | | QtQuick1 is QtDeclarative again, so there's no header file renaming needed. But Multimedia got renamed from multimediakit and this needs to be included. Change-Id: Ie787d6841f0525e1dc290f7ca8d9cae148308e32 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* tst_QLayout: use QStyleFactory instead of QWindowsStyleJ-P Nurmi2012-11-281-2/+2
| | | | | | | QWindowsStyle is soon to become an internal class. Change-Id: I25ac344d349d07db94e2fbc9ef943e09c399f913 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* Choose better screenshots for "The Widget Classes" docsJ-P Nurmi2012-11-281-5/+5
| | | | | | | | | Remove references to the obsolete CDE and Plastique styles, choose screenshots from more modern styles, and revise the table so that screenshots in the same column are from the same style. Change-Id: I20d5944ab62d8a6965fb49339dede90624c520b3 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* tst_QWidget: use QStyleFactory instead of QWindowsStyleJ-P Nurmi2012-11-281-8/+8
| | | | | | | QWindowsStyle is soon to become an internal class. Change-Id: I75424d6fc2f36fb0faace86c960d78a4ba305658 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* Style docs & snippets: remove references to QWindowsStyleJ-P Nurmi2012-11-286-65/+75
| | | | | | | | | QWindowsStyle is being made internal. Use either QProxyStyle for customizing existing styles or QCommonStyle to implement full custom styles. Change-Id: Ic81696abc61a3c012a3775efc0b4fba2e1dab4bb Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Remove invalid assert from QGraphicsSceneRafael Roquetto2012-11-281-1/+0
| | | | | | | | | | | This assert has become invalid since commit 40fef403. After that commit, the 'origin' mentioned by the assert is not necessarily the first item of cachedItemsUnderMouse, since it origin can be reassigned at line 5735. Change-Id: Ibc0739b9fe31be3cc74110225940e9e173f585e0 Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Denis Dzyubenko <denis@ddenis.info> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
* Docs: removed Motif widget galleryJ-P Nurmi2012-11-2829-138/+0
| | | | | | | The Motif style no longer lives in QtBase. Change-Id: I7a0d31603a3898c1e5ab558b6e14aac4ec1315bc Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Docs: removed CDE widget galleryJ-P Nurmi2012-11-2828-133/+0
| | | | | | | The CDE style no longer lives in QtBase. Change-Id: Idfb35e8333b30939a4929418ecf2ce6ccfc437cd Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: rename qttest.qdocconf to qttestlib.qdocconfhjk2012-11-282-1/+1
| | | | | | | | The name of the .qhp files seems to be generated from the name of the .qdocconf, not the value it has in qhp.QtTest.file Change-Id: I12645cb254991006c920234ec966e2fa220cb595 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* QtCore: Make more signals private.Stephen Kelly2012-11-2815-40/+108
| | | | | | Change-Id: Ida190e8b9c1ff47a6f54a5bf68673ab50a2f1bfe Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Always use QAIM to get the default flags.Stephen Kelly2012-11-289-12/+12
| | | | | Change-Id: I801f5c8023e3e3672fde28139a7f34f640e650f5 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Add a -libexecdir option to the configuresThiago Macieira2012-11-288-5/+37
| | | | | | | | | | | | | | | | | | User applications are those that users run directly, whether it be for development or not. The executable binaries that the user does not usually run but is still required for proper functioning are called "program executables" in Autoconf and they are placed in libexec. This commit adds support for "program executables" in Qt by adding the -libexecdir option to the configures, the qmake variable QT_INSTALL_LIBEXECS (note the plural, to match all other properties), and QLibraryInfo::LibraryExecutables. At the time of this commit, the only expected "program executable" is the QtWebProcess, the WebKit2 helper process from QtWebKit. Change-Id: I66c3a3e0cf7f9d93b5f88f55f18e957faff608fc Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Enhanced QSharedDataPointer documentation with container performance sectionNils Jeisecke2012-11-281-0/+8
| | | | | | | | Added a section motivating the use of Q_DECLARE_TYPEINFO to mark shared data classes as movable types. Change-Id: I26664500aef7d83d779d90f97f3f2b0043966480 Reviewed-by: Casper van Donderen <casper.vandonderen@gmail.com>
* Make "API Reference" section \section1Jan Arve Saether2012-11-281-1/+2
| | | | | | | This is consistent with QtCore and QtSql landing pages. Change-Id: Ibea45678a6952b39d24483bad1ee44f562699d1f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Examples: move widgets specific "tools" examples to the correct placeJ-P Nurmi2012-11-28204-157/+168
| | | | | | | examples/tools -> examples/widgets/tools Change-Id: I8b9e23c45e07ce5cd9da8f24a9a9f7ae10b2b107 Reviewed-by: hjk <qthjk@ovi.com>
* Build fix when building libGLESv2 on Windows with MSVC 2010Andy Shaw2012-11-281-2/+1
| | | | | | | | | Although SSE2 is not used, texture.cpp does not protect calls to these functions, support for SSE2 is checked at runtime so the code needs to be compiled in. Change-Id: Ie14d0ff6b75448e480236d5d30254f107735b77f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* GV auto tests: kill QWindowsStyle dependenciesJ-P Nurmi2012-11-275-26/+19
| | | | | Change-Id: I6236b7ca23897c5075bef21f5e62fe01f4cfc611 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* QNX: fix QProcess fd inheritanceRafael Roquetto2012-11-271-3/+18
| | | | | | | | | | Under QNX, QProcess was not inheriting the parent's file descriptors. This patch fills in the fd_map array, containing the file descriptors to be inherited, which is passed to spawn(), accordingly. Change-Id: Ia160abda88c1ffede877301aeae93a97c2b35320 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com>
* Commented confusing QWriteLocker use in QGLTextureCache::getTexture().Samuel Rødal2012-11-271-0/+1
| | | | | | Task-number: QTBUG-22560 Change-Id: Idd3948455e8415473a407f66b628418c0d87898d Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* revamp doc generation targetsOswald Buddenhagen2012-11-273-17/+39
| | | | | | | | | | | | | | - the old docs target becomes html_docs - a new qch_docs target is added. the .qch files end up directly in QT_INSTALL_DOCS, wihout any subdirectories in between - the new docs target invokes html_docs and qch_docs - respective un-/install targets are added as well. note that the install targets don't depend on the build targets, as it's virtually impossible to get the dependencies right throughout the hierarchy. Change-Id: I07a2589db8252371e77cf925c47c4e59fbd1b2ca Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* assign MAKEFILE even in non-subdirs MakefilesOswald Buddenhagen2012-11-271-0/+5
| | | | | | | | | | | | this is necessary for having a clean way to recurse even from leaf makefiles. the location where the variable is written in the makefile is somewhat bizarre, but the code is so convoluted that finding a better place would mean either a lot of duplication or a lot of prior refactoring. Change-Id: I68e4cf7e3814f6c60b2e3421d69775c993dafb23 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Added link to Html5 Web Database APINico Vertriest2012-11-271-0/+5
| | | | | | | | Removed trailing whitespace Change-Id: I98e57b23dbd037bea3b9f5f67fee70110207e3e0 Reviewed-by: Geir Vattekar <geir.vattekar@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Fix typo in SSL error message.Friedemann Kleint2012-11-271-2/+2
| | | | | Change-Id: If72d80979e1d2ea909227785cd691be39d75c8ab Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
* Change copyright information from Nokia to DigiaSergio Ahumada2012-11-271-3/+3
| | | | | | | Task-number: QTBUG-28156 Change-Id: Id6b1cd83155c61b0d3ead2d185b8968511d4a23f Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* QGuiApplication docs: clarify that QWidget needs QApplicationJ-P Nurmi2012-11-271-1/+3
| | | | | | Task-number: QTBUG-28076 Change-Id: I2ebbedd1916f472b9517b509f3b5499d93c71d45 Reviewed-by: Jing Bai <jing.bai@digia.com>
* Update the StylePlugin exampleJ-P Nurmi2012-11-272-14/+18
| | | | | | | | | QWindowsStyle will soon become an internal class, inherit SimpleStyle from QProxyStyle. The documentation has been updated accordingly. Change-Id: Ib55f59729e980b93276e9c2903f13b5e46612ac8 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix filesToOpen in example manifests.Eike Ziller2012-11-271-2/+2
| | | | | | Task-number: QTBUG-27801 Change-Id: Ibfe1f3f2f3ba9d00698d3465fb0950e77a63bd4e Reviewed-by: Martin Smith <martin.smith@digia.com>
* Fix touch event handling for WindowsOliver Wolff2012-11-275-14/+29
| | | | | | | | | | | | | Filtering touch events depending on Qt::WA_AcceptTouchEvents is not trivial. I thought about doing so in QWidgetWindow::handleTouchEvent but the target widget (not window), which has to be checked, has to be obtained using the primary touch event's position etc. Thus that is not part of this commit and will be done in a followup. Change-Id: I876ee72acd7fdfbe46da61c6eb3c5891ea319cd8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* adjust to modularization changes in ActiveQtJoerg Bornemann2012-11-273-27/+8
| | | | | | Task-number: QTBUG-27776 Change-Id: I1c30270867d20f028bad09fdc5408a414b122f5b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix possible assertion when using stringToCMap() for a multi engineKonstantin Ritt2012-11-271-4/+3
| | | | | | | | | | | If (*nglyphs < len), stringToCMap() sets *nglyphs to len and returns false immediately; the caller then must resize the buffer and re-try. However, QFontEngineMulti::stringToCMap() doesn't update the nglyphs value and thus the second call would fail, too. This is quite unexpected. Change-Id: Id2cce7b9faf7706c382fccf023e1b7affa9a10be Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* qdoc: Listing group members across modulesMartin Smith2012-11-2716-417/+395
| | | | | | | | | | | | | | This is a first attempt at fixing the problem, but it probably is not the entire solution. The problem requires adding attributes to the index files and then reusing them when the index files are read. The same problem will be affecting the module lists themselves, but that is not fixed in this update. Task-number: QTBUG-28036 Change-Id: I8593d5b9446e51a5204b6c71f8c4f2b63f445972 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Properly deprecated QGLFramebufferObject and QGLFramebufferObjectFormatSamuel Rødal2012-11-271-1/+5
| | | | | | Change-Id: I9affdcce0988e3538c8a7a696999a7cf8c3448aa Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Remove remaning TARGET.EPOCHEAPSIZE settings from examples.hjk2012-11-272-4/+0
| | | | | | | Not needed anymore. Change-Id: I28b6566e1498afb68295c16e8786fe8bc0256361 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Improve OpenGL docsJan Arve Saether2012-11-278-2/+15
| | | | | | | | | * Mark all Open GL classes with \inmodule QtOpenGL. Otherwise, they weren't listed in the list of classes. * Remove a reference to Motif Change-Id: I75680712b212cf46b869014d3678b56d022c6323 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fixed abbreviations in QWindow::framePos() and QWindow::setFramePos().Samuel Rødal2012-11-277-17/+18
| | | | | | | | | | | | As 672e7c875e8680818e23d0aef98129d95eb7e91c did changing pos() to position() and setPos() to setPosition(). Luckily there's not much code that uses these. Change-Id: I1e1982f00412a22bd376e667a5e8c30b6149f9b5 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* remove dependency of fusion style on windowsTasuku Suzuki2012-11-272-21/+29
| | | | | | | | | Fusion does not depend on Windows qfeatures.h regenerated from qfeatures.txt (QT_NO_LIBRARY and QT_NO_STYLE_FUSION were missing) Change-Id: I5e650a826abb788c7ffb1f0f28d9bbb2d357b7a8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix link to licensing pageLars Knoll2012-11-271-1/+1
| | | | | | Change-Id: I398a9e46fd9c4beacd9e8554dab544154e48b870 Reviewed-by: Sami Makkonen <sami.makkonen@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Doc: write qttestlib.qch, not qttest.qchhjk2012-11-271-1/+1
| | | | | | | | | This is an enabler for https://codereview.qt-project.org/#change,40381 Change-Id: I2c2fdefab041dc9332816aefbe85ff66c275ca63 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>