runformat

This commit is contained in:
Daniel Marjamäki 2023-03-07 17:57:51 +01:00
parent f2238e717b
commit 3658965912

View File

@ -501,7 +501,7 @@ namespace {
private slots: private slots:
void foo(); void foo();
}; };
void Fred::foo() { } void Fred::foo() {}
// bitfields14 // bitfields14
class X { class X {
@ -512,8 +512,12 @@ namespace {
class Counter1 : public QObject { class Counter1 : public QObject {
Q_OBJECT Q_OBJECT
public: public:
Counter1() { m_value = 0; } Counter1() {
int value() const { return m_value; } m_value = 0;
}
int value() const {
return m_value;
}
public slots: public slots:
void setValue(int value); void setValue(int value);
signals: signals:
@ -531,8 +535,12 @@ namespace {
class Counter2 : public QObject { class Counter2 : public QObject {
Q_OBJECT Q_OBJECT
public: public:
Counter2() { m_value = 0; } Counter2() {
int value() const { return m_value; } m_value = 0;
}
int value() const {
return m_value;
}
public Q_SLOTS: public Q_SLOTS:
void setValue(int value); void setValue(int value);
Q_SIGNALS: Q_SIGNALS: