Commit Graph

2265 Commits

Author SHA1 Message Date
Aaron J. Seigo
28a27433a4 we also want the qbytearray version; use it with QWebFrame::setContent is all. this prevents unecessary QString/QByteArray conversions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821515
2008-06-17 17:01:08 +00:00
Davide Bettio
289941dece replaced QByteArray with a QString, using a QByteArray could be dangerous and also Qt uses a QString.
If we use a QByteArray we do something like this: QString -> QByteArray -> QString.
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821509
2008-06-17 16:42:48 +00:00
Davide Bettio
fa1cd976ad added missing "= QUrl()".
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821503
2008-06-17 16:23:29 +00:00
Davide Bettio
3a9f199bb7 Added missing header (Plasma/Flash).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821471
2008-06-17 15:02:33 +00:00
Will Stephenson
0270ca3ccf Add warning to broken ctors
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821336
2008-06-17 06:13:12 +00:00
Davide Bettio
2f2efc43df QPushButton, QLineEdit, QTextEdit and QComboBox -> K*
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821270
2008-06-16 23:53:05 +00:00
Davide Bettio
e305b698b4 Added missing header (Plasma/Icon).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821246
2008-06-16 22:31:44 +00:00
Marijn Kruisselbrink
b10a0bcbe3 fix qMax calls on platforms where qreal is not double
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821243
2008-06-16 22:20:49 +00:00
Aaron J. Seigo
659844e273 use the caching (!), don't crash if we get a 0 widget parameter
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821186
2008-06-16 19:10:38 +00:00
Richard Dale
996da901e2 * The method moveMatchesTo() is declared in the runnercontext.h header, but has no
corresponding implementation, so remove it from the header for now.
  A comment in the log mentions changing addMatchesTo() -> moveMatchesTo(), but both 
  methods no longer exist.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821074
