replace hasConfig functions with a .desktop entry

svn path=/trunk/KDE/kdelibs/; revision=1015267
This commit is contained in:
Chani Armitage 2009-08-25 03:22:15 +00:00
parent 9ad7c00c23
commit d2cf2d781c
4 changed files with 4 additions and 23 deletions

View File

@ -222,16 +222,6 @@ void ContainmentActions::setConfigurationRequired(bool needsConfig)
d->needsConfig = needsConfig;
}
bool ContainmentActions::hasConfigurationInterface() const
{
return d->hasConfig;
}
void ContainmentActions::setHasConfigurationInterface(bool hasConfig)
{
d->hasConfig = hasConfig;
}
QString ContainmentActions::eventToString(QEvent *event)
{
QString trigger;

View File

@ -195,11 +195,6 @@ class PLASMA_EXPORT ContainmentActions : public QObject
*/
bool configurationRequired() const;
/**
* @return true if the containmentactions has a config UI
*/
bool hasConfigurationInterface() const;
/**
* Turns a mouse or wheel event into a string suitable for a ContainmentActions
* @return the string representation of the event
@ -235,11 +230,6 @@ class PLASMA_EXPORT ContainmentActions : public QObject
*/
void setConfigurationRequired(bool needsConfiguring = true);
/**
* set whether the containmentactions has a config UI
*/
void setHasConfigurationInterface(bool hasConfig = true);
/**
* @return the containment the plugin is associated with.
*/

View File

@ -32,8 +32,7 @@ public:
q(containmentActions),
containmentActionsDescription(service),
initialized(false),
needsConfig(false),
hasConfig(false)
needsConfig(false)
{
};
@ -45,7 +44,6 @@ public:
KServiceAction mode;
bool initialized : 1;
bool needsConfig : 1;
bool hasConfig : 1;
};
} // namespace Plasma

View File

@ -12,3 +12,6 @@ Comment[uk]=Дії контейнерів Плазми
Comment[x-test]=xxPlasma ContainmentActionsxx
Comment[zh_TW]=Plasma
[PropertyDef::X-Plasma-HasConfigurationInterface]
Type=bool