Commit Graph

10 Commits

Author SHA1 Message Date
Paolo Capriotti
49f0a32580 Add PackageStructure::read, write and related tests.
CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743970
2007-12-02 13:16:39 +00:00
Paolo Capriotti
b88aea051e Cleanup of Package classes as discussed on panel-devel.
* Add convenience constructor to the Package class.
* Make some methods const in PackageStructures.
* Use QByteArray to store keys in PackageStructures, so that they are compared
  by value, and not by address.
* Add a test checking that the path to the metadata file is retrieved correctly.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741935
2007-11-26 19:16:40 +00:00
Aaron J. Seigo
cd89ecef2d SVN_SILENT: whoops, other half of the previous commit about returning keys not paths
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727889
2007-10-22 01:29:27 +00:00
Aaron J. Seigo
db4a7ebe61 copyright cleanups:
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Aaron J. Seigo
11cba27eee * dissallow copying of PackageStructure as it has a dptr but no copy ctor
* Package::isValid() checks if the Package is valid, e.g. all required files and dirs are present
* add methods to PackageStructure which return just the required bits

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690102
2007-07-20 03:21:40 +00:00
Pino Toscano
1633d8d791 use QtModule/QFoo includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687972
2007-07-14 22:40:00 +00:00
Aaron J. Seigo
0174be3330 * api docu fixes
* allow setting a default mimetype for a package

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676513
2007-06-17 01:04:59 +00:00
Aaron J. Seigo
7afda6a7f8 fix for 3rd party builds
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676510
2007-06-17 00:33:44 +00:00
Aaron J. Seigo
d6af3ab7b6 use plasma exports
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676506
2007-06-17 00:29:53 +00:00
Aaron J. Seigo
eb5522104a add the non-gui packaging files to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676505
2007-06-17 00:25:16 +00:00