MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / appendRecentFile

Method appendRecentFile

src/Gui/MainWindow.cpp:1989–1996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1987#endif
1988
1989void MainWindow::appendRecentFile(const QString& filename)
1990{
1991 auto recent = this->findChild<RecentFilesAction*>(QStringLiteral("recentFiles"));
1992 if (recent) {
1993 recent->appendFile(filename);
1994 Q_EMIT recentFileAdded(filename);
1995 }
1996}
1997
1998void MainWindow::appendRecentMacro(const QString& filename)
1999{

Callers 4

saveAsMethod · 0.80
openMethod · 0.80
importFromMethod · 0.80
exportToMethod · 0.80

Calls 1

appendFileMethod · 0.80

Tested by

no test coverage detected