SVN_SILENT: tabs are not cool. tell your friends.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797074
This commit is contained in:
parent
d5753f1fba
commit
17bba1cffc
51
applet.h
51
applet.h
@ -192,32 +192,32 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
|||||||
**/
|
**/
|
||||||
const Package* package() const;
|
const Package* package() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the view this widget is visible on
|
* Returns the view this widget is visible on
|
||||||
*/
|
*/
|
||||||
QGraphicsView *view() const;
|
QGraphicsView *view() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps a QRect from a view's coordinates to local coordinates.
|
* Maps a QRect from a view's coordinates to local coordinates.
|
||||||
* @param view the view from which rect should be mapped
|
* @param view the view from which rect should be mapped
|
||||||
* @param rect the rect to be mapped
|
* @param rect the rect to be mapped
|
||||||
*/
|
*/
|
||||||
QRectF mapFromView(const QGraphicsView *view, const QRect &rect) const;
|
QRectF mapFromView(const QGraphicsView *view, const QRect &rect) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maps a QRectF from local coordinates to a view's coordinates.
|
* Maps a QRectF from local coordinates to a view's coordinates.
|
||||||
* @param view the view to which rect should be mapped
|
* @param view the view to which rect should be mapped
|
||||||
* @param rect the rect to be mapped
|
* @param rect the rect to be mapped
|
||||||
*/
|
*/
|
||||||
QRect mapToView(const QGraphicsView *view, const QRectF &rect) const;
|
QRect mapToView(const QGraphicsView *view, const QRectF &rect) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Recomended position for a popup window like a menu or a tooltip
|
* Recomended position for a popup window like a menu or a tooltip
|
||||||
* given its size
|
* given its size
|
||||||
* @param s size of the popup
|
* @param s size of the popup
|
||||||
* @returns recomended position
|
* @returns recomended position
|
||||||
*/
|
*/
|
||||||
QPoint popupPosition(const QSize &s) const;
|
QPoint popupPosition(const QSize &s) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when any of the geometry constraints have been updated.
|
* Called when any of the geometry constraints have been updated.
|
||||||
@ -717,6 +717,11 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
|||||||
*/
|
*/
|
||||||
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
|
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reimplemented from QGraphicsItem
|
||||||
|
*/
|
||||||
|
void focusInEvent(QFocusEvent * event);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reimpmlemented from LayoutItem
|
* Reimpmlemented from LayoutItem
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user