remove publish functionality

This commit is contained in:
Aaron Seigo 2011-07-13 20:05:07 +02:00
parent d83433557e
commit 0fa24619d4
2 changed files with 0 additions and 18 deletions

View File

@ -424,23 +424,6 @@ PackagePrivate &PackagePrivate::operator=(const PackagePrivate &rhs)
return *this; return *this;
} }
void PackagePrivate::publish(AnnouncementMethods methods)
{
if (!structure) {
return;
}
if (!service) {
service = new PlasmoidService(structure->path());
}
QString resourceName =
i18nc("%1 is the name of a plasmoid, %2 the name of the machine that plasmoid is published on",
"%1 on %2", structure->metadata().name(), QHostInfo::localHostName());
kDebug() << "publishing package under name " << resourceName;
service->d->publish(methods, resourceName, structure->metadata());
}
void PackagePrivate::unpublish() void PackagePrivate::unpublish()
{ {
if (service) { if (service) {

View File

@ -38,7 +38,6 @@ public:
PackagePrivate &operator=(const PackagePrivate &rhs); PackagePrivate &operator=(const PackagePrivate &rhs);
void publish(AnnouncementMethods methods);
void unpublish(); void unpublish();
bool isPublished() const; bool isPublished() const;