summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
Commit message (Collapse)AuthorAgeFilesLines
* Change to release licenses for 4.6.3.Jason McDonald2010-05-30423-5499/+5499
| | | | Reviewed-by: Trust Me
* DocAaron Kennedy2010-04-161-1/+4
| | | | | Update QObject documentation to match the Qt's Property System documentation.
* Clarified pkg_prerules usage documentation.Miikka Heikkinen2010-03-242-3/+8
| | | | | | | The default_deployment item shouldn't be used to add own rules. Task-number: QTBUG-9277 Reviewed-by: Janne Anttila
* Support for adding user specified list type content in rss fileMiikka Heikkinen2010-03-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Added support for the following RSS_RULES variables to improve control over placement of user defined rules inside application registration resource file: RSS_RULES.header - Rule placed before APP_REGISTRATION_INFO RSS_RULES.footer - Rule placed after APP_REGISTRATION_INFO RSS_RULES.service_list - Rule placed inside a SERVICE_INFO item in the service_list of APP_REGISTRATION_INFO RSS_RULES.file_ownership_list - Rule placed inside a FILE_OWNERSHIP_INFO item in the file_ownership_list of APP_REGISTRATION_INFO RSS_RULES.datatype_list - Rule placed inside a DATATYPE item in the datatype_list of APP_REGISTRATION_INFO Task-number: QT-3083 Reviewed-by: Janne Anttila
* Added .condition modifier to SUBDIRS.Miikka Heikkinen2010-03-011-0/+14
| | | | | | | | | | | | | | | | In Symbian, it is now possible to set certain subdirs to be built only when specified define is true when bld.inf is parsed. For example, compile a subdir only when building for emulator: SUBDIRS += winscw_lib winscw_lib.condition = WINSCW Also improved SUBDIRS variable documentation; the modifiers were completely undocumented. Task-number: QT-3017 Reviewed-by: axis
* Added addMMPRules for adding conditional MMP_RULESMiikka Heikkinen2010-02-261-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage: # Set conditional libraries LIB.MARM = "LIBRARY myarm.lib" LIB.WINSCW = "LIBRARY mywinscw.lib" LIB.default = "LIBRARY mydefault.lib" # Set conditional Epoc Heap Size EHZ.WINSCW = "EPOCHEAPSIZE 0x2000 0x2000000" EHZ.default = "EPOCHEAPSIZE 0x40000 0x400000" # Add the conditional MMP rules MYCONDITIONS = MARM WINSCW MYVARIABLES = LIB EHZ addMMPRules(MYCONDITIONS, MYVARIABLES) This will generate the following in the mmp file: #if defined(MARM) LIBRARY myarm.lib EPOCHEAPSIZE 0x40000 0x400000 #elif defined(WINSCW) LIBRARY mywinscw.lib EPOCHEAPSIZE 0x2000 0x2000000 #else LIBRARY mydefault.lib EPOCHEAPSIZE 0x40000 0x400000 #endif Task-number: QT-2909 Reviewed-by: axis
* doc: Added QScopedArrayPointer and corrected QScopedPointer snippet.Martin Smith2010-02-231-1/+1
| | | | Task: QTBUG-7766
* doc: Fixed several typos.Martin Smith2010-02-121-1/+1
| | | | Task: QTBUG-7997
* Streamlined smart installer package creation in SymbianMiikka Heikkinen2010-02-091-13/+4
| | | | | | | | | | | | - Added make target for creating smart installer packages - Application sis is automatically generated if missing when "make installer_sis" is invoked - No need to specify installer pkg UID if self signing is enough - Related docs fixed - Fixed smartinstaller.sis name to be correct Task-number: QTBUG-8026 Reviewed-by: axis
* Added support for smart installer package generation in SymbianMiikka Heikkinen2010-02-042-11/+12
| | | | | | | | | | | | | | | | Smart installer packages bundle normal application sis with a bootstrap package that will download a smart installer when the package is installed. Smart installer in turn will download any dependencies of the application that are available on remote server, such as Open C, Qt, and QtWebkit packages, and install them Smart installer packages are generated when DEPLOYMENT.installer_header variable is defined in applicatoin .pro file. This commit is still missing properly signed bootstrap.sis package. Task-number: QTBUG-7908 Reviewed-by: Shane Kearns
* doc: Document the "Type" enum value as a const in variable.Martin Smith2010-01-281-0/+11
| | | | Task-number: QTBUG-7605
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-01-241-4/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Doc: Fixed broken link. Doc: Added a warning about the Accelerated Graphics Driver example. Doc: Fixed installation information for Qt for Embedded Linux. fix copy-paste error minor optimization Autotest: add a test for allowing hostnames ending in dot Fix QUrl::toAce for domains with dot at end Fix NSCFNumber autorelease warning on Mac. Add a reference to adjustSize() from the size property Fix the parallel build of QtWebKit
| * Doc: Fixed installation information for Qt for Embedded Linux.David Boddie2010-01-221-4/+8
| | | | | | | | Reviewed-by: Trust Me
* | QtHelp docs: Fix illegal namespace name.ck2010-01-211-1/+1
|/ | | | | Task-number: QTBUG-5908 Reviewed-by: kh1
* Describe patch-capabilities in the install instructions.Shane Kearns2010-01-181-0/+18
| | | | | Task-number:QTBUG-7294 Reviewed-by:Gareth Stockwell
* 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' 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).
* 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