Changeset View
Changeset View
Standalone View
Standalone View
src/downloaddialog.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
46 | * | 46 | * | ||
47 | * \section knsrc knsrc Files | 47 | * \section knsrc knsrc Files | ||
48 | * The Dialog is configured by a .knsrc file containing the KHotNewStuff configuration. | 48 | * The Dialog is configured by a .knsrc file containing the KHotNewStuff configuration. | ||
49 | * Your application should install a file into the XDG configuration location called: <em>/etc/xdg/appname.knsrc</em> | 49 | * Your application should install a file into the XDG configuration location called: <em>/etc/xdg/appname.knsrc</em> | ||
50 | * | 50 | * | ||
51 | * The file could look like this for wallpapers: | 51 | * The file could look like this for wallpapers: | ||
52 | * <pre> | 52 | * <pre> | ||
53 | [KNewStuff3] | 53 | [KNewStuff3] | ||
54 | ProvidersUrl=http://download.kde.org/ocs/providers.xml | 54 | ProvidersUrl=https://download.kde.org/ocs/providers.xml | ||
55 | Categories=KDE Wallpaper 1920x1200,KDE Wallpaper 1600x1200 | 55 | Categories=KDE Wallpaper 1920x1200,KDE Wallpaper 1600x1200 | ||
56 | XdgTargetDir=wallpapers | 56 | XdgTargetDir=wallpapers | ||
57 | Uncompress=archive | 57 | Uncompress=archive | ||
58 | * </pre> | 58 | * </pre> | ||
59 | * | 59 | * | ||
60 | * Uncompress can be one of: always, never or archive: | 60 | * Uncompress can be one of: always, never or archive: | ||
61 | * <ol> | 61 | * <ol> | ||
62 | * <li>always: assume all downloaded files are archives and need to be extracted</li> | 62 | * <li>always: assume all downloaded files are archives and need to be extracted</li> | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |