File indexing completed on 2024-05-05 05:41:36
0001 #include <QtCore/QObject> 0002 0003 class Foo : public QObject 0004 { 0005 Q_OBJECT 0006 public: 0007 Foo() 0008 { 0009 connect(this, static_cast<void (Foo::*)(int)>(&Foo::bar), [](int) {}); // OK 0010 } 0011 0012 Q_SIGNALS: 0013 void bar(int); 0014 void bar(float); 0015 };