MCPcopy Create free account
hub / github.com/YACReader/yacreader / event

Method event

YACReader/main.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42protected:
43 bool event(QEvent *event) override
44 {
45 switch (event->type()) {
46 case QEvent::FileOpen:
47 window->openComicFromPath(static_cast<QFileOpenEvent *>(event)->file());
48 return true;
49 default:
50 return QApplication::event(event);
51 }
52 }
53
54private:
55 MainWindowViewer *window;

Callers

nothing calls this directly

Calls 2

typeMethod · 0.80
openComicFromPathMethod · 0.80

Tested by

no test coverage detected