/QRecentFilesMenu

Qt menu class for recent files management.

Primary LanguageC++MIT LicenseMIT

Description

The QRecentFilesMenu class provides a recent files menu widget for use in menu bars, context menus, and other popup menus.

  • Use QRecentFilesMenu::addRecentFile() to insert a recent file into the menu.
  • QRecentFilesMenu provides the signal recentFileTriggered to notifed whenever a recent file has been triggered().
  • You can save and restore the recent files entries from a QByteArray using saveState() and restoreState() respectively.

Dependency

Qt 4.x.

License

MIT