Added File->"Open Recent" menu.
Initially based on pull request #40 by hochwasser <oo.o+github@windbuechse.samba-tng.org>, with refactoring.
This commit is contained in:
@@ -90,9 +90,14 @@ namespace glabels
|
||||
static QStringList recentTemplateList();
|
||||
static void addToRecentTemplateList( const QString& name );
|
||||
|
||||
static int maxRecentFiles();
|
||||
static QStringList recentFileList();
|
||||
static void addToRecentFileList( const QString& filePath );
|
||||
|
||||
|
||||
private:
|
||||
static Settings* mInstance;
|
||||
static const int mMaxRecentFiles{5};
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user