clang-format

This commit is contained in:
Luis Ángel San Martín
2021-10-18 21:56:52 +02:00
parent 78e0c522d2
commit 5aa02a19bb
190 changed files with 2286 additions and 2286 deletions

View File

@ -6,7 +6,7 @@
#include "yacreader_global.h"
//Wrapper for NSTextField
// Wrapper for NSTextField
class YACReaderMacOSXSearchLineEdit : public QObject
{
Q_OBJECT
@ -18,7 +18,7 @@ public:
public slots:
QString text();
void clear();
void clearText(); //no signal emited
void clearText(); // no signal emited
void setDisabled(bool disabled);
void setEnabled(bool enabled);
@ -26,7 +26,7 @@ private:
void *nstextfield;
signals:
//convenience signal for YACReaderLibrary search edit
// convenience signal for YACReaderLibrary search edit
void filterChanged(YACReader::SearchModifiers, QString);
};
@ -53,7 +53,7 @@ public:
explicit YACReaderMacOSXToolbar(QObject *parent = 0);
void addAction(QAction *action);
void addDropDownItem(const QList<QAction *> &actions, const QAction *defaultAction = 0);
void addSpace(int size); //size in points
void addSpace(int size); // size in points
void addSeparator();
void addStretch();
void addWidget(QWidget *widget);
@ -61,13 +61,13 @@ public:
void hide();
QMap<QString, QAction *> actions;
//hacks everywhere
//convenience method for YACReaderLibrary search edit
// hacks everywhere
// convenience method for YACReaderLibrary search edit
YACReaderMacOSXSearchLineEdit *addSearchEdit();
//convenience method for showing the fit to width slider in MacOSX
// convenience method for showing the fit to width slider in MacOSX
QAction *addFitToWidthSlider(QAction *attachToAction);
//convenience method for switching the icon of the view selector
// convenience method for switching the icon of the view selector
void updateViewSelectorIcon(const QIcon &icon);
signals: