mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Format code using clang-format
This commit is contained in:
@ -10,15 +10,15 @@ class YACReaderSlider : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
QLabel * percentageLabel;
|
||||
QSlider * slider;
|
||||
QLabel *percentageLabel;
|
||||
QSlider *slider;
|
||||
|
||||
public:
|
||||
YACReaderSlider (QWidget * parent = 0);
|
||||
YACReaderSlider(QWidget *parent = 0);
|
||||
void show();
|
||||
|
||||
protected:
|
||||
virtual void focusOutEvent(QFocusEvent * event);
|
||||
virtual void focusOutEvent(QFocusEvent *event);
|
||||
virtual void paintEvent(QPaintEvent *);
|
||||
|
||||
public slots:
|
||||
@ -26,26 +26,23 @@ public slots:
|
||||
void updateZoomRatio(int value);
|
||||
void resetValueToDefault();
|
||||
|
||||
|
||||
signals:
|
||||
void zoomRatioChanged(int value);
|
||||
};
|
||||
|
||||
class YACReaderSliderAction : public QWidgetAction
|
||||
class YACReaderSliderAction : public QWidgetAction
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
private:
|
||||
YACReaderSlider * widget;
|
||||
YACReaderSlider *widget;
|
||||
|
||||
public:
|
||||
|
||||
YACReaderSliderAction (QWidget * parent = 0);
|
||||
YACReaderSliderAction(QWidget *parent = 0);
|
||||
|
||||
public slots:
|
||||
void updateText(int value);
|
||||
void updateText(int value);
|
||||
void updateZoomRatio(int value);
|
||||
|
||||
|
||||
signals:
|
||||
void zoomRatioChanged(int value);
|
||||
};
|
||||
|
Reference in New Issue
Block a user