remove messageButtonPressed

and positionMessageOverlay that is not needed anymore
This commit is contained in:
Marco Martin 2013-02-12 13:34:27 +01:00
parent ae7856e836
commit fbbc42b4eb
4 changed files with 0 additions and 19 deletions

View File

@ -573,10 +573,6 @@ void Applet::flushPendingConstraintsEvents()
emit immutabilityChanged(immutability()); emit immutabilityChanged(immutability());
} }
if (c & Plasma::SizeConstraint) {
d->positionMessageOverlay();
}
// now take care of constraints in special subclass: Contaiment // now take care of constraints in special subclass: Contaiment
Containment* containment = qobject_cast<Plasma::Containment*>(this); Containment* containment = qobject_cast<Plasma::Containment*>(this);
if (d->isContainment && containment) { if (d->isContainment && containment) {

View File

@ -512,15 +512,6 @@ class PLASMA_EXPORT Applet : public QObject
*/ */
void activate(); void activate();
/**
* Emitted when the user clicked on a button of the message overlay
*
* @see showMessage
* @see Plasma::MessageButton
* @since 4.3
*/
void messageButtonPressed(const Plasma::MessageButton button);
//Completely UI-specific, remove or move to scriptengine //Completely UI-specific, remove or move to scriptengine
/** /**

View File

@ -175,11 +175,6 @@ void AppletPrivate::showConfigurationRequiredMessage(bool show, const QString &r
Q_UNUSED(reason) Q_UNUSED(reason)
} }
void AppletPrivate::positionMessageOverlay()
{
// reimplemented in the UI specific library
}
void AppletPrivate::updateFailedToLaunch(const QString &reason) void AppletPrivate::updateFailedToLaunch(const QString &reason)
{ {
// reimplemented in the UI specific library // reimplemented in the UI specific library

View File

@ -79,7 +79,6 @@ public:
// the interface // the interface
virtual void showConfigurationRequiredMessage(bool show, const QString &reason); virtual void showConfigurationRequiredMessage(bool show, const QString &reason);
virtual void cleanUpAndDelete(); virtual void cleanUpAndDelete();
virtual void positionMessageOverlay();
virtual void updateFailedToLaunch(const QString &reason); virtual void updateFailedToLaunch(const QString &reason);
// put all setup routines for script here. at this point we can assume that // put all setup routines for script here. at this point we can assume that