| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can delay calling ensureContext() since it will happen when painting
begins anyway. There is a chance that we can get to this function when
a window is being hidden and if this is the first thing that happens in
the application, there is no need to call ensureContext() yet.
Reviewed-by: Rhys Weatherley
|
| |
| |
| |
| |
| |
| |
| |
| | |
We're not taking a parameter in updateCurrentTime any more
because that parameter was the total currenttime. So it was taking into
account the currenttime and the currentloop at once. This was inconsistent
Reviewed-by: Leo
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The change makes QTextCursor not extend the selection when inserting
characters at the end of the selection, provided that the cursor
position is at the end.
Reviewed-by: Simon Hausmann
Reviewed-by: Roberto Raggi
|
| |
| |
| |
| |
| |
| |
| | |
When using style sheets, QSlider::handle couldn't be customized if
QSlider::groove wasn't. QComboBox::down-arrow:focus wasn't properly drawn.
Reviewed-by: Olivier
|
| |
| |
| |
| |
| |
| | |
complex widgets.
Reviewed-by: Olivier
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need a way to support converion to and from multiple native pixmap
types from multiple pixmap backends. Instead of adding more virtual
functions to QPixmapData, make the existing one more generic but pass
an opaque pointer and a type and do some internal casting.
Currently this function is Symbian only, but could easily be extended
to work on other platforms.
Reviewed-by: Aleksandar Babic
Reviewed-by: Jani Hautakangas
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since we only get one pointer event at a time, we need to keep a list of
all known touch points in QApplicationPrivate (otherwise the QTouchEvent
won't contain enough points). The QApplication machinery can handle
having inactive touch-points in the list, so at the moment we don't
clear the list.
We treat PointerNumber zero as the primary touch point, and only send
regular mouse events for that pointer, never for the others.
Reviewed-by: Jason Barron
|
| |
| |
| |
| |
| |
| |
| |
| | |
Turning this attribute ends up calling
RWindow::EnabledAdvancedPointers(), which tells Symbian to send us
multiple pointer events with extended info.
Reviewed-by: Jason Barron
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| | |
The QTextCodec::codecForHtml used to expect http-equiv attribute before
the charset attribute in the meta header, which is not always the case.
Reviewed-by: Simon Hausmann
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The "fast path" will write bad premlutiplied pixels into the
backbuffer so the blending will be broken, plus that the window
does not get mouse events for alpha=0 pixels.
Reviewed-by: Marius Storm-Olsen
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Try not to hold an unused 4k QByteArray. This may introduce a
performance regression e.g. for QNetworkReply in exchange for lower
memory usage.
We will see if this is really the case.
Reviewed-by: Thiago
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a crash that occured because aborted requests were
not properly removed from the channel.alreadyPipelinedRequests.
Task-number: QTBUG-4507
Reviewed-by: Peter Hartmann
|
| |
| |
| |
| |
| |
| |
| |
| | |
While refactoring gtkstyle in 4.6, the "0" .so suffix was dropped.
This patch restores the 4.5 behavior to look for *.so.0 since the *.so
is only available if you install the gtk developer packages.
Reviewed-by: jbache
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Many people have requested this. And since its protected it does not
really pollute the API a lot.
Task: QTBUG-3524
Reviewed-by: mbm
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trust Me
|
|/ /
| |
| |
| |
| |
| | |
Task-number: QTBUG-3211
Task-number: 236875
Reviewed-by: Alex
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Reviewed-By: Simon Hausmann
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the script class is set to 0, we need to remove the script
object's delegate entirely, because the delegate requires a non-0
script class in order to be useful.
Reviewed-by: Olivier Goffart
|
| | |
| | |
| | |
| | | |
Reviewed-by: Eskil
|
| | |
| | |
| | |
| | |
| | |
| | | |
On WinCE GetIconInfo returns a 0 hotspot for the system icons, thus
we cannot use this value to determine width / height of the icon.
Instead, we use the icon's bitmap to get this information.
|
| | |
| | |
| | |
| | | |
Reviewed-by: thartman
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Inverted all references of Qt::AscendingiOrder <-> Qt::DescendingOrder
to make the order parameter consistent with the stacking order, as stated in
the docs. The graphics scene index was using the wrong ordering convention.
Reviewed-by: andreas
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The currentFrame pointer is used e.g. by QScriptValue::toString(). It needs to
be in sync, otherwise we will crash.
Reviewed-by: Olivier Goffart
|
| | |
| | |
| | |
| | | |
Reviewed-by: Samuel
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
File engine was adding '/' to the result of QDir::cleanPath(),
which is correct for everything except root directories, where it caused
a path like "c://"
Reviewed-by: axis
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1) Input methods caused crash due to using CCoeEnv::Fep() without
checking for NULL pointer
2) Autotest itself had Q_ASSERT where it should have used Q_VERIFY
Reviewed-by: axis
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QT-805 QCoreApplication::applicationDirPath() may return wrong private
dir if application is on Z:, not C:
Remove the emulator ifdef, instead RFs::Drive is used to get the drive
attributes (to see if it is ROM / read only)
RFs::SystemDrive is used to get the system drive, which is C:
on S60 phones, but in theory configurable.
It is not needed to call Open() on RProcess to call functions on the
current process - this eliminates some code.
Elimated some unneeded code to check for Z: before creating prvate path
(now, the if statement would always have evaluated the same)
Task-number: QT-805
Reviewed-by: Miikka Heikkinen
|
| | |
| | |
| | |
| | | |
Reviewed-by: Alexis Ménard
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The C++ autotests have been updated to match the expected behavior
of the examples that broke (e.g., listview.qml) in kinetic-declarativeui.
Reviewed-by: Alexis
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The mouse move events were eaten regardless of the dragging state.
Task-number: 238004
Reviewed-by: Thierry
|
| | |
| | |
| | |
| | |
| | |
| | | |
We were not restoring the hidden rows correctly.
Reviewed-by: Jan-Arve
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | | |
jscyyerror/parse/lex where exported on some platforms.
Reviewed-By: Simon Hausmann
|
| |/
| |
| |
| | |
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| | |
These should not be exported anymore after commit c13b97f2.
RevBy: Jason Barron
|
| |
| |
| |
| |
| |
| | |
The problem is that sometimes timerevents get compressed. So in the
unified timer, we need to make sure that some time has passed between 2
ticks.
|
| |
| |
| |
| | |
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| | |
Fixes a memleak
Reviewed-by: Peter Hartmann
|
| |
| |
| |
| | |
RevBy: Shane Kearns
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a text in QTextLayout contained tabs, these would be counted as
single glyphs when breaking the text on a fixed number of columns,
rather than the number of characters they span.
The patch calculates the number of characters represented by a tab by
using the average character width of the font engine.
Task-number: QTBUG-4468
Reviewed-by: Simon Hausmann
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If for some reason the theme name was not detectable, Qt would
incorrectly print "QGtkStyle cannot be used together with the
GTK_QT engine." I now added a separate "QGtkSTyle was unable to
detect the current GTK+ theme." warning instead.
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| |
| | |
We were not respecting the rect offset on combo box arrows.
This was preventing the autotest from happily completing with GTK+ style.
Reviewed-by: joao
|
| |
| |
| |
| | |
Reviewed-by: Kim
|