comparison widgets/InteractiveFileFinder.h @ 1414:fa986b91d77f

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:24:51 +0000
parents 05d614f6e46d
children 18101be79c9c
comparison
equal deleted inserted replaced
1413:0930a27ebea2 1414:fa986b91d77f
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _INTERACTIVE_FILE_FINDER_H_ 16 #ifndef SV_INTERACTIVE_FILE_FINDER_H
17 #define _INTERACTIVE_FILE_FINDER_H_ 17 #define SV_INTERACTIVE_FILE_FINDER_H
18 18
19 #include "data/fileio/FileFinder.h" 19 #include "data/fileio/FileFinder.h"
20 20
21 #include <QApplication> 21 #include <QApplication>
22 #include <QString> 22 #include <QString>
36 36
37 QString getApplicationSessionExtension() const { 37 QString getApplicationSessionExtension() const {
38 return m_sessionExtension; 38 return m_sessionExtension;
39 } 39 }
40 40
41 QString getOpenFileName(FileType type, QString fallbackLocation = ""); 41 QString getOpenFileName(FileType type, QString fallbackLocation = "") override;
42 QString getSaveFileName(FileType type, QString fallbackLocation = ""); 42 QString getSaveFileName(FileType type, QString fallbackLocation = "") override;
43 void registerLastOpenedFilePath(FileType type, QString path); 43 void registerLastOpenedFilePath(FileType type, QString path) override;
44 44
45 QString find(FileType type, QString location, QString lastKnownLocation = ""); 45 QString find(FileType type, QString location, QString lastKnownLocation = "") override;
46 46
47 static void setParentWidget(QWidget *); 47 static void setParentWidget(QWidget *);
48 48
49 static InteractiveFileFinder *getInstance() { return &m_instance; } 49 static InteractiveFileFinder *getInstance() { return &m_instance; }
50 50