summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
Commit message (Collapse)AuthorAgeFilesLines
...
| * doc: This bug wasn't really a bug; it just required clarification.Martin Smith2010-01-131-1/+1
| | | | | | | | | | | | | | | | | | The reported bug was actually not a bug. It is ok to pass the enum value as a string here, because the enumeration type has been registered with the meta-object system with the Q_ENUMS() macro. However, I have added a bit of text to clarify things a bit. Task-number: QTBUG-7158
| * doc: update snippets for QtScript function expressionsKent Hansen2010-01-122-4/+4
| | | | | | | | | | | | | | With the JSC-based back-end it's necessary to wrap the function in parentheses. Task-number: QTBUG-6644
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6Martin Smith2010-01-111-0/+1
| |\
| | * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-01-09423-424/+424
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (49 commits) Reverted two commits that were pushed to the wrong branch. Use the new QTextCodec api in the QXmlStreamWriter. Added new functions to QTextCodec that accept ConversionFlags. Fix passing of arguments to syncqt doc: Fixed typos. Fixes: Fix spinbox with NoButton style in QGtkStyle doc: Explained parameter value defaults where appropriate. Cocoa: Fix painting errors on QGLWidget resizing. Fix broken QGLWidget::renderPixmap on Mac/Carbon Fixes: Setting any style sheet breaks checkbox positioning Fixes: MenuItem size fixes and missing separator with Gtk+ Autotest: add a test for QNAM's HTTP cache handling code QNAM HTTP: just use the expirationDate in the code that validates the cache QNAM HTTP: change the caching semantics to match documentation QNAM HTTP: fix the caching algorithm from RFC 2616 Avoid repeatedly calling LookupAccountSid in QFSFileEngine::owner improve readability a bit more fix styling; improve readability make it possible to retrieve name of the user who owns the file Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ( 99ccc1c3e4db5354246720f9b9aa3d282e64497d ) ...
| | * | Doc: the QTextDecoder need to be destroyed, reflect that in the exampleOlivier Goffart2010-01-081-0/+1
| | | | | | | | | | | | | | | | Reviewed-by: Denis
| * | | doc: Added clarification about allocating space for the 0 terminator.Martin Smith2010-01-111-0/+17
| | |/ | |/| | | | | | | Task-number: QTBUG-5121
| * | doc: Corrected parameter value in snippet.Martin Smith2010-01-071-1/+1
| | | | | | | | | | | | Task-number: QTBUG-7158
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6Jason McDonald2010-01-062-5/+3
| |\ \ | | |/
| | * Fixed Symbian application deployment instructionsMiikka Heikkinen2010-01-051-5/+1
| | | | | | | | | | | | | | | | | | | | | Obsolete sis files were referenced. Task-number: QTBUG-6601 Reviewed-by: Janne Koskinen
| | * Updated sis file names and related content in Symbian installation docsMiikka Heikkinen2010-01-041-0/+2
| | | | | | | | | | | | | | | Task-number: QTBUG-6348 Reviewed-by: Janne Koskinen
| * | Update copyright year to 2010Jason McDonald2010-01-06423-423/+423
| |/ | | | | | | Reviewed-by: Trust Me
| * Update source package names in documentation.Jason McDonald2009-12-081-6/+6
| | | | | | | | | | Task-number: QTBUG-6574 Reviewed-by: Trust Me
| * QVariant documentation: there is no function QVariant::isEmpty()Olivier Goffart2009-12-011-1/+0
| |
* | Merge branch '4.6'Thiago Macieira2009-11-254-6/+54
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/modules.qdoc examples/assistant/simpletextviewer/findfiledialog.cpp examples/webkit/fancybrowser/mainwindow.cpp src/gui/widgets/qtabbar.cpp src/gui/widgets/qtabbar_p.h tests/auto/qpixmap/tst_qpixmap.cpp tools/assistant/compat/helpdialog.cpp tools/assistant/compat/tabbedbrowser.cpp translations/translations.pri
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-241-1/+1
| |\ | | | | | | | | | 4.6-staging2
| | * Small doc fix.axis2009-11-241-1/+1
| | | | | | | | | | | | RevBy: Trust me
| | * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into ↵axis2009-11-203-0/+48
| | |\ | | | | | | | | | | | | 4.6-staging2
| | | * Improved documentation Qt for the Symbian platformAlessandro Portale2009-11-193-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By Janne Anttila: - Switched links/references from 'S60' to 'Symbian' - Added collection page for Symbian specific documentation - Added page about application deployment for Symbian - Update supported compiler list for Symbian to more specific one - Added bullet about dev env. setup to Symbian installation page - Commented that SBSv2 is not offically supported by current S60 SDKs - Moved S60 3rd FP1 special patching note after SDK installation bullet - Recommedation to look into Qt quick start guide from Symbian Forum - Added Symbian bullet to known issues page and link to wiki - Added link to "state of support" document from symbian docs main page By aportale: - Rephrasing - More consistent naming of 'Qt for the Symbian platform' - Implementation of suggestions from other Nokians Reviewed-By: Janne Anttila
| * | | Added some missing build instructions for abld.axis2009-11-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | WebKit will not build unless the mentioned variable is set. RevBy: Aleksandar Sasha Babic
| * | | Improved documentation Qt for the Symbian platformAlessandro Portale2009-11-193-0/+48
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By Janne Anttila: - Switched links/references from 'S60' to 'Symbian' - Added collection page for Symbian specific documentation - Added page about application deployment for Symbian - Update supported compiler list for Symbian to more specific one - Added bullet about dev env. setup to Symbian installation page - Commented that SBSv2 is not offically supported by current S60 SDKs - Moved S60 3rd FP1 special patching note after SDK installation bullet - Recommedation to look into Qt quick start guide from Symbian Forum - Added Symbian bullet to known issues page and link to wiki - Added link to "state of support" document from symbian docs main page By aportale: - Rephrasing - More consistent naming of 'Qt for the Symbian platform' - Implementation of suggestions from other Nokians Reviewed-By: Janne Anttila
| * | doc: Removed usage of Qt 3 support member from example codeThorbjørn Lindeijer2009-11-151-5/+1
| |/ | | | | | | | | | | This code is used in the documentation for QRegion::isEmpty. It shouldn't mention isNull, since isEmpty replaces it in the case of QRegion (unlike QRect).
* | Assistant: Update documentation for remote commands.ck2009-11-111-5/+3
|/ | | | | | | | | | | | - Assistant understands a newline character as well as '\0' to mark the end of a remote command. Since the former is considerably less complicated to do and to explain, the documentation now uses that approach. - The related examples have been updated accordingly. - The qdoc file now uses the encoding it promises in the header. Reviewed-by: kh1 Reviewed-by: David Boddie
* Improvements to graphics effects API after review round.Samuel Rødal2009-11-101-6/+6
| | | | | | | | | | | | * Get rid of QGraphicsEffectSource from the public API, instead add convenience functions in QGraphicsEffect. This way we commit to less API, and are free to introduce a customizable QGraphicsEffectSource in a future release. * Move PixmapPadMode into QGraphicsEffect and tweak the names of the enum values. * Make QGraphicsBlurEffect::BlurHint into a bit flag, for extensibility. Reviewed-by: Bjørn Erik Nilsen
* Mistake in the example for QByteArray::lastIndexOf()Keith Isdale2009-11-091-1/+1
| | | | | | | | Correct typing error "azy" -> "az" Ensure that the example code returns indicated values. Task-number: QTBUG-5571 Reviewed-by: Peter Yard
* Modify QGLShader and QGLShaderProgram in response to API reviewRhys Weatherley2009-11-051-6/+9
| | | | Reviewed-by: Sarah Smith
* Doc: i18n overhaul for QObject::tr() and the Qt Linguist manual.David Boddie2009-11-022-3/+2
| | | | Reviewed-by: Trust Me
* Remove the ahigl example screen driver.Rhys Weatherley2009-10-121-49/+0
| | | | | | | | This example is very old, doesn't work, and confuses anyone who reads about it into thinking that OpenGL compositing is possible with Qt/Embedded, which is not accurate. Reviewed-by: trustme
* Added support for using custom application objects on S60.axis2009-09-231-0/+3
| | | | | | | | | | | | | | | | With this patch, the application developer can use his own CEikApplication, CEikDocument and CEikAppUi classes with Qt, by deriving from QS60MainApplication, QSMainDocument and QS60MainAppUi, respectively. He can then register a factory function in the QApplication constructor to have his own objects created during the framework initialization. This patch also fixes some Qt code style issues. RevBy: Jason Barron RevBy: mread RevBy: Sami Merila RevBy: Shane Kearns
* Doc: Language and style fixes to the XML Patterns documentation.David Boddie2009-09-181-76/+2
| | | | Reviewed-by: Trust Me
* Added a QTest::qWaitForWindowShown function that waits for window manager on ↵Denis Dzyubenko2009-09-181-0/+6
| | | | | | | | | | X11. On X11 it calls the qt_x11_wait_for_window_manager from QtGui, allowing to wait until the window has been mapped and reparented into a frame decoration parent. Reviewed-by: Olivier Goffart
* qdoc: Shift snippets in QGLShaderProgram out into doc/src/snippetsRhys Weatherley2009-09-151-0/+92
|
* Added example to docs for QPainter::beginNativePainting().Samuel Rødal2009-09-111-0/+17
| | | | | | Hopefully this helps clarify the use of beginNativePainting(). Reviewed-by: Trond
* Doc: QHeaderView::section:checked was left out of stylesheet docs.Geir Vattekar2009-09-111-0/+5
| | | | | Task-number: 254741 Reviewed-by: Trust Me
* Doc: Fixed snippet bug in stylesheet docsGeir Vattekar2009-09-101-3/+0
| | | | | Task-number: 241222 Reviewed-by: Trust Me
* Update installation instructions for building for SymbianShane Kearns2009-09-101-0/+5
| | | | | | | | Add MinGW to list of tools people need to build the tools. Update RVCT version from 616->686 Include instructions for building with raptor Reviewed-by: Jason Barron
* Update license headers again.Jason McDonald2009-09-09422-1688/+1688
| | | | Reviewed-by: Trust Me
* Doc: fixing a QFileInfo snippet typeJoão Abecasis2009-09-081-3/+3
| | | | Task-number: 258371
* Add license header.Jason McDonald2009-09-081-0/+41
| | | | Reviewed-by: Trust Me
* Doc: Added a note that a state machine requires a running event loop.David Boddie2009-09-071-0/+15
| | | | Reviewed-by: Trust Me
* Doc: Added info on Q_FLAGS() by providing an example with more context.David Boddie2009-09-041-3/+19
| | | | | Reviewed-by: Trust Me As-seen-on: qt-interest
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-09-044-10/+92
|\
| * Update license headersJason McDonald2009-09-042-1/+83
| | | | | | | | Reviewed-by: Trust Me
| * Renamed make 'sisx' target to 'sis' and QT_SISX_* variables to QT_SIS_*Janne Anttila2009-09-032-8/+8
| | | | | | | | | | | | Renaming done based feedback. Reviewed-by: TrustMe
| * Tiny doc fix spotted by panter_dsd.Denis Dzyubenko2009-09-011-1/+1
| | | | | | | | Reviewed-by: trustme
* | Doc: Fixed a code snippet demonstrating setStandardOutputProcess().David Boddie2009-09-041-1/+1
|/ | | | | Task-number: 260654 Reviewed-by: Trust Me
* Add missing license headers.Jason McDonald2009-08-317-0/+287
| | | | Reviewed-by: Trust Me
* Merge branch '4.5' into 4.6Thiago Macieira2009-08-31413-5369/+5369
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp demos/boxes/vector.h demos/embedded/fluidlauncher/pictureflow.cpp demos/embedded/fluidlauncher/pictureflow.h doc/src/desktop-integration.qdoc doc/src/distributingqt.qdoc doc/src/examples-overview.qdoc doc/src/examples.qdoc doc/src/frameworks-technologies/dbus-adaptors.qdoc doc/src/geometry.qdoc doc/src/groups.qdoc doc/src/objecttrees.qdoc doc/src/platform-notes.qdoc doc/src/plugins-howto.qdoc doc/src/qt3support.qdoc doc/src/qtdbus.qdoc doc/src/qtdesigner.qdoc doc/src/qtgui.qdoc doc/src/qtmain.qdoc doc/src/qtopengl.qdoc doc/src/qtsvg.qdoc doc/src/qtuiloader.qdoc doc/src/qundo.qdoc doc/src/richtext.qdoc doc/src/topics.qdoc src/corelib/tools/qdumper.cpp src/gui/embedded/qkbdpc101_qws.cpp src/gui/embedded/qkbdsl5000_qws.cpp src/gui/embedded/qkbdusb_qws.cpp src/gui/embedded/qkbdvr41xx_qws.cpp src/gui/embedded/qkbdyopy_qws.cpp src/gui/embedded/qmousebus_qws.cpp src/gui/embedded/qmousevr41xx_qws.cpp src/gui/embedded/qmouseyopy_qws.cpp src/gui/painting/qpaintengine_d3d.cpp src/gui/painting/qwindowsurface_d3d.cpp src/opengl/gl2paintengineex/glgc_shader_source.h src/opengl/gl2paintengineex/qglpexshadermanager.cpp src/opengl/gl2paintengineex/qglpexshadermanager_p.h src/opengl/gl2paintengineex/qglshader.cpp src/opengl/gl2paintengineex/qglshader_p.h src/opengl/util/fragmentprograms_p.h src/plugins/kbddrivers/linuxis/linuxiskbdhandler.cpp src/plugins/mousedrivers/linuxis/linuxismousehandler.cpp src/script/parser/qscript.g src/script/qscriptarray_p.h src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext.cpp src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmacore.cpp src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptmember_p.h src/script/qscriptobject_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptvalue.cpp src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptxmlgenerator.cpp src/script/qscriptxmlgenerator_p.h tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp tools/linguist/shared/cpp.cpp
| * Update tech preview license header.Jason McDonald2009-08-31413-5369/+5369
| | | | | | | | Reviewed-by: Trust Me
* | Merge branch 'master' into 4.6Janne Anttila2009-08-312-5/+17
|\ \
| * | Updated docs to reflect current 'createpackage' and 'make sisx' syntax.Janne Anttila2009-08-282-5/+17
| | | | | | | | | | | | Reviewed-by: Miikka Heikkinen