need to do this before 4.2.0 so it can be public

svn path=/branches/KDE/4.2/kdelibs/; revision=914447
This commit is contained in:
Aaron J. Seigo 2009-01-21 06:19:33 +00:00
parent 4f1ab996c2
commit 72d8113c75

View File

@ -563,6 +563,16 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/ */
bool destroyed() const; bool destroyed() const;
/**
* Reimplement this method so provide a configuration interface,
* parented to the supplied widget. Ownership of the widgets is passed
* to the parent widget.
*
* @param parent the dialog which is the parent of the configuration
* widgets
*/
virtual void createConfigurationInterface(KConfigDialog *parent);
Q_SIGNALS: Q_SIGNALS:
/** /**
* This signal indicates that an application launch, window * This signal indicates that an application launch, window
@ -727,16 +737,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/ */
void setConfigurationRequired(bool needsConfiguring, const QString &reason = QString()); void setConfigurationRequired(bool needsConfiguring, const QString &reason = QString());
/**
* Reimplement this method so provide a configuration interface,
* parented to the supplied widget. Ownership of the widgets is passed
* to the parent widget.
*
* @param parent the dialog which is the parent of the configuration
* widgets
*/
virtual void createConfigurationInterface(KConfigDialog *parent);
/** /**
* Called when any of the geometry constraints have been updated. * Called when any of the geometry constraints have been updated.
* *
@ -775,7 +775,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/ */
bool isRegisteredAsDragHandle(QGraphicsItem *item); bool isRegisteredAsDragHandle(QGraphicsItem *item);
/** /**
* @return the extender of this applet. * @return the extender of this applet.
*/ */