Jaime Torres
be08974bfe
remove dead code
...
remove dead code (see review 103323)
2011-12-04 12:25:46 +01:00
Aaron Seigo
97e4bd53d3
don't delete the kns3 dialog on application shutdown
...
BUG:288153
2011-12-03 21:22:45 +01:00
Aaron Seigo
1b9bf08082
fix spinboxes
...
BUG:285224
2011-12-02 21:53:07 +01:00
Aaron Seigo
ea8d0dcce2
get rid of the text halos
...
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.
one more "take one thing off" while i'm futzing around in tooltips
2011-12-02 21:48:34 +01:00
Aaron Seigo
464bab7a68
handle titles a little nicer: centered, no wrap for short titles
2011-12-02 21:48:34 +01:00
Aaron Seigo
d1cdb6c7d2
hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding
2011-12-02 21:48:34 +01:00
Aaron Seigo
f0498a9973
fix spinboxes
...
BUG:285224
2011-12-02 10:45:47 +01:00
Aaron Seigo
822243288d
get rid of the text halos
...
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.
one more "take one thing off" while i'm futzing around in tooltips
2011-11-30 15:44:29 +01:00
Aaron Seigo
7e4883f3bb
handle titles a little nicer: centered, no wrap for short titles
2011-11-30 15:39:29 +01:00
Aaron Seigo
3bf1d0d63d
hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding
2011-11-30 15:19:29 +01:00
Aaron Seigo
b31a05c41e
get rid of the source limiting; wasn't used, only overhead
2011-11-30 12:58:20 +01:00
Aaron Seigo
fee7b32974
allow ui/main.qml to be the default for plasmoids, and code/main.js for plasmoids, dataengines, runners
2011-11-30 12:58:20 +01:00
Aaron Seigo
685ae3b6c5
Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
...
Conflicts:
plasma/popupapplet.cpp
2011-11-22 13:58:50 +01:00
Aaron Seigo
9775682bef
use a QWeakPointer with the graphics widget handed in as we don't own it
2011-11-22 13:29:02 +01:00
Aaron Seigo
3c55a5489a
Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
...
Conflicts:
plasma/runnermanager.cpp
2011-11-22 12:56:16 +01:00
Aaron Seigo
f6f8d8b2ee
when setAllowedRunners is called, call loadRunners, which now also allows for being called while a search is in progress
...
loadRunners intelligently only unloads those runners with are no longer to be loaded, so this is a performance win.
it now also checks to see if there are pending jobs for the runners to be deleted (if any) and if so it creates a delayed
deleter for them -> no crashes
2011-11-22 12:17:06 +01:00
Ben Cooksley
7f0e9fb3b2
Don't crash on exit.
...
BUG:284989
REVIEW:103202
2011-11-22 21:18:04 +13:00
Aaron Seigo
90b02f3973
massive step towards QGraphicsView being separated from libplasma
...
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet
TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
David Faure
bdf1f5c2dc
Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
...
Conflicts:
tier1/libkcoreaddons/src/io/kdirwatch.cpp
2011-11-16 14:44:08 +01:00
Marco Martin
a70c17bc59
fix drawing of focusindicator of spinbox and combobox
...
use the proper prefix for drawing the combobox focusindicator
2011-11-08 12:57:46 +01:00
Aaron Seigo
2c7751ccef
Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
...
Conflicts:
CMakeLists.txt
kio/kio/kfileitem.cpp
plasma/datacontainer.cpp
plasma/datacontainer.h
plasma/private/wallpaper_p.h
plasma/private/wallpaperrenderthread.cpp
2011-10-30 10:44:59 +01:00
Aaron Seigo
176d4b896b
delay usage checks so quite disconnect/reconnects don't result in unecessary loss of data
...
(only to reload it again immediately thereafter...)
2011-10-30 10:35:29 +01:00
Aaron Seigo
97743420a0
add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
...
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Aaron Seigo
23784d26bb
less profanity
2011-10-30 01:58:11 +02:00
David Faure
108536cb93
Port from KTemporaryFile to QTemporaryFile, and deprecate KTemporaryFile.
...
My merge request (qtbase/57) for the missing feature in QTemporaryFile
(naming the temp file after the application, to be able to sort out which
app is leaking temp files), has been merged, so we don't need KTemporaryFile
anymore.
2011-10-04 16:52:38 +02:00
Marco Martin
044915b6cb
RSIP_OnMouseClick as Oxygen style does
2011-10-04 16:47:04 +02:00
Marco Martin
ef069ab402
RSIP_OnMouseClick as Oxygen style does
2011-10-03 17:26:12 +02:00
David Faure
685bebaed9
Merge remote branch 'origin/KDE/4.7' into origin-frameworks
...
Conflicts:
kdecore/tests/kservicetest.cpp
plasma/framesvg.cpp
2011-09-28 17:44:59 +02:00
Marco Martin
888a5753de
export data property to make it work in QML
2011-09-24 15:54:44 +02:00
Aaron Seigo
f8d94a98b8
use a hash instead of a map: the sorting was irrelevant and the API that uses this was ported to hashes as well
2011-09-19 11:27:54 +02:00
David Faure
24bd3d69eb
Merge remote branch 'origin/KDE/4.7' into origin-frameworks
2011-09-02 10:08:03 +02:00
Aaron Seigo
423ce0c356
don't emit addSource for a source being added in a sourceRequest event until the event is over
2011-09-01 19:07:22 +02:00
Marco Martin
37ac5105ab
fix resolution of paths w/ only a packageRoot+name
2011-08-31 12:53:09 +02:00
Stephen Kelly
e23c2dfbd6
Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
...
Conflicts:
CMakeLists.txt
cmake/modules/FindNepomuk.cmake
kdecore/tests/kstandarddirstest.cpp
kdeui/util/kkeyserver.h
kio/kio/accessmanagerreply_p.h
kio/kio/hostinfo.cpp
plasma/containment.cpp
plasma/data/services/plasma.protocol
plasma/popupapplet.cpp
plasma/tooltipcontent.h
plasma/widgets/videowidget.h
2011-08-25 19:43:08 +02:00
Aaron Seigo
79ad385f41
give applets with no qwidget or graphicswidget a chance to do something
2011-08-25 17:35:07 +02:00
Aaron Seigo
ca320eb0d4
clarity in variable naming
2011-08-17 13:12:45 +02:00
Marco Martin
33e9192346
Merge branch 'libplasma2' into frameworks
...
Conflicts:
plasma/CMakeLists.txt
plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Aaron Seigo
f285745318
make extender applets freel resize
2011-08-11 00:15:05 +02:00
Montel Laurent
9e314fde8d
Pedantic
2011-08-07 00:50:21 +02:00
Aaron Seigo
ef6b65c2b1
simplify
2011-08-07 00:50:20 +02:00
Aaron Seigo
45e428dec5
--deprecatedUsage;
2011-08-07 00:50:20 +02:00
Dawit Alemayehu
10dcf8ffc0
Fixed -Wunused-parameter compiler warning.
...
REVIEW: 101881
2011-08-07 00:50:19 +02:00
Aaron Seigo
5484609cd3
consolidate creation code; use the layout; don't hide dialog if already hidden
...
fixes a few annoyances in the system tray
2011-08-03 16:45:29 +02:00
Aaron Seigo
f5b91c58de
consolidate creation code; use the layout; don't hide dialog if already hidden
...
fixes a few annoyances in the system tray
2011-08-03 16:45:28 +02:00
Kevin Kofler
3435f9f1e6
Add an API (currently private) for installing missing Plasma engines.
...
Use it when a requested data or script engine is not found.
REVIEW: 102175
2011-08-03 10:21:39 +02:00
Aaron Seigo
7c8cf530e1
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/theme.cpp
2011-07-30 20:20:10 +02:00
Aaron Seigo
50cfd997e9
make extender applets freel resize
2011-07-30 18:27:32 +02:00
Aaron Seigo
82eee5c3b7
avoid compiling in debug strings when compiled without debug
2011-07-29 15:46:52 +02:00
Aaron Seigo
fbde93c64f
give package a cache for found items; make the dptr implicitly shared
...
this drops a 100k loop of copies from ~2700ms to ~37ms and a 100k loop
of copy-n-find from ~3900ms to ~40ms.
the cache addition is predicated on the idea that lookups of the same files will be frequent enough to warrant the small amount of extra memory usage for the cache. if that does not hold in practice (though it appears to) then this will not be a gain and in fact be a small net loss for memory footprint
the dptr change is predicated on the assumption that copies of Package will be frequent, and so must be low cost. this is known to be true. even if it wasn't, there is no down-side to this change. the upside are significant time and memory savings.
2011-07-22 17:24:40 +02:00
Aaron Seigo
bd10c7175e
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/containment.cpp
plasma/package.cpp
plasma/packagestructure.cpp
plasma/private/package_p.h
plasma/scripting/scriptengine.cpp
2011-07-21 15:31:07 +02:00
Aaron Seigo
f3a66f1f79
allow stripping out the name and mimetype data from the package info; only really useful for package introspection (e.g. in plasmate and other such tools) but a waste on mobile
2011-07-21 14:41:01 +02:00
Aaron Seigo
3d5fa3ca43
build, though wallpaper is still broken
2011-07-21 14:39:02 +02:00
Aaron Seigo
4a3ef536e6
private class changes to match the public class usage
2011-07-19 21:52:33 +02:00
Aaron Seigo
32f75b826c
re-port back to PackageStructure
2011-07-19 21:36:57 +02:00
Aaron Seigo
722c77e7ce
move the needed datastructures into Package
2011-07-15 13:03:56 +02:00
Aaron Seigo
abf1b8510f
make the PackageStructures into Package subclasses
2011-07-15 13:03:46 +02:00
Aaron Seigo
889c9e7bd3
adapt to Package merge changes
2011-07-15 13:03:22 +02:00
Aaron Seigo
1dde80056b
no longer provide access to the package from the class, let Package do that; adapt to Package merge
2011-07-15 13:02:15 +02:00
Aaron Seigo
5b2eaf4a7f
PackageStructure is no more
2011-07-15 13:01:28 +02:00
Aaron Seigo
4b3b687088
no longer provide access to the package from the class, let Package do that; adapt to Package merge
2011-07-15 12:59:51 +02:00
Marco Martin
14c3235a17
fix resolution of paths w/ only a packageRoot+name
2011-07-14 14:53:57 +02:00
Montel Laurent
ecc8692c33
Pedantic
2011-07-13 21:46:19 +02:00
Aaron Seigo
41bb1efb74
PackageStructure no longer does widget browser UI
...
too many problems with this: device appropriateness, not all packages are widgets, requires PackageStructure to be a QObject, etc..
2011-07-13 20:27:12 +02:00
Aaron Seigo
0633f2fd28
isPublished no longer required
2011-07-13 20:07:33 +02:00
Aaron Seigo
2f1c50c419
remove unpublish
2011-07-13 20:06:09 +02:00
Aaron Seigo
0fa24619d4
remove publish functionality
2011-07-13 20:05:07 +02:00
Aaron Seigo
e4be1cecf5
simplify down to one constructor and try harder to have all information at all times with clearer code
2011-07-13 20:03:00 +02:00
Aaron Seigo
05834d8144
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/CMakeLists.txt
plasma/abstractrunner.h
plasma/animator.h
plasma/glapplet.h
plasma/package.h
plasma/packagemetadata.h
plasma/packagestructure.h
plasma/tooltipcontent.cpp
plasma/tooltipcontent.h
plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Aaron Seigo
b29c73f2e1
paint in parent coords, do events in local coords
...
this makes clicking on the window previews accurate (e.g. clicking at the top of them works)
also some code consistency when iterating over the collections and some cleanups
2011-07-11 21:48:56 +02:00
Aaron Seigo
6150c12907
prevent triggering a crash in Qt's text layouting
...
also simplifies code as a fun side effect.
2011-07-11 21:48:56 +02:00
Aaron Seigo
f056d71baa
simplify
2011-07-11 21:48:56 +02:00
Aaron Seigo
656d6df486
--deprecatedUsage;
2011-07-11 21:48:56 +02:00
Aaron Seigo
2e0b653b48
paint in parent coords, do events in local coords
...
this makes clicking on the window previews accurate (e.g. clicking at the top of them works)
also some code consistency when iterating over the collections and some cleanups
2011-07-11 21:48:44 +02:00
Aaron Seigo
9021634a1a
prevent triggering a crash in Qt's text layouting
...
also simplifies code as a fun side effect.
2011-07-11 21:48:44 +02:00
Dawit Alemayehu
c25f3e4cab
Fixed -Wunused-parameter compiler warning.
...
REVIEW: 101881
2011-07-11 12:45:50 -04:00
Aaron Seigo
bf17cc308a
move BackgroundHints to Plasma::, make it a plain enum
2011-06-24 16:35:09 +02:00
Aaron Seigo
86e6891b25
Merge branch 'plasmadialogshadows' into libplasma2
...
Conflicts:
plasma/animations/pixmaptransition.cpp
plasma/animations/rotation.cpp
2011-06-09 12:48:34 +02:00
Aaron Seigo
8f7b7cda31
shadows on dialogs
2011-06-09 12:46:25 +02:00
Aaron Seigo
ecbca8f142
add bool isUsed() const and remove checkUsage()
2011-06-03 16:04:50 +02:00
Aaron Seigo
69e9b84371
get rid of the redundant jobFinished signal in Service
...
it's a bitch for bindings as well
2011-06-03 13:16:35 +02:00
Aaron Seigo
fa61d11d3c
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/service.cpp
2011-06-03 13:15:36 +02:00
Aaron Seigo
66142028c0
move these around nicely
2011-06-03 13:13:19 +02:00
Aaron Seigo
e06d98147b
use KPluginInfo instead of PackageMetadata
2011-05-31 01:01:37 +02:00
Aaron Seigo
5ca2657a01
publish using a KPluginInfo
2011-05-31 01:01:18 +02:00
Aaron Seigo
d4e058386d
--PackageMetadata;
2011-05-31 01:00:35 +02:00
Aaron Seigo
1210ec313a
--PackageMetadata; and a handful of efficiency improvements as well
2011-05-31 00:28:06 +02:00
Aaron Seigo
b01348aa84
rely on AppletPrivate::remoteLocation (removing the need for PackageMetadata) and make it a proper KUrl
2011-05-31 00:04:03 +02:00
Aaron Seigo
be8b64f95c
don't use PackageMetadata
2011-05-31 00:03:39 +02:00
Aaron Seigo
cd32321b68
Merge branch 'libplasma2_signedpackages' into libplasma2
...
Conflicts:
plasma/package.cpp
2011-05-30 23:41:53 +02:00
Aaron Seigo
4cc44f6a92
Merge remote-tracking branch 'origin/master' into libplasma2
...
Conflicts:
plasma/package.cpp
2011-05-28 00:25:07 +02:00
Aaron Seigo
dd122bc011
move applet handle handling (*cough*) to applet instead of contaiment
...
much cleaner and eliminates the possibility of odd crashes
BUG:253421
2011-05-28 00:23:37 +02:00
Aaron Seigo
840ae26b2d
use QCryptographicHash instead of QCA
2011-05-27 12:26:59 +02:00
Aaron Seigo
5213116b94
remove a usage of QCA in favor of its qt equiv
2011-05-27 12:21:30 +02:00
Aaron Seigo
628b80809f
remove deprecated setWindowToPreview methods
2011-05-27 12:09:19 +02:00
Aaron Seigo
38004e0f9c
remove deprecated version of loadLayout
2011-05-27 12:07:12 +02:00
Aaron Seigo
2b3767a7b5
get rid of deprecate code in Animator
...
i wonder if we have any purpose for Animator at all in QML? perhaps
this moves out with the QGraphicsView stuff
2011-05-26 23:30:58 +02:00
Aaron Seigo
13adc2ddd2
remove some dead code
2011-05-26 23:13:44 +02:00
Aaron Seigo
c77964a6e3
fix compilation
2011-05-26 23:06:45 +02:00
Aaron Seigo
060ef1757b
QHash replaces QMap as the sorting of QMap is pure overhead
2011-05-26 19:01:44 +02:00
Frank Reininghaus
a85aa04ffd
Fix storing binary data in StorageThread::save()
...
This makes the unit test plasma/tests/storagetest pass again :-)
2011-05-21 14:38:08 +02:00
Aaron Seigo
5717088b57
remove references to Context classes, activity stored by id
2011-05-20 09:41:19 +02:00
Aaron Seigo
a4af5cfa02
Merge remote-tracking branch 'origin/master' into libplasma2
2011-05-20 08:17:19 +02:00
Aaron Seigo
cfdccb7968
addUrls becomes virtual, setUrls is dropped
2011-05-18 16:04:50 +02:00
Aaron Seigo
58c27026ef
Merge remote-tracking branch 'origin/master' into libplasma2
2011-05-12 22:39:05 +02:00
Jeremy Whiting
4911e4b75c
Add QByteArray and QString wrappers around + as needed.
...
Fixes kdelibs building with Qt 4.8
2011-05-11 21:46:35 -06:00
Montel Laurent
640fb68785
Fix mem leak
2011-05-06 21:51:55 +02:00
Aaron Seigo
060ad2e80b
Mimetype -> MimeType
2011-05-06 12:31:03 +02:00
Aaron Seigo
6112778ca1
remove protected member
2011-05-06 11:57:49 +02:00
Aaron Seigo
dffb61989e
set the images/ dir to be required depending on being a "full" package or a single file
2011-05-06 11:41:37 +02:00
Aaron Seigo
b55e308e7d
init() is not used here, don't bother with it
2011-05-05 14:52:55 +02:00
Aaron Seigo
faa9bd1eb2
remove close support, clean up code a bit while in there
2011-05-04 14:12:33 +02:00
Aaron Seigo
4a1ed3e6aa
don't paint the icon highlight if there is no icon
2011-05-04 14:10:34 +02:00
Matthias Fuchs
d9568fb2c5
Adds a setTabHighlighted and a isTabHighligted method to Plasma::TabBar.
...
When a tab is highlighted the text is drawn with a different color.
The icon will then have an active effect and a pressed button will be drawn at its background.
REVIEW:101264
2011-05-04 13:01:30 +02:00
Kevin Ottens
f56a273bac
Include config-plasma.h to get PLASMA_NO_SOLID defined
2011-05-03 11:54:19 +02:00
Aaron Seigo
b0ef0e7991
wallpaper thrading simplifications
2011-04-30 17:17:44 +02:00
Marco Martin
a6fa660809
bindings for dataengine in DeclarativeWidget
2011-04-30 12:43:29 +02:00
Aaron Seigo
9cdbf422ff
consolidate remoting files, add signing gsoc
2011-04-29 15:18:35 +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
Marco Martin
6d6826e603
fix delete; test for it
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
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
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
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
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
549f988fee
use a QVariantHash as well as a transaction for saving
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
Aaron Seigo
fbb50df067
ensure that the containment configChanged() routine always happens
2011-04-25 16:43:48 +02:00
Aaron Seigo
3e3bfe89b0
protect with a weak pointer
...
BUG:268752
2011-03-17 16:48:14 +01:00
Aaron Seigo
5a3c398e5a
delay url setting until initialized
2011-03-03 07:52:13 +01:00
Aaron Seigo
3924d218a4
cache the values for size and resize method
...
the main advantage to this is that only when the object signals a change
will the values be re-checked, which means that the wallpaper pointer
can be deleted behind our backs and we won't care
2011-02-16 11:42:38 -08:00
Marco Martin
beb1f9b6cf
use pointers instead of string comparison
...
use pointers instead of string comparison to figure out what button was pressed
2011-02-09 20:35:15 +01:00
Marco Martin
11d3b789a4
emit cancel signal
...
both when clicking cancel and pressing esc
CCBUG:265738
2011-02-09 00:11:25 +01:00
Aaron Seigo
2b2f482ecd
save/track/restore ItemStatus properly
2011-02-04 17:52:03 -08:00