mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: drop deprecated setContentsPrefix()
This commit is contained in:
parent
5d6a8f7ec0
commit
3ff51d6e37
2 changed files with 0 additions and 17 deletions
|
@ -536,12 +536,6 @@ QString PackageStructure::contentsPrefix() const
|
|||
return d->contentsPrefixPaths.isEmpty() ? QString() : d->contentsPrefixPaths.first();
|
||||
}
|
||||
|
||||
void PackageStructure::setContentsPrefix(const QString &prefix)
|
||||
{
|
||||
d->contentsPrefixPaths.clear();
|
||||
d->contentsPrefixPaths << prefix;
|
||||
}
|
||||
|
||||
QStringList PackageStructure::contentsPrefixPaths() const
|
||||
{
|
||||
return d->contentsPrefixPaths;
|
||||
|
|
|
@ -317,17 +317,6 @@ protected:
|
|||
*/
|
||||
void setAllowExternalPaths(bool allow);
|
||||
|
||||
/**
|
||||
* Sets the prefix that all the contents in this package should
|
||||
* appear under. This defaults to "contents/" and is added automatically
|
||||
* between the base path and the entries as defined by the package
|
||||
* structure
|
||||
*
|
||||
* @param prefix the directory prefix to use
|
||||
* @deprecated use setContentsPrefixPaths() instead.
|
||||
*/
|
||||
KDE_DEPRECATED void setContentsPrefix(const QString &prefix);
|
||||
|
||||
/**
|
||||
* Sets the prefixes that all the contents in this package should
|
||||
* appear under. This defaults to "contents/" and is added automatically
|
||||
|
|
Loading…
Add table
Reference in a new issue