plasma: drop deprecated setContentsPrefix()

This commit is contained in:
Ivailo Monev 2015-07-20 13:32:02 +03:00
parent 5d6a8f7ec0
commit 3ff51d6e37
2 changed files with 0 additions and 17 deletions

View file

@ -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;

View file

@ -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