Skip to content
Commit 15b98ad2 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/umlwidgets/diagramproxywidget.{h,cpp} : Address...

umbrello/umlwidgets/diagramproxywidget.{h,cpp} : Address https://mail.kde.org/pipermail/umbrello-devel/2022-January/023025.html
- Add `const' qualifier on following functions:
  const QRectF& clientRect();
  const QRectF& sceneRect();
  UMLWidget*    getProxiedWidget(const QPointF &p);
  bool          isProxyWidget();
  UMLWidget*    getProxiedWidget(const QPointF &p);
  QPointF       mapFromClient(const QPointF &pos);
  QRectF        mapFromClient(const QRectF &r);
  QPointF       mapToClient(const QPointF &pos);
  void          setupEvent(QGraphicsSceneMouseEvent &e,
                           QGraphicsSceneMouseEvent *event,
                           const QPointF & pos);
  void          setupEvent(QGraphicsSceneContextMenuEvent &e,
                           QGraphicsSceneContextMenuEvent *event,
                           const QPointF & pos).
- At the two setupEvent functions, additionally add `const' qualifier
  on argument `event'.
parent 9a4e1289
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment