diff --git a/plasma/packagestructure.cpp b/plasma/packagestructure.cpp index 6b5f9a59..30d9362d 100644 --- a/plasma/packagestructure.cpp +++ b/plasma/packagestructure.cpp @@ -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; diff --git a/plasma/packagestructure.h b/plasma/packagestructure.h index 5c26500d..07de5ec6 100644 --- a/plasma/packagestructure.h +++ b/plasma/packagestructure.h @@ -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