Commit Graph

10318 Commits

Author SHA1 Message Date
Aaron Seigo
5b2eaf4a7f PackageStructure is no more 2011-07-15 13:01:28 +02:00
Aaron Seigo
e7106d2422 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 13:01:17 +02:00
Aaron Seigo
a623e16283 cleanups, and GenericComponent no longer applies: just use Package::laod("Plasma/Generic") 2011-07-15 13:00:31 +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
Aaron Seigo
976c668a13 adapt to the Package merge 2011-07-15 12:59:17 +02:00
Aaron Seigo
cebb2ea6d6 port the tests 2011-07-15 12:58:56 +02:00
Aaron Seigo
776fe21b83 adapt to Package merge: return a Package by reference rather than a pointer 2011-07-15 12:58:33 +02:00
Aaron Seigo
8d5cd041c0 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:58:06 +02:00
Aaron Seigo
d91fede662 merge packagestructure with package, make the commensurate change in the build 2011-07-15 12:57:46 +02:00
Aaron Seigo
6e721dcdf1 no longer provide access to the package from the class, let Package do that 2011-07-15 12:57:02 +02:00
Aaron Seigo
8c0d49b255 don't reference things that don't exist (this dox probably needs a rewrite) 2011-07-15 12:56:37 +02:00
Aaron Seigo
8f3c2635c2 git rid of some old stuff 2011-07-15 12:56:25 +02:00
Script Kiddy
4bda8b39bd SVN_SILENT made messages (.desktop file) 2011-07-15 09:32:55 +02:00
Script Kiddy
189f42ea92 SVN_SILENT made messages (.desktop file) 2011-07-15 09:20:41 +02:00
Marco Martin
587a3075b3 use plsmoidpackage for generic packages too 2011-07-14 17:19:40 +02:00
Daker Fernandes Pinheiro
d9cc5a1ba6 Refactor Plasma Components Gallery
- Move columns present in the gallery into separate files
- Move Gallery into a subdir of tests

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-14 12:10:08 -03:00
Daker Fernandes Pinheiro
355655e0d4 Add ScrollDecorator component
ScrollDecorators API is defined in QtComponents's common API
This component just diplay how a Flickable content size and
content position is. It's similar to a ScrollBar but is not
interactive.

The current implemetation makes it visible only when flickable
content is moved.

The plasma implementation has 2 extra properties:
- orientation: Qt.Vertical / Qt.Horizontal orientaion
- inverted: true if the scroll decorator should appear inverted
  (the same logic of Slider and ScrollBar)
  it has a false default value

Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-14 11:04:20 -03:00
Marco Martin
14c3235a17 fix resolution of paths w/ only a packageRoot+name 2011-07-14 14:53:57 +02:00
Aaron Seigo
208e4853bd removal of includes, renamining of .dekstop file 2011-07-14 13:19:03 +02:00
Aaron Seigo
f71463faa1 remove from the header as well 2011-07-14 10:33:39 +02:00
Montel Laurent
ecc8692c33 Pedantic 2011-07-13 21:46:19 +02:00
Aaron Seigo
0be4634b60 Merge remote-tracking branch 'origin/master' into libplasma2 2011-07-13 20:40:03 +02:00
Marco Martin
a4d079975b a new PackageStructure type: GenericComponent
this component will be used for loading generic repositories of files,
usually will be repositories of QML files
2011-07-13 20:32:25 +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
ad26497543 spare the internal virtual method calls and possibility of non-trivial allocations when using the default pluginloader 2011-07-13 20:25:47 +02:00
Aaron Seigo
aabb8d47f9 prep for Package loading 2011-07-13 20:20:36 +02:00
Aaron Seigo
0633f2fd28 isPublished no longer required 2011-07-13 20:07:33 +02:00
Aaron Seigo
db0e72bf77 don't use Package for isPublished 2011-07-13 20:07:19 +02:00
Aaron Seigo
2f1c50c419 remove unpublish 2011-07-13 20:06:09 +02:00
Aaron Seigo
53085973b3 don't use Package for unpublishing 2011-07-13 20:05:56 +02:00
Aaron Seigo
0fa24619d4 remove publish functionality 2011-07-13 20:05:07 +02:00
Aaron Seigo
d83433557e stop relying on Package for Plasmoid publishing help 2011-07-13 20:04:13 +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
a386f40f73 another funny merge blurg 2011-07-13 18:11:19 +02:00
Aaron Seigo
9d48b83dc9 funny merge blurg 2011-07-13 18:10:38 +02:00
Aaron Seigo
97682614dd these list methods, while theoretically useful, were not actually used. out they go.
if we ever need something like this, it should be provided by the plugin itself so
as to be plugin neutral.
2011-07-13 18:04:29 +02:00
Aaron Seigo
dd95295cb0 no reason to provide 3 ways to do something when there are already 2 fine ways 2011-07-13 12:47:58 +02:00
Aaron Seigo
7b1359d2d3 get rid of some dead code 2011-07-13 12:47:46 +02:00
Script Kiddy
6ba042db73 SVN_SILENT made messages (.desktop file) 2011-07-13 09:29:04 +02:00
Marco Martin
6354e56a91 emit visiblechanged when it should 2011-07-12 20:31:29 +02:00
Script Kiddy
a8d7f0f29e SVN_SILENT made messages (.desktop file) 2011-07-12 10:36:11 +02:00
Script Kiddy
471fbd1d30 SVN_SILENT made messages (.desktop file) 2011-07-12 10:36:11 +02:00
Marco Martin
756b3f1685 crash-- move after first call to applet() 2011-07-11 22:44:05 +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
a7bb4b26ad mark the methods deprecated as they should be 2011-07-11 21:48:56 +02:00
Aaron Seigo
dedbbb5f56 shush the compiler 2011-07-11 21:48:56 +02:00