summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedpointer
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers again.Jason McDonald2009-09-083-12/+12
| | | | Reviewed-by: Trust Me
* Update tech preview license header.Jason McDonald2009-08-313-39/+39
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-08-113-3/+3
| | | | Reviewed-by: Trust Me
* Autotest: disable the pointer-tracking tests in 4.5Thiago Macieira2009-08-031-0/+2
| | | | | | | The functionality these tests tested was broken in 4.5 and has been disabled. Therefore, these tests simply cannot pass. It's fixed in 4.6.
* Autotest: add a newline after the user program headers.Thiago Macieira2009-07-301-0/+1
| | | | | | | | If the user forgot to end their headers with a newline, the compilation would fail because the next line is #include <QtCore/QtCore>. Reviewed-by: Jesper Thomschütz
* Fix a running external tests: user program headers must come first.Thiago Macieira2009-07-261-2/+2
| | | | | | No wonder QT_SHAREDPOINTER_TRACK_POINTERS was having no effect: there was an #include <QtCore/QtCore> before it. (cherry picked from commit 4c12010fac555bce0a6c8d69a267a56f4c15087f)
* Change QSharedPointer to track (or not) pointers when the #define isThiago Macieira2009-06-251-1/+2
| | | | | | | | | enabled. This allows mixing of debug and non-debug code (possible on Unix systems) without causing assertion failures. Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
* Update license headers as requested by the marketing department.Jason McDonald2009-06-163-6/+6
| | | | Reviewed-by: Trust Me
* Fix handling of dynamic casts in QSharedPointer.Thiago Macieira2009-05-181-9/+128
| | | | | | | | | | | | It's wrong to assume that static_cast<> is allowed everywhere where dynamic_cast<> is allowed. For example, if class C derives from both A and B, then you can dynamic_cast<B *>(ptr_to_A), but you can't static_cast. So introduce a helper for dynamic casts that doesn't do static_cast. Reviewed-by: Olivier Goffart
* Long live Qt 4.5!Lars Knoll2009-03-236-0/+1735