| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
After the latest round of changes to Q_DECLARE_PRIVATE to use
templates, we no longer need to call data() because Q_D() will
expand to d_func() which will always return a pointer to the actual
object instead of the scoped pointer.
|
|\ |
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| | |
|
| |
| |
| |
| | |
Otherwise, the qWarning will be bogus.
|
| |
| |
| |
| |
| |
| |
| |
| | |
As part of the exception changes, the include of qfiledialog_p.h was
removed and this then removed the inclusion of qevent.h which is needed
by the showEvent() function in order to call accept().
Reviewed-by: Miikka Heikkinen
|
| |
| |
| |
| | |
RevBy: Trust me
|
| |
| |
| |
| | |
RevBy: Trust me
|
| |
| |
| |
| |
| |
| | |
Remove a little bit of duplicated code here after code reviews.
Reviewed-by: Miikka Heikkinen
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 9a6eb12c26697330a5adf4450beb98098ad7da40.
Not needed anymore after the MWC compiler became unsupported.
RevBy: Jason Barron
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
line in"
This reverts commit e2e4f600970a3577db4bcb099c10e8241754bd56.
Not needed anymore after the MWC compiler became unsupported.
RevBy: Jason Barron
|
| |
| |
| |
| |
| |
| | |
Q_DISABLE_COPY must make the copy constructor and assignment
operator private in all cases, otherwise the compiler will create
implicit versions when exception support is on.
|
| |\ |
|
| | |\
| | | |
| | | |
| | | |
| | | | |
Conflicts:
tests/auto/auto.pro
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We never used to properly raise windows with DirectFB's window
management. Somehow the event happens on a window surface that doesn't
really have a IDirectFBWindow associated with it but using
permanentState I can establish a sibling relationship to ensure raise
gets called on the right window surface.
Reviewed-By: Donald <qt-info@nokia.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Donald <qt-info@nokia.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
s/lock/lockFlgs/
lock is also a function in QWSWindowSurface.
Reviewed-by: Donald <qt-info@nokia.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Like 9fea895d6, the series of commits ending in ff1280178 made
QUrl::toAce more strict. Now it doesn't accept empty domain labels,
which is exactly what a leading dot means.
Interestingly, KDE 3's KURL had a long-standing hack to support the
leading dot and which I broke on more than one occasion. And it had that
feature exactly because of cookies.
|
| | | | |
| | | | |
| | | | |
| | | | | |
allocation.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Instead, only run the unload code if we successfully loaded.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead of storing whether or not our clip is dirty and updating it in
every paint operation we'll just update it whenever it changes. This is
more intuitive and should be faster for the common case as well.
Also make sure to implement clip(region).
Prevent multiple updateClip() calls for a single clip operation by
introducing a flag to check whether we recursed into the different
clip() calls.
Reviewed-by: Donald <qt-info@nokia.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make sure to call CLIPPED_PAINT so painting with a region clip works.
Reviewed-by: Donald <qt-info@nokia.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This makes the function a bit more useful, since previously it was only
safe to use if you were sure that it would not encounter an unexpected
child element, or if you would be alright with canceling the parser on
such an occurrence.
Now it is also possible to have it ignore any unexpected child elements,
or to have it include the text found in any child elements.
Task-number: 231938
Reviewed-by: mae
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QXmlStreamReader::readNextStartElement reads until the next start
element within the current element, or returns false when no such
element is encountered before the end element is reached. It simplifies
the common case of iterating over the elements in an XML document.
QXmlStreamReader::skipCurrentElement reads until the end element of the
current element, skipping any child elements. This functionality was
requested in two tasks, and a similar function 'readUnknownElement' was
present in Qt's stream reader example.
Autotest is included, example and documentation have been updated.
Task-number: 238793
Reviewed-by: mae
|
| | | | |
| | | | |
| | | | |
| | | | | |
autotest will detect the problem
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QRasterPaintEngine::drawImage() used an optimized code path when the
source rectangle was 1x1. It would sample the source image at the
source rectangle's top-left corner and use the sampled color to fill
the entire target rectangle. There were two bugs, however:
1) The sampled color was assumed to be non-premultiplied, so you could
end up with premultiplying the color twice. This was fixed by
avoiding premultiplying a second time if the source image has a
premultiplied format.
2) Since the source rectangle is a QRectF, it could easily cross pixel
boundaries even if it's 1x1. In this case, it is not correct to fill
the target rectangle with a single color. This was fixed by checking
if the entire source rectangle is contained in a single pixel before
taking the optimized code path.
Task-number: 256950
Reviewed-by: Trond
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We don't need to chain to the base class since the QDirectFBScreenCursor
always is rendered by hardware but we should update the pos variable in
case people ask where the cursor is.
Reviewed-by: TrustMe
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Removed the reference to the QAnimationState that doesn't exist anymore
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The problem is that headers in QTestLib define functions for mouse
and key events. Those are causing link errors on all autotests
that do "QT -= gui" with mingw (only debug seems to be affected).
Reviewed-by: jasplin
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
XRectangle coordinates need to be clipped to the short integer range.
Task-number: 250137
Reviewed-by: Trond
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
we needed to finalize the selection when rows are removed
Reviewed-by: ogoffart
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
dataChanged is emitted with invalid model index. We needed to handle
that.
Reviewed-by: ogoffart
|
| | | | |
| | | | |
| | | | |
| | | | | |
Gestures only awailable on 10.6
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-By: Samuel
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some X servers seem to report zero physical size, so our DPI
calculations would crash with divide-by-zero. Avoid this and just use
72 DPI instead.
Task-number: 258319
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some of the ifdef blocks weren't, well, tested.
Task-number: 259582
Reviewed-by: Trust Me
|
| | | | | |
|
| | |\ \ \ |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
RevBy: Trust me
It's all comments and build fixes.
|
| | |\ \ \ \
| | | |/ / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fdexec to proper fdexception.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
RevBy: Trust me
|