Pages
API Documentation
On this page

Obsolete Members for KSvg::ImageSet

The following members of class ImageSet are deprecated. We strongly advise against using them in new code.

Properties

Public Functions

Obsolete Property Documentation

[read-only, deprecated in 6.21] useGlobalSettings : bool

This property is deprecated since 6.21. We strongly advise against using it in new code.

Not used.

Access functions:

Obsolete 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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.