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,35 +11,35 @@
#include "bookmarks.h"
class BookmarksDialog : public QDialog
{
Q_OBJECT
class BookmarksDialog : public QDialog
{
Q_OBJECT
protected:
QList<QLabel *> pages;
QList<QLabel *> images;
protected:
QList<QLabel *> pages;
QList<QLabel *> images;
int lastPage;
int lastPage;
QPushButton * accept;
QPushButton * cancel;
QPushButton *accept;
QPushButton *cancel;
QSize coverSize;
QSize coverSize;
bool eventFilter(QObject *obj, QEvent *event);
void keyPressEvent(QKeyEvent * event);
//QPropertyAnimation * animation;
bool eventFilter(QObject *obj, QEvent *event);
void keyPressEvent(QKeyEvent *event);
//QPropertyAnimation * animation;
public:
BookmarksDialog(QWidget * parent = 0);
public slots:
void setBookmarks(const Bookmarks & bookmarks);
//void show();
//void hide();
signals:
void goToPage(unsigned int page);
};
public:
BookmarksDialog(QWidget *parent = 0);
public slots:
void setBookmarks(const Bookmarks &bookmarks);
//void show();
//void hide();
signals:
void goToPage(unsigned int page);
};
#endif // BOOKMARKS_DIALOG_H