diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30731-qt-1.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30731-qt-1.cpp | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30731-qt-1.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30731-qt-1.cpp new file mode 100644 index 00000000..55b2459b --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30731-qt-1.cpp @@ -0,0 +1,86 @@ +class Foo : public QObject +{ + Q_OBJECT + + + private slots: + + void mySlot() { + } + + + public slots: + + void publicSlot(); + + + signals: + + void somesignal(); + +}; + +class foo +{ + bool b; + + + public: + + int i; +}; +class bar : public + foo +{ + void*p; + + + protected: + + double d; + enum e {A,B}; + + + private: +}; + +class Foo1 : public QObject +{ + Q_OBJECT + + + private Q_SLOTS: + + void mySlot(); + + + public Q_SLOTS: + + void publicSlot(); + + + Q_SIGNALS: + + void somesignal(); +}; + +class foo1 +{ + bool b; + + + public: + + int i; +}; +class bar : public + foo1 +{ + void*p; + + + protected: + + double d; +}; + |