Commit Graph

2274 Commits

Author SHA1 Message Date
Marco Martin
b79b52624e when no element id is specified paint the svg with its own size
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822139
2008-06-19 10:15:09 +00:00
Script Kiddy
04ff38bba3 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=822007
2008-06-18 21:37:23 +00:00
Aaron J. Seigo
bc20a02b4a respond when sycoca changes. sorting goes all to hell at this point, but i don't have time right now to figure out why. at least we respond to new entries =)
BUG:152530

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821611
2008-06-17 23:33:27 +00:00
Aaron J. Seigo
2fd0d567cc don't need the #s
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821610
2008-06-17 23:32:36 +00:00
Aaron J. Seigo
67a38e23e8 not much point in having tests if they aren't build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821607
2008-06-17 23:21:39 +00:00
Aaron J. Seigo
aa733dd6ee support multiple drag from applet browser and multiple drop on containment
someone went to all the trouble to make the pixmap painting cute for the multiple situation, but didn't do the actual drag bit =P
BUG:164342

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821594
2008-06-17 22:20:14 +00:00
Aaron J. Seigo
97be4fc11b listen to Containment::appletRemoved for the applet count
BUG:164335

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821592
2008-06-17 21:55:35 +00:00
Aaron J. Seigo
9e1a1a0ed3 emit appletRemoved when moving an applet, too.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821589
2008-06-17 21:54:43 +00:00
Aaron J. Seigo
83e1b75978 SVN_SILENT: less noise
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821585
2008-06-17 21:43:55 +00:00
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