File indexing completed on 2024-05-05 05:41:37
0001 #include <QtCore/QObject> 0002 0003 class Foo : public QObject 0004 { 0005 Q_OBJECT 0006 public: 0007 0008 void foo() 0009 { 0010 emit scriptableSignal(); 0011 } 0012 0013 Q_SIGNALS: 0014 Q_SCRIPTABLE void scriptableSignal(); // OK 0015 };