summaryrefslogtreecommitdiffstats
path: root/src/core/file_picker_controller.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2016-06-21 15:52:33 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-07-14 21:51:37 +0000
commitf0a77c0f2a82147ba28eed35fcf4d1186d0aaa92 (patch)
tree5c0a1ea102c47d6058f46013cb6f31227535d97d /src/core/file_picker_controller.h
parentfbe3acc7b2823f64c8f4e74233bb9fa8028f52bf (diff)
Add missing consts in file picker controller
Change-Id: I13a7e2d5b676e9c80561021610f4d647d75c63dd Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/file_picker_controller.h')
-rw-r--r--src/core/file_picker_controller.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_picker_controller.h b/src/core/file_picker_controller.h
index 6edee7713..14e8de42d 100644
--- a/src/core/file_picker_controller.h
+++ b/src/core/file_picker_controller.h
@@ -61,10 +61,9 @@ public:
};
FilePickerController(FileChooserMode mode, content::WebContents *contents, const QString &defaultFileName, const QStringList &acceptedMimeTypes, QObject * = 0);
- QStringList acceptedMimeTypes();
- QString defaultFileName();
- FileChooserMode mode();
- void filesSelectedInChooser(const QStringList &filesList, content::WebContents *contents);
+ QStringList acceptedMimeTypes() const;
+ QString defaultFileName() const;
+ FileChooserMode mode() const;
public Q_SLOTS:
void accepted(const QStringList &files);
@@ -72,6 +71,7 @@ public Q_SLOTS:
void rejected();
private:
+ void filesSelectedInChooser(const QStringList &filesList, content::WebContents *contents);
QString m_defaultFileName;
QStringList m_acceptedMimeTypes;
content::WebContents *m_contents;