mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: remove now redudant methods for remote applets
This commit is contained in:
parent
528b361bdc
commit
5d6a8f7ec0
3 changed files with 3 additions and 22 deletions
|
@ -51,7 +51,6 @@ class PackageMetadataPrivate
|
|||
QString type;
|
||||
QString serviceType;
|
||||
QString api;
|
||||
KUrl location;
|
||||
};
|
||||
|
||||
PackageMetadata::PackageMetadata(const PackageMetadata &other)
|
||||
|
@ -107,7 +106,6 @@ void PackageMetadata::write(const QString &filename) const
|
|||
config.writeEntry("X-Plasma-API", d->api);
|
||||
config.writeEntry("X-KDE-ParentApp", d->app);
|
||||
config.writeEntry("Type", d->type);
|
||||
config.writeEntry("X-Plasma-RemoteLocation", d->location);
|
||||
}
|
||||
|
||||
void PackageMetadata::read(const QString &filename)
|
||||
|
@ -153,7 +151,6 @@ void PackageMetadata::read(const QString &filename)
|
|||
d->api = config.readEntry("X-Plasma-API", d->api);
|
||||
d->app = config.readEntry("X-KDE-ParentApp", d->app);
|
||||
d->type = config.readEntry("Type", d->type);
|
||||
d->location = config.readEntry("X-Plasma-RemoteLocation", d->location);
|
||||
}
|
||||
|
||||
QString PackageMetadata::name() const
|
||||
|
@ -231,11 +228,6 @@ QString PackageMetadata::requiredVersion() const
|
|||
return d->requiredVersion;
|
||||
}
|
||||
|
||||
KUrl PackageMetadata::remoteLocation() const
|
||||
{
|
||||
return d->location;
|
||||
}
|
||||
|
||||
QString PackageMetadata::type() const
|
||||
{
|
||||
return d->type;
|
||||
|
@ -316,11 +308,6 @@ void PackageMetadata::setRequiredVersion(const QString &requiredVersion)
|
|||
d->requiredVersion = requiredVersion;
|
||||
}
|
||||
|
||||
void PackageMetadata::setRemoteLocation(const KUrl &location)
|
||||
{
|
||||
d->location = location;
|
||||
}
|
||||
|
||||
void PackageMetadata::setType(const QString &type)
|
||||
{
|
||||
d->type = type;
|
||||
|
|
|
@ -91,7 +91,6 @@ public:
|
|||
QString requiredVersion() const;
|
||||
QString pluginName() const;
|
||||
QString implementationApi() const;
|
||||
KUrl remoteLocation() const;
|
||||
|
||||
QString type() const;
|
||||
|
||||
|
@ -178,11 +177,6 @@ public:
|
|||
*/
|
||||
void setRequiredVersion(const QString &);
|
||||
|
||||
/**
|
||||
* Set the url where this package is hosted.
|
||||
*/
|
||||
void setRemoteLocation(const KUrl &);
|
||||
|
||||
/**
|
||||
* Set the type of the package. If not defined this
|
||||
* defaults to "Service" in the desktop file.
|
||||
|
|
|
@ -28,12 +28,12 @@
|
|||
* String version of libplasma version, suitable for use in
|
||||
* file formats or network protocols
|
||||
*/
|
||||
#define PLASMA_VERSION_STRING "3.3.0"
|
||||
#define PLASMA_VERSION_STRING "4.17.0"
|
||||
|
||||
/// @brief Major version of libplasma, at compile time
|
||||
#define PLASMA_VERSION_MAJOR 3
|
||||
#define PLASMA_VERSION_MAJOR 4
|
||||
/// @brief Minor version of libplasma, at compile time
|
||||
#define PLASMA_VERSION_MINOR 3
|
||||
#define PLASMA_VERSION_MINOR 17
|
||||
/// @brief Release version of libplasma, at compile time
|
||||
#define PLASMA_VERSION_RELEASE 0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue