removed unused signal

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent feb346f644
commit b2c05d49e4
  1. 11
      src/board/UBBoardView.cpp
  2. 5
      src/board/UBBoardView.h
  3. 3
      src/tools/UBAbstractDrawRuler.h
  4. 2
      src/tools/UBGraphicsCompass.cpp
  5. 4
      src/tools/UBGraphicsCompass.h
  6. 1
      src/tools/UBGraphicsProtractor.cpp
  7. 1
      src/tools/UBGraphicsRuler.cpp
  8. 1
      src/tools/UBGraphicsTriangle.cpp

@ -176,17 +176,6 @@ UBGraphicsScene* UBBoardView::scene ()
return qobject_cast<UBGraphicsScene*> (QGraphicsView::scene ());
}
void UBBoardView::hideEvent (QHideEvent * event)
{
Q_UNUSED (event);
emit hidden ();
}
void UBBoardView::showEvent (QShowEvent * event)
{
Q_UNUSED (event);
emit shown ();
}
void UBBoardView::keyPressEvent (QKeyEvent *event)
{

@ -61,7 +61,6 @@ class UBBoardView : public QGraphicsView
signals:
void resized(QResizeEvent* event);
void hidden();
void shown();
void clickOnBoard();
@ -98,7 +97,6 @@ class UBBoardView : public QGraphicsView
QGraphicsItem *items[],
const QStyleOptionGraphicsItem options[]);
// virtual void dragEnterEvent(QDragEnterEvent * event);
virtual void dropEvent(QDropEvent *event);
virtual void dragMoveEvent(QDragMoveEvent *event);
@ -106,9 +104,6 @@ class UBBoardView : public QGraphicsView
virtual void drawBackground(QPainter *painter, const QRectF &rect);
virtual void showEvent(QShowEvent * event);
virtual void hideEvent(QHideEvent * event);
private:
void init();

@ -44,9 +44,6 @@ public:
virtual void DrawLine(const QPointF& position, qreal width);
virtual void EndLine();
signals:
void hidden();
protected:
void paint();

@ -299,8 +299,6 @@ void UBGraphicsCompass::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
else if (closeButtonRect().contains(event->pos()))
{
hide();
emit hidden();
event->accept();
}
else

@ -51,10 +51,6 @@ class UBGraphicsCompass: public QObject, public QGraphicsRectItem, public UBItem
virtual void copyItemParameters(UBItem *copy) const;
signals:
void hidden();
protected:
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *styleOption, QWidget *widget);
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);

@ -240,7 +240,6 @@ void UBGraphicsProtractor::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
case Close :
hide();
emit hidden();
break;
case MoveMarker :

@ -371,7 +371,6 @@ void UBGraphicsRuler::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
else if (closeButtonRect().contains(event->pos()))
{
hide();
emit hidden();
event->accept();
}
else

@ -716,7 +716,6 @@ void UBGraphicsTriangle::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
else if (closeButtonRect().contains(event->pos()))
{
hide();
emit hidden();
event->accept();
}
else if (hFlipRect().contains(event->pos()))

Loading…
Cancel
Save