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
Aaron Seigo
c5cf7f8460
style
2011-04-28 10:54:23 +02:00
Davide Bettio
6455fefd09
Please don't set the default wallpaper in plasma/theme.cpp, configure the theme metadata file instead.
2011-04-27 18:31:12 +02:00
David Faure
476f2f190f
Enable -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS
...
Mostly needed fixes in the unittests, due to QCOMPARE template magic
failing with QString vs QStringBuilder.
2011-04-27 01:11:14 +02:00
Kevin Ottens
7fa4dff47b
Allow to get tooltips to popup instantly on hover
...
Add an "instant popup" property on ToolTipContent allowing to control
for a given tooltip to popup immediately when the corresponding widget
is hovered. The default is the usual behavior though.
The ToolTipManager behavior itself got adjusted to take care of the
instant popup flag.
2011-04-26 20:56:00 +02:00
Montel Laurent
955137bf2f
don't check pointer before to delete it
2011-04-26 18:29:48 +02:00
Aaron Seigo
fe1a615cc4
make this even more painfully clear
2011-04-26 13:04:50 +02:00
Marco Martin
98bacfdb65
GlApplet is deprecated
2011-04-26 12:36:24 +02:00