Commit Graph

10269 Commits

Author SHA1 Message Date
Aurélien Gâteau
bb8eef7db1 Introduct mapRowToSource and mapRowFromSource
REVIEW: 105044
2012-05-29 17:42:11 +02:00
Aurélien Gâteau
0ddb12cf96 Do not reset model while changing the regexp
There is no need to do so, QSortFilterProxyModel correctly adjust rows

REVIEW: 105042
2012-05-29 17:42:11 +02:00
Aurélien Gâteau
f145e1de8e Fix behavior of "runners" property
This commit changes the behavior of the "runners" property when no manager
has been created yet:
- Setting the property emits runnersChanged()
  (unless it is the same as the old value)
- Reading the property after setting it returns the new value

REVIEW: 105024
2012-05-29 17:42:11 +02:00
Aaron Seigo
fb6b4ecc09 handle single mode better 2012-05-28 19:43:34 +02:00
Aaron Seigo
1808be9d38 clear the single runner pointer when loading runners; it may have been deleted on us 2012-05-28 19:42:25 +02:00
Marco Martin
c049c116cf integer number of rectangles for progressbar too 2012-05-28 14:49:36 +02:00
Marco Martin
d3d8107e88 reset position when not indeterminate anymore 2012-05-28 14:49:35 +02:00
Luís Gabriel Lima
999dd60721 Adding notify signals to SvgItem
These signals are being added in order to keep track of property
changes in the QML side.

Signed-off-by: Luís Gabriel Lima <lampih@gmail.com>
2012-05-28 08:51:32 -03:00
Aurélien Gâteau
162456d04a Only dequeue our ThreadWeaver jobs
REVIEW-IN: 104973
2012-05-25 19:23:50 +02:00
Stephen Kelly
745b39d905 Port from kde4_add_executable to ecm_mark_as_test. 2012-05-24 23:56:32 +02:00
Sebastian Kügler
e38ce1cad4 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
bcd6a0cc55 Fix text field color 2012-05-21 19:40:23 +02:00
Sebastian Kügler
f3dff31f05 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
b63d1feae4 sync passwword charactor with desktop version 2012-05-21 19:40:23 +02:00
Sebastian Kügler
7024329085 Use black as text color in TextField and TextInput
It seems that there's not a single theme out there which properly sets
viewTextColor. The background of textedits is white, so the text has to
be black. On Air(-mobile) this is not a problem, since the text is black
anyway, on dark themes (which set the text color to white), text simply
isn't visible.

We'll have to look into how themes implement viewtextcolor, should
probably fix the themes instead of the components, but this makes it
work until we do.
2012-05-21 19:40:23 +02:00
Alex Merry
d6a96e32ee Fix a potential crash
This was clearly supposed to be a return statement.
2012-05-21 14:00:51 +01:00
David Faure
8d7ebc7e89 Finish fixing compilation with Qt4.
Ported KUrlRequester away from KHBox, which was polluting its API.
2012-05-19 12:01:39 +02:00
Giorgos Tsiapaliwkas
b353a65502 Remove declarativeimports/test.
We moved it to kdeexamples
2012-05-16 21:13:35 +03:00
Aurélien Gâteau
cdba0a2222 Fix keyboard navigation in TabBar 2012-05-15 17:24:30 +02:00
Aurélien Gâteau
ea9cf23038 Unbreak gallery 2012-05-15 17:20:47 +02:00
Script Kiddy
944c4b7b58 SVN_SILENT made messages (.desktop file) 2012-05-15 16:42:42 +02:00
Lamarque V. Souza
4f670c149b Update all CMakeLists.txt to use KDeclarativeConfig.cmake.
rebuild kdelibs from KDE/4.8 branch to install KDeclarativeConfig.cmake.
2012-05-14 12:40:02 -03:00
Script Kiddy
1df9872621 SVN_SILENT made messages (.desktop file) 2012-05-14 11:00:55 +02:00
David Faure
d278887d91 Increase version number in runtime services, to avoid mixups.
Executable names:
kdeinit4 -> kdeinit5
kded4 -> kded

DBus service names:
org.kde.kded -> org.kde.kded5
org.kde.klauncher -> org.kde.klauncher5

This fixes jobtest with Qt5 (difference in QDateTime serialization), but
more generally it will allow BIC changes in SlaveBase, as well as
not crashing due to kdeinit4 or kded4 loading KF5/Qt5 modules, etc.
2012-05-14 01:07:37 +02:00
Aurélien Gâteau
f75b1e7d10 Add operator != to Plasma::QueryMatch 2012-05-12 23:38:55 +02:00
Kevin Ottens
cba3e4c7aa Use kconfig_add_kcfg_files in kdelibs 2012-05-12 17:15:01 +02:00
Allen Winter
200c90f096 fix compile.
apparently there is no != operator for Plasma::QueryMatch
perhaps there should be.

