remove references to Context
This commit is contained in:
parent
f6bbda4258
commit
0043de0ae9
@ -1588,13 +1588,6 @@ Location Applet::location() const
|
|||||||
return c ? c->d->location : Plasma::Desktop;
|
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
|
Plasma::AspectRatioMode Applet::aspectRatioMode() const
|
||||||
{
|
{
|
||||||
return d->aspectRatioMode;
|
return d->aspectRatioMode;
|
||||||
|
6
applet.h
6
applet.h
@ -49,7 +49,6 @@ namespace Plasma
|
|||||||
|
|
||||||
class AppletPrivate;
|
class AppletPrivate;
|
||||||
class Containment;
|
class Containment;
|
||||||
class Context;
|
|
||||||
class DataEngine;
|
class DataEngine;
|
||||||
class Extender;
|
class Extender;
|
||||||
class ExtenderItem;
|
class ExtenderItem;
|
||||||
@ -267,11 +266,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
|||||||
*/
|
*/
|
||||||
virtual Location location() const;
|
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
|
* @return the preferred aspect ratio mode for placement and resizing
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user