mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
clang-format
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user