Marco Martin
933b88e340
a new property for models: count (another thing badly missing from QML, where is necessary to hook it up to a view to figure out how many items there are)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1204004
2010-12-05 22:23:13 +00:00
Marco Martin
4c6b625f62
don't ue kio on mobile profile
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1203934
2010-12-05 18:38:36 +00:00
Marco Martin
94f91006aa
don't start the drag countdown when clicking with the right mouse button
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1202835
2010-12-02 13:07:44 +00:00
Marco Martin
547adfd19c
add the missing theme colors
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1202701
2010-12-01 22:43:52 +00:00
Script Kiddy
c87b8e35b6
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1201312
2010-11-27 10:52:06 +00:00
Script Kiddy
e35c8ad194
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1200935
2010-11-26 10:11:16 +00:00
Script Kiddy
091e1c6070
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1200628
2010-11-25 10:59:04 +00:00
Script Kiddy
f1f36d19a5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1199629
2010-11-22 09:54:10 +00:00
Script Kiddy
48307f25d4
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1198064
2010-11-17 09:42:13 +00:00
Script Kiddy
20ca4526ef
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1197731
2010-11-16 11:40:10 +00:00
Script Kiddy
afb8449704
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1195993
2010-11-12 10:36:22 +00:00
Christian Ehrlicher
aaf33b765d
link on windows
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1195234
2010-11-10 16:09:18 +00:00
Kevin Ottens
523d2e6128
Add missing debug includes.
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1195229
2010-11-10 16:03:55 +00:00
Script Kiddy
a525eb7bba
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1194642
2010-11-09 11:22:01 +00:00
Marco Martin
681000ff05
another fixme :/
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1194426
2010-11-08 23:10:16 +00:00
Marco Martin
29f4ac0d99
propagate with signal sources removal, connection and disconnection
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1194425
2010-11-08 23:07:25 +00:00
Marco Martin
6165b3cf6e
build
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1194410
2010-11-08 22:44:37 +00:00
Marco Martin
0797009207
possible again to access to sources without the model
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1194365
2010-11-08 20:50:09 +00:00
Marco Martin
befceb8dee
massive change in DataSource:
...
* possible to connect multiple sources
* use a normal QMap instead of the quirky qdeclarativepropertymap
* DataModel can be connected to multiple sources as well
* possible to use them with dataengines such as activities and tasks where the first level keys are the "roles" themselves
(all examples in playground have to be adapted)
svn path=/trunk/KDE/kdebase/runtime/; revision=1194216
2010-11-08 10:27:36 +00:00
Script Kiddy
5cc73ecf16
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1193823
2010-11-07 09:46:18 +00:00
Marco Martin
5d24d5759c
enabledBorders property for FrameSvg enabled borders flags
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1193395
2010-11-05 20:50:28 +00:00
Marco Martin
54daa3153d
* share Svg in SvgItem
...
* the usecase is pretty different compared to FrameSvg, that will retain the old api
svn path=/trunk/KDE/kdebase/runtime/; revision=1193392
2010-11-05 20:22:47 +00:00
Script Kiddy
1696ca5d8a
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1193244
2010-11-05 09:45:47 +00:00
Script Kiddy
4a99e1b15a
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1192564
2010-11-03 10:12:17 +00:00
Pavel Heimlich
1134b7dfad
C++ standard mandates ends of line for includes. Fixes build with Sun Studio.
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1192416
2010-11-02 23:43:31 +00:00
Script Kiddy
b62bbf4180
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1191852
2010-11-01 09:55:38 +00:00
Script Kiddy
0fe7693cf0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1191511
2010-10-31 09:11:11 +00:00
Marco Martin
c0cb2a9b2c
use m_package->filePath() to resolve the path, includes already security checks (and eventual future fallback)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1191099
2010-10-29 15:14:47 +00:00
Marco Martin
7e0e77b970
case insensitive filter expressions
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1191022
2010-10-29 12:27:38 +00:00
Marco Martin
0394675156
SortModel->SortFilterModel
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190655
2010-10-28 13:10:10 +00:00
Marco Martin
1b1ea1a1b3
export separately DataModel and SortModel
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190653
2010-10-28 13:06:40 +00:00
Laurent Montel
eac7473cd7
const'ify
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190587
2010-10-28 07:45:48 +00:00
Laurent Montel
337cd237f1
const'ify
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190586
2010-10-28 07:44:05 +00:00
Marco Martin
a84b230ddc
sortOrder/setSortOrder property
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190489
2010-10-27 21:19:03 +00:00
Kevin Ottens
540606d0ed
Doesn't need to link on knewstuff2.
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190279
2010-10-27 10:14:53 +00:00
Marco Martin
ab064bedfa
put the model into a QSortFilterProxyModel to mke possible to sort and filter trough a regular expression
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190082
2010-10-26 21:19:04 +00:00
Marco Martin
a780189547
make work both VariantMaps and QVariantHash
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190034
2010-10-26 17:32:08 +00:00
Marco Martin
7ec308a228
don't crash if the item list is empty
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1190003
2010-10-26 15:48:39 +00:00
Marco Martin
27bff00756
the previous way to have models didn't work for most engines:
...
some have many keys one for each item.
bind a new DataModel into QML that will be associated to a specific DataSource and a key pattern
an exact one like "items" of rss
or a partial regexp one like "KnowledgeBase-[\d]*" like the ocs engine
in this way is not necessary to change how those dataengine works and is possible to use them in QML without headaches
svn path=/trunk/KDE/kdebase/runtime/; revision=1189953
2010-10-26 13:18:19 +00:00
Marco Martin
7ee1ebf5ac
a crazy experiment: if one of the dataitems is a QVariantList of QVariantMaps (like many dataengines, like rss, microblog, opendesktop...)
...
make it available as a QAbstractModel, so will be possible to categorize it
(considering to put it behind a qsortfilterproxymodel to make it easy to do filtering)
svn path=/trunk/KDE/kdebase/runtime/; revision=1189920
2010-10-26 12:01:59 +00:00
Script Kiddy
711676009b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1189884
2010-10-26 09:57:26 +00:00
Marco Martin
2e374dbd8c
use a normal QNetworkAccessManager in case of plasmapackage:/
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1189297
2010-10-24 14:01:56 +00:00
Marco Martin
be83c17415
loadService in SimpleJavaScriptApplet
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1189270
2010-10-24 12:17:22 +00:00
Script Kiddy
144997ee13
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1189214
2010-10-24 09:03:07 +00:00
Marco Martin
dc0ab1345f
loadService() function to load services without dataengines.
...
will be propagated to the js appletscript too
svn path=/trunk/KDE/kdebase/runtime/; revision=1189005
2010-10-23 17:30:10 +00:00
Script Kiddy
61b3302821
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1188900
2010-10-23 09:30:54 +00:00
Marco Martin
58adcad0a2
add loadUi from the js engine
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1188406
2010-10-22 10:12:35 +00:00
Marco Martin
bc13065f9a
make the authorization global
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1188264
2010-10-21 20:37:47 +00:00
Marco Martin
ade2a71286
check with the authorization manager whether to allow the import of a certain url (unfortunatel doesn't seem to be any way to block local absolute paths :/)
...
svn path=/trunk/KDE/kdebase/runtime/; revision=1188241
2010-10-21 19:02:29 +00:00
Marco Martin
155dc2d056
use a custom network access manager, based on the kio one, but has a
...
special handling for package:/foo urls
svn path=/trunk/KDE/kdebase/runtime/; revision=1188205
2010-10-21 17:39:05 +00:00