summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2020-04-25 10:03:03 +0200
committerMurray Cumming <murrayc@murrayc.com>2020-04-25 10:10:07 +0200
commit0a25f859605dc85b0a58f14ddcd7af8d721d7c29 (patch)
treecb9200def0375f7226952df9a345ebbca63f5873
parent8c87c4b2ae3c002fbb799b731feef97ae84828fc (diff)
downloadsigc++-reformat.tar.gz
run make format, to clang-format the codereformat
This was with clang-format-9
-rw-r--r--examples/qt_with_qmake/exampleclass.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/examples/qt_with_qmake/exampleclass.h b/examples/qt_with_qmake/exampleclass.h
index 37f456f..7c8c5a7 100644
--- a/examples/qt_with_qmake/exampleclass.h
+++ b/examples/qt_with_qmake/exampleclass.h
@@ -9,28 +9,28 @@
class ExampleClass : public QObject
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit ExampleClass(QObject *parent = nullptr);
+ explicit ExampleClass(QObject* parent = nullptr);
-/* Instead of using the keyword 'signals', use the 'Q_SIGNALS' macro */
+ /* Instead of using the keyword 'signals', use the 'Q_SIGNALS' macro */
Q_SIGNALS:
- void example_signal();
+ void example_signal();
-/* Instead of using the keyword 'slots', use the 'Q_SLOTS' macro */
+ /* Instead of using the keyword 'slots', use the 'Q_SLOTS' macro */
public Q_SLOTS:
- void timer_slot();
+ void timer_slot();
- /**
- * This slot is called using libsigc++, however since it is defined under Q_SLOTS
- * it could also be used with the Qt signals/slots
- */
- void example_slot();
+ /**
+ * This slot is called using libsigc++, however since it is defined under Q_SLOTS
+ * it could also be used with the Qt signals/slots
+ */
+ void example_slot();
private:
- sigc::slot<void()> m_sigc_slot;
- sigc::signal<void()> m_sigc_signal;
- QTimer m_timer;
+ sigc::slot<void()> m_sigc_slot;
+ sigc::signal<void()> m_sigc_signal;
+ QTimer m_timer;
};
#endif // EXAMPLECLASS_H