API review:
removed maxSizeHint() svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800654
This commit is contained in:
parent
8418bb6fc7
commit
2e695fa1ad
@ -134,13 +134,6 @@ Corona::~Corona()
|
|||||||
delete d;
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRectF Corona::maxSizeHint() const
|
|
||||||
{
|
|
||||||
//FIXME: this is a bit of a naive implementation, do you think? =)
|
|
||||||
// we should factor in how much space we actually have left!
|
|
||||||
return sceneRect();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Corona::setAppletMimeType(const QString& type)
|
void Corona::setAppletMimeType(const QString& type)
|
||||||
{
|
{
|
||||||
d->mimetype = type;
|
d->mimetype = type;
|
||||||
|
6
corona.h
6
corona.h
@ -50,12 +50,6 @@ public:
|
|||||||
**/
|
**/
|
||||||
bool isImmutable() const;
|
bool isImmutable() const;
|
||||||
|
|
||||||
/**
|
|
||||||
* A rect containing the maximum size a plasmoid on this corona should
|
|
||||||
* consider being.
|
|
||||||
**/
|
|
||||||
QRectF maxSizeHint() const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the mimetype of Drag/Drop items. Default is
|
* Sets the mimetype of Drag/Drop items. Default is
|
||||||
* text/x-plasmoidservicename
|
* text/x-plasmoidservicename
|
||||||
|
Loading…
Reference in New Issue
Block a user