remove ContainmentActions::init()

This commit is contained in:
Marco Martin 2013-02-25 14:35:06 +01:00
parent 4a24e49317
commit de57997384
2 changed files with 1 additions and 13 deletions

View File

@ -135,11 +135,6 @@ KConfigGroup ContainmentActions::config() const
} }
void ContainmentActions::restore(const KConfigGroup &config) void ContainmentActions::restore(const KConfigGroup &config)
{
init(config);
}
void ContainmentActions::init(const KConfigGroup &config)
{ {
Q_UNUSED(config); Q_UNUSED(config);
} }

View File

@ -117,7 +117,7 @@ class PLASMA_EXPORT ContainmentActions : public QObject
* @param config Config group to load settings * @param config Config group to load settings
* @see init * @see init
**/ **/
void restore(const KConfigGroup &config); virtual void restore(const KConfigGroup &config);
/** /**
* This method is called when settings need to be saved. * This method is called when settings need to be saved.
@ -194,13 +194,6 @@ class PLASMA_EXPORT ContainmentActions : public QObject
*/ */
ContainmentActions(QObject *parent, const QVariantList &args); ContainmentActions(QObject *parent, const QVariantList &args);
/**
* This method is called once the containmentactions is loaded or settings are changed.
*
* @param config Config group to load settings
**/
virtual void init(const KConfigGroup &config);
private: private:
friend class ContainmentActionsPackage; friend class ContainmentActionsPackage;
friend class ContainmentActionsPrivate; friend class ContainmentActionsPrivate;