make slots that were invoked into virtuals

This commit is contained in:
Aaron Seigo 2011-05-26 18:56:35 +02:00
parent a5effc3b48
commit 91352e1a2d

View File

@ -79,8 +79,7 @@ public:
* *
* @since 4.6 * @since 4.6
*/ */
static KPluginInfo::List listToolBoxInfo(const QString static KPluginInfo::List listToolBoxInfo(const QString &parentApp = QString());
&parentApp = QString());
/** /**
* create a toolbox tool from the given action * create a toolbox tool from the given action
@ -103,28 +102,26 @@ public:
*/ */
virtual void setShowing(const bool show) = 0; virtual void setShowing(const bool show) = 0;
public Q_SLOTS:
//FIXME for KDE5: those should become virtuals
/** /**
* Restore the ToolBox settings * Restore the ToolBox settings
* It has to be reimplemented in toolboxes that need it * It has to be reimplemented in toolboxes that need it
* @since 4.6 * @since 4.6
*/ */
void restore(const KConfigGroup &group); virtual void restore(const KConfigGroup &group);
/** /**
* Save the ToolBox settings * Save the ToolBox settings
* It has to be reimplemented in toolboxes that need it * It has to be reimplemented in toolboxes that need it
* @since 4.6 * @since 4.6
*/ */
void save(const KConfigGroup &group); virtual void save(const KConfigGroup &group);
/** /**
* Inform the ToolBox it has to reposition itlself * Inform the ToolBox it has to reposition itlself
* It has to be reimplemented in toolboxes that need it * It has to be reimplemented in toolboxes that need it
* @since 4.6 * @since 4.6
*/ */
void reposition(); virtual void reposition();
Q_SIGNALS: Q_SIGNALS:
/** /**