Obsolete Members for KSvg::ImageSet
The following members of class ImageSet are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
(deprecated in 6.21)useGlobalSettings : const bool
Public Functions
(deprecated in 6.21) KPluginMetaData | metadata() const |
(deprecated in 6.21) void | setCacheLimit(int kbytes) |
(deprecated in 6.20) void | setUseGlobalSettings(bool useGlobal) |
(deprecated in 6.21) bool | useGlobalSettings() const |
Property Documentation
[read-only, deprecated in 6.21] useGlobalSettings : const bool
This property is deprecated since 6.21. We strongly advise against using it in new code.
Not used.
Access functions:
| bool | useGlobalSettings() const |
Member Function Documentation
[deprecated in 6.21] KPluginMetaData ImageSet::metadata() const
This function is deprecated since 6.21. We strongly advise against using it in new code.
This method returns the plugin metadata for this theme.
Metadata contains information such as name, description, author, website, and url.
Not used
[deprecated in 6.21] void ImageSet::setCacheLimit(int kbytes)
This function is deprecated since 6.21. We strongly advise against using it in new code.
This method sets the maximum size of the cache (in kilobytes).
If cache gets bigger than the limit, then some entries are removed. Setting cache limit to 0 disables automatic cache size limiting.
Note that the cleanup might not be done immediately, so the cache might temporarily (for a few seconds) grow bigger than the limit.
Not used
[deprecated in 6.20] void ImageSet::setUseGlobalSettings(bool useGlobal)
This function is deprecated since 6.20. We strongly advise against using it in new code.
This method sets whether the theme should follow the global settings or use application-specific settings.
useGlobal pass in true to follow the global settings
Not used
See also useGlobalSettings().
[deprecated in 6.21] bool ImageSet::useGlobalSettings() const
This function is deprecated since 6.21. We strongly advise against using it in new code.
This method returns whether the global settings are followed.
If application-specific settings are being used, it returns false.
Not used
Note: Getter function for property useGlobalSettings.
See also setUseGlobalSettings().