2008-06-16 09:57:25 +00:00
Richard Dale
d6b4396d7a * The paint() method in QAbstractItemDelegate is public, so make the implementation of it in
Plasma::Delegate public too.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821071
2008-06-16 09:51:33 +00:00
Aaron J. Seigo
d5b4ede232 connect to the plasmoid feed
BUG:160494

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821062
2008-06-16 09:04:14 +00:00
Aaron J. Seigo
8a602d02b4 no longer exists
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821060
2008-06-16 09:01:37 +00:00
Aaron J. Seigo
5c360d7651 just to prove that this doesn't make it any closer. i do like the window affinity though
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821059
2008-06-16 09:01:26 +00:00
Aaron J. Seigo
a69ce2c265 apidox clarifications
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820958
2008-06-15 21:47:25 +00:00
Aaron J. Seigo
d03c0f5eb6 when changing the use globals setting, reset the state of the theme to comply
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820932
2008-06-15 20:09:27 +00:00
Marco Martin
b5855d7b20 set a minimum size of 0,0 when an applet is moved in the panel, it still
can happen that it exits from top of the screen but at least it won't
totally destroy the panel layout anymore

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820917
2008-06-15 19:10:50 +00:00
Script Kiddy
6f8f218633 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820661
2008-06-15 03:55:58 +00:00
Aaron J. Seigo
92390049ed * bring back a publicly available scheduleConfigSync, but as requestConfigSync; the host app may need to trigger this
* signal when the config is sync'd, so the host app (or whomever else cares to) can hook into these syncs as well.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820383
2008-06-14 01:31:53 +00:00
Aaron J. Seigo
32705801ba SVN_SILENT: ws microfix that's sitting on my hd wanting me to commit it so i don't keep seeing it in svn stat
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820382
2008-06-14 01:30:39 +00:00
Aaron J. Seigo
14d54f36bb always paint the items properly
BUG:162769

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820376
2008-06-14 00:32:51 +00:00
Aaron J. Seigo
272ca3002a save config when we add/remove containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820344
2008-06-13 22:43:38 +00:00
Davide Bettio
d489ddc1ea BUGFIX: Applet::setConfigurationRequired(bool needsConfig) now destroys also the button when needsConfig is false.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820338
2008-06-13 22:12:23 +00:00
Aaron J. Seigo
738d0547a6 * be careful with contents of action lists and guard against null ptrs
* start/stop accepting drops altogether on immutability changes; this makes it a bit more difficult (though not completely impossible) for containment plugins to Get It Wrong

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820251
2008-06-13 16:51:25 +00:00
Aaron J. Seigo
bdb635e3a8 don't accept drops that we don't understand or when we are immutable
CCBUG:163908

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820230
2008-06-13 16:21:59 +00:00
Aaron J. Seigo
1f6736bb42 gut the drag/drop handlers in Corona; i don't want to remove them since that is apparently BIC (at least on my system it was =/), but it's certainly not the right place for this. if we wish to handle drops on the Corona itself (versus containments or applets, of course) we have the ability to do so in the future. right now it's wasted cycles.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820229
2008-06-13 16:16:53 +00:00
Aaron J. Seigo
2157ab1356 geometry, not boundingRect. fixes the other remaining cause of looping when arranging multiple containments
BUG:163477

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=820061
2008-06-13 05:23:02 +00:00
Jakub Stachowski
795129a4ad If path is a symlink then examine its target.
BUG: 163738

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=819655
2008-06-11 17:26:36 +00:00
Script Kiddy
5de60cbd42 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=819272
2008-06-10 20:52:13 +00:00
Aaron J. Seigo
b36bca71ca always ensure we have a valid view id.
BUG:163053

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=819127
2008-06-10 16:57:09 +00:00
Aaron J. Seigo
39230257f7 don't misidentify local files and network locations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818917
2008-06-10 01:08:33 +00:00
Marco Martin
b8e211c2a4 SVN_SILENT: style fixes and death to the tabs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818737
2008-06-09 13:05:17 +00:00
Laurent Montel
ab395dfbbc Tag as devel element
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818716
2008-06-09 11:33:54 +00:00
Aaron J. Seigo
f9ac3edde5 get the geometry right
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818650
2008-06-09 04:09:11 +00:00
Aaron J. Seigo
c9fcf43c43 i wonder if this fixes it; can the reporters test this for me, because it wasn't being triggered here, but i can see how it could be without this patch
CCBUG:163477

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818638
2008-06-09 03:15:40 +00:00
Aaron J. Seigo
681ddb5cdc prepare ourselves for upstream fixes ;-P
CCBUG:163459

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818610
2008-06-09 00:03:25 +00:00
Aaron J. Seigo
cf9397a059 SVN_SILENT: apidox typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818589
2008-06-08 21:40:53 +00:00
Jason Stubbs
21367769e7 Fix systray icon positioning on initial layouts and take svg margins
into account. When the size is too small to allow the svg and a single
icon, disable the svg.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818155
2008-06-07 22:51:51 +00:00
Laurent Montel
210f9032ff Fix crash when we don't select an item
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818001
2008-06-07 11:31:16 +00:00
Aaron J. Seigo
d222baf2f2 emit geom changed signal on size changes as well as a SizeConstraint. one should one or the other but not both, i suppose.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817989
2008-06-07 10:52:34 +00:00
Aaron J. Seigo
ccadeadaa2 try some slightly smarter arangement concepts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817970
2008-06-07 09:34:50 +00:00
Script Kiddy
baa5066afd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817864
2008-06-06 21:47:30 +00:00
Aaron J. Seigo
ae609c6018 fix package installation. this method was removed it the API review, but it is actually required.
BUG:163290

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817331
2008-06-05 19:32:15 +00:00
Script Kiddy
4c75aec5a9 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=817018
2008-06-05 02:24:59 +00:00
Aaron J. Seigo
04f01a17dd center the icon vertically
BUG:163213

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816767
2008-06-04 19:35:17 +00:00
Aaron J. Seigo
f1ce0ee124 safety in removing panels, aka "work around the inane requirement to first remove items from the scene before deleting them if they are a QGraphicsWidget and have a layout"
BUG:163205

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816760
2008-06-04 19:04:34 +00:00
Marco Martin
1cb044332c new aspect ratio mode ConstrainedSquare
it makes applets in panel to not
be wider than tall in horizontal panels and not taller than wider in
vertical panels, but can be for instance less wide than tall in
horizontal panels, as opposed to square applets.
it makes poossible to have icons with a reasonable size in very big
panels as vertical panels usually are for instance

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816757
2008-06-04 18:58:38 +00:00
Aaron J. Seigo
3d45aae7fb more code clean ups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816745
2008-06-04 18:20:58 +00:00
Aaron J. Seigo
1cd27868ac SVN_SILENT: cleanups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816744
2008-06-04 18:17:32 +00:00
Marco Martin
5ddceb467b add Theme::currentThemeHasImage() that checks if the current theme has a
certain svg or if it would fallback to the default theme if loaded.
this makes possible an alternative fallback mechanism between images of
the same theme, used now for the TransparentBackground background hint

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816734
2008-06-04 17:44:37 +00:00