Chani Armitage
493196dff3
use contextaction plugins.
...
there are a few defaults, only one real plugin exists so far
rightclicks are still overridden by the contextmenu event.
the user is warned about plugins that need configuring.
svn path=/trunk/KDE/kdelibs/; revision=1012636
2009-08-17 22:30:34 +00:00
Chani Armitage
9d452dc2ea
a basic plugin skeleton
...
this is based off the wallpaper plugin. lots of copy&paste happened. the
dataengine code is still in there, just in case some plugin wants it
someday...
svn path=/trunk/KDE/kdelibs/; revision=1012635
2009-08-17 22:30:29 +00:00
Sebastian Kügler
5ea600487a
Make dropping remote content onto Plasma work
...
The idea is that you drop a file from a webpage, or basically a URL onto Plasma and Plasma creates a suitable applet to display this URL. For example an image frame for picture, or a previewer for pdf files. Downloading the data itself (and possibly saving it) is left to the applets. The mimetype needs to be retrieved as it cannot be determined from the URL.
The code pathes I've changed or added are, roughly:
- "something" is dropped onto Plasma
- if it's a remote URL, we don't know the mimetype of the object behind the URL yet
- a KIO::TransferJob is used to retrieve the mimetype asynchronously, and will call back
- we open a QMenu that says "Fetching file type..."
- If the user closes the menu while the mimetype is being retrieved, we will open a new one
- When the TransferJob calls back, and we have our mimetype, we offer a list of applets suitable for this kind of content
- If the user chooses to create an applet, we put the transfer job on hold to make it available for recycling by the applet
- If the user dismisses the offering, we kill the job
Thanks to marco for reviewing and everybody else for the input :)
Next steps are making some more applets work with this.
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1009004
2009-08-08 22:01:16 +00:00
Aaron J. Seigo
959e54961e
QDebug is not marked as re-entrant or thread safe and seems to cause crashses for some when used from the wallpaper rendering threads, so let's just remove those lines :)
...
BUG:202538
svn path=/trunk/KDE/kdelibs/; revision=1007067
2009-08-05 04:48:33 +00:00
Marco Martin
90d2021f8c
actually do something with the cached overlays, instead of using them
...
just to waste cycles
svn path=/trunk/KDE/kdelibs/; revision=1007004
2009-08-04 21:19:20 +00:00
Aaron J. Seigo
54ef35a107
limit to 4 windows for now; need to improve the layout so it doesn't suck
...
svn path=/trunk/KDE/kdelibs/; revision=1005998
2009-08-02 19:12:20 +00:00
Aaron J. Seigo
b684273624
return a dummy group when we have no description set up; prevents crashes when the operations file is not available
...
BUG:200475
svn path=/trunk/KDE/kdelibs/; revision=1005964
2009-08-02 18:24:20 +00:00
Aaron J. Seigo
68d9558843
fix desktop toolbox dragging once and for all; i should have implemented dragging like this in the first place. also fixes misplacement of the toolbox on the bottom or right edge of the screen. there's some room for optimization here as cornerSize, fullHeight and fullWidth do a -lot- of manip on the background svg that really is only needed once per drag. in practice, it's not so bad and i'd like to keep the diff as small as possible (it's already huge) so i can backport it without feeling tooo guilty ;)
...
BUG:201672
svn path=/trunk/KDE/kdelibs/; revision=1003346
2009-07-28 03:19:33 +00:00
Marco Martin
85cb69d28f
save the background hints in two vars when they are set, use the second
...
to restore the ones that were decided before the formfactor change. i.e.
no more need to set again and again the hints in formFactorConstraints
svn path=/trunk/KDE/kdelibs/; revision=1003180
2009-07-27 20:14:38 +00:00
David Jarvie
2b543937ab
Minor APIDOX fixes (spelling etc.)
...
svn path=/trunk/KDE/kdelibs/; revision=1002622
2009-07-26 15:22:59 +00:00
Aaron J. Seigo
9fb9ee1b0e
SVN_SILENT: fix style
...
svn path=/trunk/KDE/kdelibs/; revision=1002137
2009-07-25 05:47:12 +00:00
Richard Dale
695168a4bd
Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
...
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()
svn path=/trunk/KDE/kdelibs/; revision=998323
2009-07-17 12:31:08 +00:00
Alexis Ménard
d4ca38b20f
This almost fix the performance issue when zooming out on plasma-desktop.
...
We don't need to call prepareGeometryChange if the geometry will not
change, this mistake end up with a new paint event that will paint for
nothing.
This should be backported into 4.3
svn path=/trunk/KDE/kdelibs/; revision=997763
2009-07-16 13:09:19 +00:00
Marco Martin
2a0e957d14
move the status stuff into Applet, constify and also put a bit of apidox
...
svn path=/trunk/KDE/kdelibs/; revision=993895
2009-07-09 16:35:11 +00:00
Marco Martin
1300eea396
api to show/hide plasmoids from the systray, like NotificationItems
...
this REALLY needs api review
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=993364
2009-07-08 14:55:59 +00:00
Peter Pan
c201a16450
make the positions of previews, icon and text on plasma tooltip consistent.
...
BUG:198890
svn path=/trunk/KDE/kdelibs/; revision=993317
2009-07-08 13:17:55 +00:00
Michael Leupold
7b8c380ea5
Unbreak the build by defining an empty method - avoids linkage error introduced by r990700.
...
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdelibs/; revision=990759
2009-07-03 08:54:29 +00:00
Aaron J. Seigo
baee782e6f
prep this for fixing the memory leak; at least it doesn't crash anymore, along with my changes to KNS that are upcoming
...
svn path=/trunk/KDE/kdelibs/; revision=990700
2009-07-03 02:17:25 +00:00
Kevin Ottens
775bbe63d9
Add a small control app for the Vision proof of concept provided with
...
JOLIE. Suitable for use on handhelds.
svn path=/branches/work/~ervin/qtjolie/; revision=990152
2009-07-01 20:36:01 +00:00
Kevin Ottens
32a979e7de
Add missing meta type.
...
svn path=/branches/work/~ervin/qtjolie/; revision=990150
2009-07-01 20:35:19 +00:00
Kevin Ottens
f639993c8b
Add a Yahoo! web service client example.
...
svn path=/branches/work/~ervin/qtjolie/; revision=989179
2009-06-29 17:00:33 +00:00
Kevin Ottens
379085039b
Provide Jolie::Value::List typedef.
...
svn path=/branches/work/~ervin/qtjolie/; revision=989177
2009-06-29 16:57:58 +00:00
Kevin Ottens
09a0e07c39
addRedirection() now uses Values for the protocols parameters as advised
...
by fmontesi.
svn path=/branches/work/~ervin/qtjolie/; revision=989152
2009-06-29 15:31:25 +00:00
Kevin Ottens
c0228210c4
Forgot to adjust the unit tests.
...
svn path=/branches/work/~ervin/qtjolie/; revision=989150
2009-06-29 15:29:52 +00:00
Aaron J. Seigo
a179a16a9e
only close the desktop toolbox if the action is non-repeatable, which implies it's a fire-and-forget type of action such as something that triggers a dialog
...
BUG:198229
svn path=/trunk/KDE/kdelibs/; revision=988884
2009-06-29 01:22:58 +00:00
Aaron J. Seigo
5bdb436709
allow kicking all visualizations immediately rather than wait for their timeouts in the case of changes that _must_ be reflected immediatley, e.g. time changes or network availability causing first fetch of data
...
svn path=/trunk/KDE/kdelibs/; revision=987939
2009-06-27 01:26:33 +00:00
Aaron J. Seigo
9aa367047c
clickable tooltips; plasma-devel@ people: please review API one more time
...
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=987462
2009-06-26 06:40:15 +00:00
Marco Martin
a5f83c0e2b
if a custom config file is specified for the layout restore of the
...
corona, try to restore correctly the cashews positions too
svn path=/trunk/KDE/kdelibs/; revision=980468
2009-06-11 20:04:10 +00:00
Marco Martin
41deec416d
should be correctly positioned in case of top panels
...
svn path=/trunk/KDE/kdelibs/; revision=979968
2009-06-10 20:25:15 +00:00
Aaron J. Seigo
1e4a7ee457
sort these out so we can look at them later for possible streamlining
...
svn path=/trunk/KDE/kdelibs/; revision=979909
2009-06-10 18:28:17 +00:00
Aaron J. Seigo
5cbc9e157d
build
...
svn path=/trunk/KDE/kdelibs/; revision=979903
2009-06-10 18:18:10 +00:00
Rob Scheepmaker
6cb4ade6d6
Add .prf for the win32 users out there.
...
svn path=/branches/work/~ervin/qtjolie/; revision=978898
2009-06-08 13:34:54 +00:00
Rob Scheepmaker
da489685b0
Add and install .pc file for QtJolie.
...
svn path=/branches/work/~ervin/qtjolie/; revision=978884
2009-06-08 12:49:17 +00:00
Kevin Ottens
d99e623ae9
Allow to export services thanks to the Server and AbstractAdaptor
...
classes. Also introduce a small calculatorservice example showing that,
with a quick client written using jolie.
svn path=/branches/work/~ervin/qtjolie/; revision=978075
2009-06-05 22:51:08 +00:00
Kevin Ottens
3f553aafe3
Try to correctly convert back to ints or floats when the protocol was
...
purely string based and killed the typing (like SOAP).
svn path=/branches/work/~ervin/qtjolie/; revision=978073
2009-06-05 22:44:43 +00:00
Kevin Ottens
4df21c1b83
Share some more test helpers.
...
svn path=/branches/work/~ervin/qtjolie/; revision=978070
2009-06-05 22:28:35 +00:00
Kevin Ottens
266376639d
Expose the addRedirection method.
...
svn path=/branches/work/~ervin/qtjolie/; revision=977871
2009-06-05 15:05:39 +00:00
Kevin Ottens
c379e586bb
Declare the meta types in the library itself.
...
svn path=/branches/work/~ervin/qtjolie/; revision=977803
2009-06-05 14:11:02 +00:00
Kevin Ottens
d3a90c5fee
Introduce a separate PendingReply class.
...
svn path=/branches/work/~ervin/qtjolie/; revision=976863
2009-06-02 20:52:56 +00:00
Kevin Ottens
c106afee83
Split PendingCall into PendingCall and PendingCallWatcher.
...
svn path=/branches/work/~ervin/qtjolie/; revision=976816
2009-06-02 18:02:06 +00:00
Aaron J. Seigo
9e50b9b61e
* use the to-disk-cache-delay in Theme rather than do it per-FrameSvg object
...
* be a bit more careful to use value() instead of [] in places as we sometimes check the hash for existence of an entry, and [] creates an entry while value() is more kind in that way
svn path=/trunk/KDE/kdelibs/; revision=975773
2009-05-31 05:38:42 +00:00
Kevin Ottens
177be5f6af
I really wonder what I had in mind when I put QStrings everywhere...
...
Of course SODEP says nothing about encoding so it's really byte arrays
that we send/receive.
MetaService being higher level I'll assume UTF8 encoding though (it's
apparently what it's using.
svn path=/branches/work/~ervin/qtjolie/; revision=975435
2009-05-30 08:44:34 +00:00
Aaron J. Seigo
d2dbbdae33
reset the content root when it's a dir in case we go from single file to a directory package
...
svn path=/trunk/KDE/kdelibs/; revision=974597
2009-05-29 16:53:48 +00:00
Aaron J. Seigo
af991b4d3d
text/plain is good enough
...
svn path=/trunk/KDE/kdelibs/; revision=969455
2009-05-18 12:16:21 +00:00
Aaron J. Seigo
09e4b24817
make it possible to add custom (e.g. application specific) applet categories
...
CCMAIL:oszkar.ambrus@deri.org
svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Aaron J. Seigo
0b8924ce20
make the add widgets dialog non-modal
...
svn path=/trunk/KDE/kdelibs/; revision=969419
2009-05-18 10:40:30 +00:00
Aaron J. Seigo
13de4f22d5
require the images directory
...
svn path=/trunk/KDE/kdelibs/; revision=967216
2009-05-12 22:09:12 +00:00
Aaron J. Seigo
6755a8f309
now that we use plasmapkg via knewstuff to do the installation, we shouldn't try and repeat the trick ourselves afterwards. it gives the illusion that packages aren't installed when they really are.
...
BUG:187436
svn path=/trunk/KDE/kdelibs/; revision=966843
2009-05-11 23:52:25 +00:00
Aaron J. Seigo
230a162b94
make all calls to scheduleSourcesUpdate async so engines that use that internally don't incure a time penalty for doing so
...
svn path=/trunk/KDE/kdelibs/; revision=965473
2009-05-09 00:32:45 +00:00
Kevin Ottens
a9fe9d1c47
Provide a MetaService convenience class to control jolie's metaservice.
...
svn path=/branches/work/~ervin/qtjolie/; revision=965146
2009-05-08 08:23:59 +00:00