Commit Graph

10285 Commits

Author SHA1 Message Date
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
Ingomar Wesp
7ebfc941b8 Fix this regex so that it works in even if an empty base id is supplied (as pointed out by mommertz)
svn path=/trunk/KDE/kdelibs/; revision=1191337
2010-10-30 17:19:00 +00:00
Script Kiddy
4e646b8526 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1191245
2010-10-30 08:48:50 +00:00
Ingomar Wesp
00e6b5af10 was a bit overzealous with this const'ification. sorry...
svn path=/trunk/KDE/kdelibs/; revision=1191194
2010-10-29 22:30:10 +00:00
Ingomar Wesp
e049ecb34d Do not require an exact match for size hinted elements, but search for the smallest size hinted element that is bigger than the display size. Thanks to mommertz, who outlined and mentored this patch, element ids are cached both locally and in the theme, so no additional calls to createRenderer are required.
This was discussed in <http://svn.reviewboard.kde.org/r/5689/>.

svn path=/trunk/KDE/kdelibs/; revision=1191192
2010-10-29 22:14:18 +00:00
Marco Martin
c251a29564 fix logic about show/hide of scrollbars
svn path=/trunk/KDE/kdelibs/; revision=1191181
2010-10-29 21:09:06 +00:00
Marco Martin
3b9158f1c0 don't show the childs widget if the group is collapsed, not the item
svn path=/trunk/KDE/kdelibs/; revision=1191175
2010-10-29 20:19:05 +00:00
Aaron J. Seigo
ca4e345c15 use button text for normal text, preserves theme compatibility with prior releases
svn path=/trunk/KDE/kdelibs/; revision=1191136
2010-10-29 17:25:24 +00:00
Aaron J. Seigo
afe897be89 * restore the color alpha after altering it
* use button text color for button text (sounds more logically obvious than it was ;)
* optionally use button text color for regular text as well (used by spinbox, lineedit)

svn path=/trunk/KDE/kdelibs/; revision=1191135
2010-10-29 17:25:00 +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
Script Kiddy
ae65ef0b78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1190961
2010-10-29 09:24:51 +00:00
Ivan Čukić
125193b9f1 prevent infinite recursion
svn path=/trunk/KDE/kdelibs/; revision=1190859
2010-10-29 08:25:57 +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
Script Kiddy
78f2883181 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1190595
2010-10-28 08:33:11 +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
f0752546aa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1189886
2010-10-26 09:58:53 +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
a52e2fc7af export properties and invokable start() to be able to use this from javascript
svn path=/trunk/KDE/kdelibs/; revision=1189765
2010-10-25 20:03:21 +00:00
Marco Martin
4e6eb9a316 uncomment this again, doesn't seem to crash anymore
svn path=/trunk/KDE/kdelibs/; revision=1189764
2010-10-25 20:02:13 +00:00
Kevin Ottens
526e700b09 Make sure it builds without KIO.
CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1189682
2010-10-25 15:03:54 +00:00
Marco Martin
37d302047e don't block events on text elements that have Qt::TextSelectableByMouse
svn path=/trunk/KDE/kdelibs/; revision=1189643
2010-10-25 13:37:31 +00:00
Script Kiddy
21869b4aa2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1189545
2010-10-25 09:01:00 +00:00
Marco Martin
6bc40f06d0 notify the current index changed
svn path=/trunk/KDE/kdelibs/; revision=1189378
2010-10-24 21:36:50 +00:00
Marco Martin
535be3c4e2 correct the date storing
svn path=/trunk/KDE/kdelibs/; revision=1189354
2010-10-24 19:19:15 +00:00
Marco Martin
c2b3a225ab fix both retrieve queries
svn path=/trunk/KDE/kdelibs/; revision=1189333
2010-10-24 17:04:43 +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
Manuel Mommertz
898db0a262 use sized prefix again if the element has one
svn path=/trunk/KDE/kdelibs/; revision=1189288
2010-10-24 13:42:33 +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
f519ff9a6c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1189217
2010-10-24 09:05:18 +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
Marco Martin
3333b71a3d . and - are not permitted as table names
svn path=/trunk/KDE/kdelibs/; revision=1189004
2010-10-23 17:28:08 +00:00
Marco Martin
9fcf5d4980 * update the storage operations
* add a special case in pluginloader for storage (don't think storage should be made a plugin)

svn path=/trunk/KDE/kdelibs/; revision=1189000
2010-10-23 17:02:49 +00:00
Marco Martin
69acb66426 register Services as service types
svn path=/trunk/KDE/kdelibs/; revision=1188966
2010-10-23 14:19:07 +00:00
Marco Martin
fc454d4ab8 * "source" is "group"
* if no group is specified, "default" is assumed

svn path=/trunk/KDE/kdelibs/; revision=1188942
2010-10-23 12:14:33 +00:00
Marco Martin
aa08ed2808 delete already existing values before inserting new
svn path=/trunk/KDE/kdelibs/; revision=1188939
2010-10-23 12:06:21 +00:00
Marco Martin
72110136bc the table name depends from the plugin name of who is using storage
svn path=/trunk/KDE/kdelibs/; revision=1188938
2010-10-23 12:04:24 +00:00
Script Kiddy
0bd34bdd36 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1188902
2010-10-23 09:32:21 +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
Aaron J. Seigo
bea0aaed50 set up the theming in IconWidgetPrivate::init() instead of its ctor as that ends up causing a call to changeEvent, and so if call from the private class' ctor the d member of IconWidget isn't assigned (IconWidgetPrivate is still being constructed) and causes a crash
svn path=/trunk/KDE/kdelibs/; revision=1188698
2010-10-23 01:44:37 +00:00