Skip to content

Commit

Permalink
qt, refactor: Cleanup ModalOverlay slots
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jul 11, 2020
1 parent ca05588 commit e74cd20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/qt/modaloverlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@ class ModalOverlay : public QWidget
explicit ModalOverlay(bool enable_wallet, QWidget *parent);
~ModalOverlay();

public Q_SLOTS:
void tipUpdate(int count, const QDateTime& blockDate, double nVerificationProgress);
void setKnownBestHeight(int count, const QDateTime& blockDate);

void toggleVisibility();
// will show or hide the modal layer
void showHide(bool hide = false, bool userRequested = false);
void closeClicked();
bool isLayerVisible() const { return layerIsVisible; }

public Q_SLOTS:
void toggleVisibility();
void closeClicked();

protected:
bool eventFilter(QObject * obj, QEvent * ev) override;
bool event(QEvent* ev) override;
Expand Down

0 comments on commit e74cd20

Please sign in to comment.