MCPcopy Create free account
hub / github.com/bumptop/BumpTop / onFileModified

Method onFileModified

trunk/win/Source/BT_WidgetManager.cpp:49–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void Widget::onFileModified( QString strFileName )
50{
51 // check if it was the widget properties that was modified
52 if (widgetPropertiesPath == strFileName)
53 {
54 // reload the widget
55 widgetManager->reloadWidgetActorOverrides(this, true);
56 textManager->invalidate();
57 rndrManager->invalidateRenderer();
58 }
59 else
60 {
61 QFileInfo info(strFileName);
62 if (info.dir() == QDir(workingDirectory))
63 scnManager->onFileModified(strFileName);
64 }
65}
66
67vector<QString> Widget::getWatchDir()
68{

Callers

nothing calls this directly

Calls 5

invalidateRendererMethod · 0.80
QDirClass · 0.50
invalidateMethod · 0.45
dirMethod · 0.45

Tested by

no test coverage detected