api docs and note an API wart that should be fixed in the next BIC release
svn path=/trunk/KDE/kdelibs/; revision=1038110
This commit is contained in:
parent
799e2dc3fb
commit
f9b2ad74fc
@ -466,6 +466,7 @@ void Dialog::setGraphicsWidget(QGraphicsWidget *widget)
|
||||
}
|
||||
}
|
||||
|
||||
//BIC FIXME: should be const
|
||||
QGraphicsWidget *Dialog::graphicsWidget()
|
||||
{
|
||||
return d->graphicsWidget;
|
||||
|
11
dialog.h
11
dialog.h
@ -73,7 +73,18 @@ class PLASMA_EXPORT Dialog : public QWidget
|
||||
explicit Dialog(QWidget * parent = 0, Qt::WindowFlags f = Qt::Window);
|
||||
virtual ~Dialog();
|
||||
|
||||
/**
|
||||
* Sets a QGraphicsWidget to be shown as the content in this dialog.
|
||||
* The dialog will then set up a QGraphicsView and coordinate geometry with
|
||||
* the widget automatically.
|
||||
*
|
||||
* @arg widget the QGraphicsWidget to display in this dialog
|
||||
*/
|
||||
void setGraphicsWidget(QGraphicsWidget *widget);
|
||||
|
||||
/**
|
||||
* @return the graphics widget shown in this dialog
|
||||
*/
|
||||
QGraphicsWidget *graphicsWidget();
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user