Format code using clang-format

This commit is contained in:
Luis Ángel San Martín
2019-05-30 19:46:37 +02:00
parent e0eb94e3ae
commit e3ec56aa43
356 changed files with 19824 additions and 21874 deletions

View File

@ -11,36 +11,36 @@ class QIcon;
class DropShadowLabel : public QLabel
{
Q_OBJECT
Q_OBJECT
public:
DropShadowLabel(QWidget* parent = 0);
void paintEvent(QPaintEvent *event);
void setColor(const QColor & color);
void setDropShadowColor(const QColor & color);
DropShadowLabel(QWidget *parent = 0);
void paintEvent(QPaintEvent *event);
void setColor(const QColor &color);
void setDropShadowColor(const QColor &color);
private:
QColor dropShadowColor;
QColor textColor;
void drawText(QPainter *painter, QPoint offset);
void drawTextEffect(QPainter* painter, QPoint offset);
QColor dropShadowColor;
QColor textColor;
void drawText(QPainter *painter, QPoint offset);
void drawTextEffect(QPainter *painter, QPoint offset);
};
class YACReaderTitledToolBar : public QWidget
{
Q_OBJECT
Q_OBJECT
public:
explicit YACReaderTitledToolBar(const QString & title, QWidget *parent = 0);
explicit YACReaderTitledToolBar(const QString &title, QWidget *parent = 0);
signals:
public slots:
void addAction(QAction * action);
void addSpacing(int space);
void addAction(QAction *action);
void addSpacing(int space);
void addSepartor();
private:
DropShadowLabel * nameLabel;
DropShadowLabel *nameLabel;
};
#endif // YACREADER_TITLED_TOOLBAR_H