m (→Layout) |
(→Main) |
||
| Line 5: | Line 5: | ||
To initialize it call [[../Handler|Handler::initLayout()]]; | To initialize it call [[../Handler|Handler::initLayout()]]; | ||
| + | |||
| + | '''NOTE:''' .desktop (metadata) files will be copied in $KDEHOME/services/. You can use KTrader to locate them. | ||
| + | They will be in the form of: | ||
| + | $appname-$pkgname-$pkgversion-addon.desktop | ||
| + | |||
| + | Packages will be renamed as: | ||
| + | $pkgname-$pkgversion.kns | ||
| + | |||
| + | And the file containing release notes will be called | ||
| + | $pkgname-$pkgversion.txt | ||
== Layout == | == Layout == | ||
KNewStuff 2 will have all its files in one dir, one for each app using it. Default will be KStandardDirs::locate("appdata", "addons").
To initialize it call Handler::initLayout();
NOTE: .desktop (metadata) files will be copied in $KDEHOME/services/. You can use KTrader to locate them. They will be in the form of: $appname-$pkgname-$pkgversion-addon.desktop
Packages will be renamed as: $pkgname-$pkgversion.kns
And the file containing release notes will be called $pkgname-$pkgversion.txt
The following layout will be used: