remove references to Context

This commit is contained in:
Aaron Seigo 2011-05-20 09:21:36 +02:00
parent f6bbda4258
commit 0043de0ae9
2 changed files with 0 additions and 13 deletions

View File

@ -1588,13 +1588,6 @@ Location Applet::location() const
return c ? c->d->location : Plasma::Desktop;
}
Context *Applet::context() const
{
Containment *c = containment();
Q_ASSERT(c);
return c->d->context();
}
Plasma::AspectRatioMode Applet::aspectRatioMode() const
{
return d->aspectRatioMode;

View File

@ -49,7 +49,6 @@ namespace Plasma
class AppletPrivate;
class Containment;
class Context;
class DataEngine;
class Extender;
class ExtenderItem;
@ -267,11 +266,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/
virtual Location location() const;
/**
* Returns the workspace context which the applet is operating in
*/
Context *context() const;
/**
* @return the preferred aspect ratio mode for placement and resizing
*/