Skip to content

Commit 0a25f85

Browse files
committed
run make format, to clang-format the code
This was with clang-format-9
1 parent 8c87c4b commit 0a25f85

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

examples/qt_with_qmake/exampleclass.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@
99

1010
class ExampleClass : public QObject
1111
{
12-
Q_OBJECT
12+
Q_OBJECT
1313
public:
14-
explicit ExampleClass(QObject *parent = nullptr);
14+
explicit ExampleClass(QObject* parent = nullptr);
1515

16-
/* Instead of using the keyword 'signals', use the 'Q_SIGNALS' macro */
16+
/* Instead of using the keyword 'signals', use the 'Q_SIGNALS' macro */
1717
Q_SIGNALS:
18-
void example_signal();
18+
void example_signal();
1919

20-
/* Instead of using the keyword 'slots', use the 'Q_SLOTS' macro */
20+
/* Instead of using the keyword 'slots', use the 'Q_SLOTS' macro */
2121
public Q_SLOTS:
22-
void timer_slot();
22+
void timer_slot();
2323

24-
/**
25-
* This slot is called using libsigc++, however since it is defined under Q_SLOTS
26-
* it could also be used with the Qt signals/slots
27-
*/
28-
void example_slot();
24+
/**
25+
* This slot is called using libsigc++, however since it is defined under Q_SLOTS
26+
* it could also be used with the Qt signals/slots
27+
*/
28+
void example_slot();
2929

3030
private:
31-
sigc::slot<void()> m_sigc_slot;
32-
sigc::signal<void()> m_sigc_signal;
33-
QTimer m_timer;
31+
sigc::slot<void()> m_sigc_slot;
32+
sigc::signal<void()> m_sigc_signal;
33+
QTimer m_timer;
3434
};
3535

3636
#endif // EXAMPLECLASS_H

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy