Warning, /sdk/clazy/tests/old-style-connect/namespaces.h.fixed.expected is written in an unsupported language. File is not indexed.
0001 #ifndef NAMESPACES_H_ 0002 #define NAMESPACES_H_ 0003 0004 #include <QtCore/QObject> 0005 0006 namespace Foo { 0007 class Bar : public QObject 0008 { 0009 Q_OBJECT 0010 Q_SIGNALS: 0011 void signal1(); 0012 0013 }; 0014 } 0015 0016 class Mapper : public QObject 0017 { 0018 Q_OBJECT 0019 public: 0020 Mapper(Foo::Bar *obj, Foo::Bar *obj1) : QObject(nullptr) 0021 { 0022 connect(obj, &Foo::Bar::signal1, obj1, &Foo::Bar::signal1); 0023 } 0024 }; 0025 0026 #endif