summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7David Boddie2010-10-041-0/+7
|\
| * Fixed incorrect snippet in BLD_INF_RULES documentationMiikka Heikkinen2010-09-271-0/+7
| | | | | | | | | | Task-number: QTBUG-13988 Reviewed-by: TrustMe
* | Doc: Made a number of fixes to the documentation.David Boddie2010-10-041-0/+10
|/
* Fixed spelling, broken links, and missing default values.Jerome Pasion2010-08-301-1/+1
| | | | | Tasks: QTBUG-13271, QTBUG-13212, QTBUG-12321 Reviewer: David Boddie
* Doc: QtConcurrent::run. Make sure the example actually compilesOlivier Goffart2010-08-231-6/+4
| | | | | | | | | | | | | QString::split has overload, and if you want to take the address of a function with overload, you need to cast it. If we really wanted to use QString::split, we would have to do QFuture<QStringList> future = QtConcurrent::run(string, static_cast<QStringList (QString::*)(const QString &, QString::SplitBehavior, Qt::CaseSensitivity ) const>(&QString::split), QString (", "), QString::KeepEmptyParts, Qt::CaseSensitive); So use QByteArray::split as an example instead Task-number: QTBUG-12897 Reviewed-by: David Boddie
* Removed duplicate case for const variable snippet.Jerome Pasion2010-08-061-5/+0
| | | | | Reviewer: David Boddie Task number: QTBUG-10411
* Doc: use const& in foreach when applicable.Olivier Goffart2010-07-268-12/+12
| | | | | | | Const reference are slightly faster than doing a copy of the object on each iteration. Lead by example by having this pattern right in our documentation
* Merge branch 'raptorConfigurePatches' into 4.7-s60axis2010-07-211-2/+2
|\ | | | | | | | | | | Conflicts: configure src/sql/drivers/drivers.pri
| * Removed the need to specify -arch symbian when compiling on Linux.axis2010-07-211-2/+2
| | | | | | | | | | Task: QTBUG-11385 RevBy: Jason Barron
* | Fixed install docs for Qt for Symbian on Linux.axis2010-07-151-1/+1
|/
* Support for "deploy" make target in SymbianMiikka Heikkinen2010-07-021-2/+1
| | | | | | | | Executing "make deploy" will recreate project sis file and deploy it into a device. Task-number: QTBUG-5155 Reviewed-by: axis
* Doc: Relicensed the documentation under the GNU FDL version 1.3.David Boddie2010-06-211-0/+479
| | | | | Reviewed-by: Trust Me Requested-by: Legal
* Doc: Updated example license to three clause BSD license.David Boddie2010-06-10424-11848/+11424
| | | | | | | See change 8f47373e3795d7ec50387d5f1a771a59567bdaea for context. Reviewed-by: Trust Me Requested-by: Legal
* Fixes QGraphicsItem::scroll issuesBjørn Erik Nilsen2010-05-211-0/+6
| | | | | | | | | | | | | | | | | | | | The biggest and most important issue was that QGraphicsItem::scroll always accelerated the scroll without taking overlapping items or opacity into account, which caused drawing artifacts. We can only do accelerated scrolling if the item is opaque and not overlapped by other items. There's no (sane) way to detect whether an item is opaque or not (similar to Qt::WA_OpaquePaintEvent), which means we cannot support accelerated scrolling unless the item is cached into a pixmap (QGraphicsItem::setCacheMode). The second issue was that QStyleOptionGraphicsItem::exposedRect always contained the whole boundinRect() after an accelerated scroll (even with the QGraphicsItem::ItemUsesExtendedStyleOption flag enabled). Auto test included. Task-number: QTBUG-8378, QTBUG-7703 Reviewed-by: yoann
* Merge commit 'refs/merge-requests/2379' of git://gitorious.org/qt/qt into ↵David Boddie2010-05-041-0/+20
|\ | | | | | | integration
| * Add diagrams for illustrating the process of moving rows.Stephen Kelly2010-05-031-0/+20
| |
* | Symbian (installation) docs.Thomas Zander2010-04-291-2/+84
| | | | | | | | Done with: Axis
* | Trivial doc fixHarald Fernengel2010-04-211-0/+1
|/ | | | | The docs for qDBusRegisterMetaType did not mention the required header at all, since the function is documented as part of QDBusArgument.
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-04-171-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.7-integration * '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: EABI and BWINS DEF file updates for Symbian Further RVCT4 fixes for Symbian Symbol visibility fixes for RVCT4 on Symbian Symbol visibility fixes for RVCT4 on Symbian Symbol visibility fixes for RVCT4 on Symbian Fixed automatic patching of self-signed packages Webkit got bigger, make it link again on armlink Set library path properly for all systems Make debugging floating point mistakes much easier. Simplify docs a bit Fix check for arm based systems Fix option(recursive)
| * Simplify docs a bitThomas Zander2010-04-161-2/+0
| |
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Olivier Goffart2010-04-161-1/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/webkit/VERSION src/3rdparty/webkit/WebCore/ChangeLog src/3rdparty/webkit/WebCore/page/FrameView.cpp src/3rdparty/webkit/WebCore/rendering/RenderWidget.cpp src/3rdparty/webkit/WebKit/qt/symbian/eabi/QtWebKitu.def src/s60installs/bwins/QtCoreu.def src/s60installs/bwins/QtGuiu.def src/s60installs/bwins/QtNetworku.def src/s60installs/eabi/QtGuiu.def tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp
| * DocAaron Kennedy2010-04-161-1/+4
| | | | | | | | | | Update QObject documentation to match the Qt's Property System documentation.
* | A bit saner suggestionThomas Zander2010-04-121-1/+1
| | | | | | | | | | The docs should probably not suggest a permission level has so many permissions that in practice nobody needs it (or can get it)
* | Doc: update the QDBusPendingCallWatcher example to show where to deleteThiago Macieira2010-04-061-0/+1
| | | | | | | | Task-number: QTBUG-8865
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7Martin Jones2010-03-252-2/+11
|\ \ | | | | | | | | | | | | Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp
| * | Rename networkAccess property to networkAccessible.Aaron McCarthy2010-03-191-0/+9
| | | | | | | | | | | | Add unit test and update docs.
| * | doc: Fixed use of Qt 3 support function in QIcon doc snippetThorbjørn Lindeijer2010-03-181-2/+2
| | | | | | | | | | | | | | | isOn() is an Qt 3 support member of QAbstractButton, isChecked() should be used instead.
* | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.7Alexis Menard2010-03-252-3/+8
|\ \ \ | |/ / |/| / | |/ | | | | | | Conflicts: mkspecs/common/symbian/symbian.conf qmake/generators/symbian/symmake.cpp src/3rdparty/webkit/WebCore/WebCore.pro
| * 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
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Thiago Macieira2010-03-151-0/+5
|\ \ | |/ | | | | | | Conflicts: src/gui/styles/qs60style_s60.cpp
| * 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
* | Merge remote branch 'origin/4.6' into qt-4.7-from-4.6Rohan McGovern2010-03-061-0/+14
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe examples/multimedia/audioinput/audioinput.cpp src/corelib/io/qfsfileengine.cpp src/gui/egl/qegl_wince.cpp src/gui/egl/qeglproperties.cpp src/gui/egl/qeglproperties_p.h src/gui/embedded/directfb.pri src/gui/kernel/qapplication_win.cpp src/gui/painting/qdrawutil.cpp src/opengl/qgl_p.h src/sql/drivers/odbc/qsql_odbc.cpp src/sql/drivers/odbc/qsql_odbc.h tests/auto/auto.pro tests/auto/qgl/tst_qgl.cpp translations/assistant_adp_ru.ts
| * 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
* | Updating documentation for how to build QWS with tslibJørgen Lind2010-03-031-1/+4
| | | | | | | | Reviewed-by: David Boddie <dboddie@trolltech.com>
* | QMetaType: Now we can register typedefs.Olivier Goffart2010-03-021-0/+5
| | | | | | | | | | | | | | Task-number: QTBUG-6833 Task-number: QTBUG-937 Reviewed-by: Brad Reviewed-by: Kent Hansen
* | Merge branch '4.6'Miikka Heikkinen2010-02-261-0/+13
|\ \ | |/ | | | | | | Conflicts: mkspecs/common/symbian/symbian.conf
| * 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
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into master-s60axis2010-02-261-1/+1
|\ \ | |/ | | | | | | | | Conflicts: qmake/generators/symbian/initprojectdeploy_symbian.cpp qmake/generators/symbian/symmake_abld.h
| * doc: Added QScopedArrayPointer and corrected QScopedPointer snippet.Martin Smith2010-02-231-1/+1
| | | | | | | | Task: QTBUG-7766
* | Merge remote branch 'origin/master' into bearermanagement/unit-testsAaron McCarthy2010-02-221-1/+1
|\ \ | | | | | | | | | | | | Conflicts: src/network/access/qnetworkaccessmanager.cpp
| * | Doc: these files are NOT part of the test suite of the Qt toolkitThiago Macieira2010-02-201-1/+1
| | |
* | | Use snippets.Aaron McCarthy2010-02-151-0/+49
| | |
* | | Expand documentation for QNAM::setConfiguration() and friends.Aaron McCarthy2010-02-151-0/+9
|/ /
* | Merge remote branch 'origin/4.6' into qt-master-from-4.6Thiago Macieira2010-02-131-1/+1
|\ \ | |/ | | | | | | Conflicts: qmake/generators/symbian/symmake.cpp
| * doc: Fixed several typos.Martin Smith2010-02-121-1/+1
| | | | | | | | Task: QTBUG-7997
* | Merge remote branch 'origin/4.6' into qt-master-from-4.6Thiago Macieira2010-02-121-13/+4
|\ \ | |/
| * 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
* | Merge remote branch 'qt/4.6' into qt-master-from-4.6Qt Continuous Integration System2010-02-092-11/+12
|\ \ | |/ | | | | | | | | Conflicts: src/gui/kernel/qcocoapanel_mac.mm src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
| * 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
* | Remove obsolete OpenGL/ES CommonLite (fixed-point) supportRhys Weatherley2010-02-041-1/+1
| | | | | | | | | | Task-number: QTBUG-7683 Reviewed-by: Tom Cooksey