MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / closeEvent

Method closeEvent

DSView/pv/dialogs/storeprogress.cpp:116–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void StoreProgress::closeEvent(QCloseEvent* event)
117{
118 //Wait the thread ends.
119 if (_store_session->is_busy()){
120 _store_session->cancel();
121 event->ignore();
122 return;
123 }
124
125 _store_session->session()->set_saving(false);
126 _store_session->session()->broadcast_msg(DSV_MSG_SAVE_COMPLETE);
127
128 delete this;
129}
130
131void StoreProgress::keyPressEvent(QKeyEvent *event)
132{

Callers

nothing calls this directly

Calls 6

is_busyMethod · 0.80
cancelMethod · 0.80
ignoreMethod · 0.80
set_savingMethod · 0.80
sessionMethod · 0.80
broadcast_msgMethod · 0.80

Tested by

no test coverage detected