Commit Graph

1759 Commits

Author SHA1 Message Date
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
Script Kiddy
2586f3ecb8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1188056
2010-10-21 08:44:18 +00:00
Marco Martin
5dd5d716dc add the package folder (script) as valid imports dir (will probably have to be contents/imports
svn path=/trunk/KDE/kdebase/runtime/; revision=1187952
2010-10-20 20:55:35 +00:00
Marco Martin
e054fbb8aa don't register print() in the declarative bindings: t' already there
svn path=/trunk/KDE/kdebase/runtime/; revision=1187930
2010-10-20 19:40:30 +00:00
Script Kiddy
81879c1cf4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1187411
2010-10-19 09:48:57 +00:00
Marco Martin
9b0b51a7a8 be quiet
svn path=/trunk/KDE/kdebase/runtime/; revision=1187392
2010-10-19 08:45:45 +00:00
Marco Martin
dd4f94ec09 reset the preferred height right before asking for th hint
svn path=/trunk/KDE/kdebase/runtime/; revision=1187391
2010-10-19 08:45:32 +00:00
Marco Martin
994c0cbd9a if the preferred size is less then half m_appletsPerColumn or m_appletsPerRow, divide the corresponding normalAppletSize dimension by 2
svn path=/trunk/KDE/kdebase/runtime/; revision=1187390
2010-10-19 08:35:36 +00:00
Marco Martin
33c9aaf216 be quiet
svn path=/trunk/KDE/kdebase/runtime/; revision=1187303
2010-10-18 21:48:50 +00:00
Marco Martin
d5ef24103d disable the overlay on exppand all
svn path=/trunk/KDE/kdebase/runtime/; revision=1187302
2010-10-18 21:47:42 +00:00
Marco Martin
7dae2f58b8 use ${IMPORTS_INSTALL_DIR}
svn path=/trunk/KDE/kdebase/runtime/; revision=1187247
2010-10-18 19:20:08 +00:00
Andreas Hartmetz
f25a4e438f Fix the same typo in CMakeLists.txt
svn path=/trunk/KDE/kdebase/runtime/; revision=1186855
2010-10-17 18:53:53 +00:00