File indexing completed on 2024-04-14 05:19:07
0001 #include "fakeEvent.h" 0002 0003 FakeEvent *FakeEvent::instance() 0004 { 0005 static FakeEvent* s_self = nullptr; 0006 if (!s_self) { 0007 s_self = new FakeEvent; 0008 } 0009 return s_self; 0010 } 0011 0012 FakeEvent::FakeEvent(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 void FakeEvent::messageCaller(const QString &caller) 0018 { 0019 emit callerReceived(caller); 0020 } 0021 0022 #include "moc_fakeEvent.cpp"