CCMAIL: notmart@gmail.com,agateau@kde.org
2012-05-11 14:32:34 -04:00
Aurélien Gâteau
1eb2650cd5 Do not reset the model when new matches are added
REVIEW: 104914
2012-05-11 17:36:01 +02:00
Script Kiddy
d68f439477 SVN_SILENT made messages (.desktop file) 2012-05-11 15:12:49 +02:00
Alex Merry
c4c2e8ee49 Rename new Plasma::Service method to avoid clashes
Having overloaded Q_INVOKABLE methods where one takes a superclass of
another is a Bad Idea(TM), since the script engine cannot disambiguate
the methods.  associateItem is more accurate than associateWidget for
these methods, anyway.

REVIEW: 104760
2012-05-11 12:31:10 +01:00
Alex Merry
23b50f2dee Allow QML items to be associated with operations in Plasma::Service
QML items derive from QGraphicsObject, but not QGraphicsWidget.  We
actually only need QGraphicsObject (for the enabled property).

This allows calling (dis)associateWidget from QML (eg: in javascript
plasmoids) and passing in a QML item.
2012-05-11 11:55:48 +01:00
Script Kiddy
0e03fc990e SVN_SILENT made messages (.desktop file) 2012-05-11 09:43:44 +02:00
Dennis Nienhüser
17f5b499bb Width and height are implicitly set by the anchors. 2012-05-10 19:33:33 +02:00
Script Kiddy
1550c9c05f SVN_SILENT made messages (.desktop file) 2012-05-10 09:47:43 +02:00
Sebastian Gottfried
5b567230e6 buttons: first focus, than emit clicked() signal
Otherwise a client wanting to give another QML component the focus in
reaction to a clicked button has no chance doing so because the button
will steal the focus again right after the event handler has finished
executing.

REVIEW: 104893
2012-05-10 00:48:53 +02:00
David Faure
ba0e9ac947 Merge remote-tracking branch 'origin/KDE/4.8'
Conflicts:
	solid/solid/backends/wmi/wmiquery.cpp
2012-05-09 11:25:37 +02:00
Sebastian Kügler
26e1276738 animate showing / hiding of navigation bar 2012-05-09 04:48:38 +02:00
Dennis Nienhüser
5453bbc801 Fix mistyped enum values.
Please test as code using it might behave differently now (menus
aligned left before while horizontally centered on the parent now)
2012-05-09 00:13:26 +02:00
Script Kiddy
804d490acd SVN_SILENT made messages (.desktop file) 2012-05-07 10:02:05 +02:00
Stephen Kelly
4e581398e6 Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts:
	CMakeLists.txt
	kdeui/kernel/kglobalsettings.cpp
	kdeui/widgets/kmessagewidget.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/core/resourcedata.cpp
	nepomuk/core/resourcewatcher.cpp
	solid/solid/backends/fstab/fstabstorageaccess.cpp
	solid/solid/backends/wmi/wmicdrom.cpp
	solid/solid/backends/wmi/wmidevice.cpp
	solid/solid/backends/wmi/wmimanager.cpp
	solid/solid/backends/wmi/wmistorage.cpp
	solid/solid/backends/wmi/wmistorageaccess.cpp
	solid/solid/backends/wmi/wmivolume.cpp
2012-05-06 23:21:17 +02:00
Script Kiddy
93aba5f886 SVN_SILENT made messages (.desktop file) 2012-05-06 10:32:33 +02:00
Marco Martin
93acb20c8d put the model in non running state after a timeout
This is an hack, a real way must be found
2012-05-04 21:54:44 +02:00
David Faure
657dcbb6dc Revert "Port to const QRegExp behaviour."
This reverts commit 6e8f714e039e9e0b850304ba3df91ab2951a350b.

The Qt5 commit is going to be reverted, and this broke kreplacetest.
2012-05-04 17:31:51 +02:00
Aaron Seigo
a60b7b83c9 signal when a drag starts so that qml items can take the necessary steps 2012-05-04 14:10:28 +02:00
Aaron Seigo
a4e83dde8e tabs to spaces. fewer kittens are now being killed. 2012-05-04 14:10:28 +02:00
Marco Martin
4c79f05a60 running property
true when at least some runner is not done yet
2012-05-04 13:47:41 +02:00
Script Kiddy
204946e451 SVN_SILENT made messages (.desktop file) 2012-05-04 10:29:42 +02:00
Shaun Reich
04d6b450d3 move krunnermodel into plasma/declarativeimports where it belongs
(slight mistake on the git-filter-branch import from plasma-mobile.
So it'll live here now, so that other gizmos can use it.
2012-05-03 10:00:04 -04:00
Marco Martin
14122d0199 hide the tools that have long been dismissed 2012-05-03 14:27:18 +02:00
Shaun Reich
5a2cd31449 Merge branch 'master' of /home/sreich/Desktop/plasma-mobile 2012-05-02 14:24:01 -04:00