Commit Graph

6695 Commits

Author SHA1 Message Date
Aaron Seigo
cd8025f605 minor style fix 2011-04-30 13:29:26 +02:00
Aaron Seigo
aa2c6b7683 more api niceness 2011-04-30 13:29:26 +02:00
Aaron Seigo
5f0daaec50 use the API, luke! 2011-04-30 13:29:26 +02:00
Aaron Seigo
eb871eca6a don't set the QObject parent with the parentWidget if the parentWidget is null 2011-04-30 13:29:25 +02:00
Aaron Seigo
b35a4dd02c use the id() to build the config off of
this falls back to objectName but uses the pluginName first. more sensible.
2011-04-30 13:29:25 +02:00
Marco Martin
a6fa660809 bindings for dataengine in DeclarativeWidget 2011-04-30 12:43:29 +02:00
Script Kiddy
38fd4f487f SVN_SILENT made messages (.desktop file) 2011-04-30 09:25:22 +02:00
Kevin Ottens
6ef3059ced Provide a confirmation dialog for scripted remote widgets
Make really really sure the user wants to install the widget on his
system. Indeed, they're scripted and the user might not trust the source
so provide some information on them and the ability to cancel the
action.

Implementation wise it uses a KMessageBox from a job which is really not
great but the best we can do so far (remote widget support needs a
refactoring to be able to improve that). Also, the bad bad man forced
me to use a HTML table in the message box label to align properly the
information... yes, aseigo, looking at you... the 90s are calling their
HTML tables back!
2011-04-29 20:49:14 +02:00
Andreas Hartmetz
280547a3b0 Add required ${QT_QTSQL_LIBRARY}, remove redundant ${KDE4_KDEUI_LIBS}
The latter is included in ${KDE4_KIO_LIBS} due to the GUI parts of KIO.
2011-04-29 18:18:57 +02:00
Kevin Ottens
ed014e6c91 Add description for the plasma protocol
We now support publicly plasma:// URLs, so add a protocol file which
calls the plasma-remote-helper application to deal with such URLs.
Particularly handy from the network:// ioslave which exposes Plasma
remote widgets.

REVIEW: 1515
2011-04-29 16:55:42 +02:00
Marco Martin
6ebff42e6d if (!QCoreApplication::closingDown()) 2011-04-29 11:17:31 +02:00
Aaron Seigo
32e3e6cf9c don't touch the db if qapp is closing down 2011-04-29 11:17:31 +02:00
Aaron Seigo
858a19991e don't de-queue on force immdiate update 2011-04-29 11:17:31 +02:00
Aaron Seigo
a975897d70 force an immediate update 2011-04-29 11:17:31 +02:00
Aaron Seigo
69d7a00ba9 only update when we have something stored previously 2011-04-29 11:17:31 +02:00
Aaron Seigo
a9814bd642 avoid (even cheap) temporaries 2011-04-29 11:17:31 +02:00
Marco Martin
6d6826e603 fix delete; test for it 2011-04-29 11:17:31 +02:00
Aaron Seigo
1ee07ca959 capitalization 2011-04-29 11:17:31 +02:00
Aaron Seigo
6971ddaa38 more style issues 2011-04-29 11:17:31 +02:00
Aaron Seigo
e08799bab1 less access to client->, set results back correctly 2011-04-29 11:17:31 +02:00
Aaron Seigo
da4833a49f retrieval works 2011-04-29 11:17:30 +02:00
Aaron Seigo
33ed49a303 use weak pointers 2011-04-29 11:17:30 +02:00
Aaron Seigo
ba985fcda5 take care to set a result 2011-04-29 11:17:30 +02:00
Aaron Seigo
fbfc9e91e9 prevent autostarting 2011-04-29 11:17:30 +02:00
Marco Martin
88956b1539 get rid of the refcounted db connection 2011-04-29 11:17:30 +02:00
Marco Martin
f358f3de6d move all the sql query in an own thread 2011-04-29 11:17:30 +02:00
Marco Martin
084b7a1226 make the thread working 2011-04-29 11:17:30 +02:00
Aaron Seigo
f2bc16c6b3 retrieve tests that pass 2011-04-29 11:17:30 +02:00
Aaron Seigo
a1bd4a3dc6 be sure to set a result 2011-04-29 11:17:30 +02:00
Aaron Seigo
4ea98632da paranoia 2011-04-29 11:17:30 +02:00
Aaron Seigo
1d550b15ea global transaction 2011-04-29 11:17:29 +02:00
Aaron Seigo
9d337a0c01 nicer name 2011-04-29 11:17:29 +02:00
Aaron Seigo
dfeb2c62ec insertions 2011-04-29 11:17:29 +02:00
Aaron Seigo
f5ad63632e use the new and improve retrieval 2011-04-29 11:17:29 +02:00
Aaron Seigo
7cd768fd6f storing with new table 2011-04-29 11:17:29 +02:00
Marco Martin
32dbc7335e template qthread that will do the actual storage 2011-04-29 11:17:29 +02:00
Aaron Seigo
9c34287551 more testing 2011-04-29 11:17:29 +02:00
Aaron Seigo
15529aefcf getter for data 2011-04-29 11:17:29 +02:00
Aaron Seigo
2bca3c88d9 calling next() is good 2011-04-29 11:17:29 +02:00
Aaron Seigo
116442618b test for Storage class 2011-04-29 11:17:29 +02:00
Aaron Seigo
636f351d3c typical zero parent support 2011-04-29 11:17:29 +02:00
Aaron Seigo
0fff74cec0 more careful with the client name 2011-04-29 11:17:28 +02:00
Aaron Seigo
055f35cba1 --compilerWarnings; 2011-04-29 11:17:28 +02:00
Aaron Seigo
54a832c270 use the new setData method 2011-04-29 11:17:28 +02:00
Aaron Seigo
549f988fee use a QVariantHash as well as a transaction for saving 2011-04-29 11:17:28 +02:00
Aaron Seigo
3a2e2295df fix header guard 2011-04-29 11:17:28 +02:00
Marco Martin
67dbcb59b8 create a single timer for storage event compression 2011-04-29 11:17:28 +02:00
Artur Duque de Souza
97b37637fa Export icon information to package metadata for remote service
Get the original package metadata's icon and inject this information
into the package metadata that is going to be sent to the remote targets.

This way we are able to use the icon in several UIs which makes things
more beautiful ;)

CCMAIL:ervin@kde.org
Signed-off-by: Artur Duque de Souza <asouza@kde.org>
2011-04-28 18:52:34 -03:00
Aaron Seigo
fa109eaaf9 initialize the value of applet
BUG:227453
2011-04-28 21:49:07 +02:00
Aaron Seigo
dca3eefc6e style 2011-04-28 10:54:23 +02:00