API review:
removed constructors with size parameters svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800596
This commit is contained in:
parent
5637be62e7
commit
34d3cbcee0
16
corona.cpp
16
corona.cpp
|
@ -124,22 +124,6 @@ Corona::Corona(QObject *parent)
|
||||||
//setViewport(new QGLWidget(QGLFormat(QGL::StencilBuffer | QGL::AlphaChannel)));
|
//setViewport(new QGLWidget(QGLFormat(QGL::StencilBuffer | QGL::AlphaChannel)));
|
||||||
}
|
}
|
||||||
|
|
||||||
Corona::Corona(const QRectF & sceneRect, QObject * parent )
|
|
||||||
: QGraphicsScene(sceneRect, parent),
|
|
||||||
d(new Private)
|
|
||||||
{
|
|
||||||
d->init(this);
|
|
||||||
//setViewport(new QGLWidget(QGLFormat(QGL::StencilBuffer | QGL::AlphaChannel)));
|
|
||||||
}
|
|
||||||
|
|
||||||
Corona::Corona(qreal x, qreal y, qreal width, qreal height, QObject * parent)
|
|
||||||
: QGraphicsScene(x, y, width, height, parent),
|
|
||||||
d(new Private)
|
|
||||||
{
|
|
||||||
d->init(this);
|
|
||||||
//setViewport(new QGLWidget(QGLFormat(QGL::StencilBuffer | QGL::AlphaChannel)));
|
|
||||||
}
|
|
||||||
|
|
||||||
Corona::~Corona()
|
Corona::~Corona()
|
||||||
{
|
{
|
||||||
KConfigGroup cg(config(), "General");
|
KConfigGroup cg(config(), "General");
|
||||||
|
|
2
corona.h
2
corona.h
|
@ -43,8 +43,6 @@ class PLASMA_EXPORT Corona : public QGraphicsScene
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Corona(QObject * parent = 0);
|
explicit Corona(QObject * parent = 0);
|
||||||
explicit Corona(const QRectF & sceneRect, QObject * parent = 0);
|
|
||||||
Corona(qreal x, qreal y, qreal width, qreal height, QObject * parent = 0);
|
|
||||||
~Corona();
|
~Corona();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user