runformat

This commit is contained in:
Daniel Marjamäki 2023-03-07 17:57:51 +01:00
parent f2238e717b
commit 3658965912
1 changed files with 13 additions and 5 deletions

View File

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