Mercurial > hg > svcore
comparison base/RecentFiles.h @ 209:6576a208e8e7
* Add Open Location...
* Add support for URLs in Recent Files
* Do the right thing with the last location for file open dialogs when opening
a URL (i.e. don't change it to the temporary file directory)
author | Chris Cannam |
---|---|
date | Wed, 10 Jan 2007 12:27:55 +0000 |
parents | 702fc936e6a6 |
children | 3b8008d09541 |
comparison
equal
deleted
inserted
replaced
208:8a3d68910b37 | 209:6576a208e8e7 |
---|---|
51 * Add a name that should be treated as a literal string. | 51 * Add a name that should be treated as a literal string. |
52 */ | 52 */ |
53 void add(QString name); | 53 void add(QString name); |
54 | 54 |
55 /** | 55 /** |
56 * Add a name that should be treated as a file path and | 56 * Add a name that is known to be either a file path or a URL. If |
57 * canonicalised appropriately. | 57 * it looks like a URL, add it literally; otherwise treat it as a |
58 * file path and canonicalise it appropriately. | |
58 */ | 59 */ |
59 void addFile(QString name); | 60 void addFile(QString name); |
60 | 61 |
61 signals: | 62 signals: |
62 void recentChanged(); | 63 void recentChanged(); |