aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/qsui/filesystembrowser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Ui/qsui/filesystembrowser.h')
-rw-r--r--src/plugins/Ui/qsui/filesystembrowser.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/plugins/Ui/qsui/filesystembrowser.h b/src/plugins/Ui/qsui/filesystembrowser.h
index debc02566..f64606bba 100644
--- a/src/plugins/Ui/qsui/filesystembrowser.h
+++ b/src/plugins/Ui/qsui/filesystembrowser.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2013 by Ilya Kotov *
+ * Copyright (C) 2013-2017 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -26,6 +26,9 @@
class QFileSystemModel;
class QModelIndex;
class QListView;
+class QAction;
+class QLineEdit;
+class FileSystemFilterProxyModel;
namespace Utils {
class ElidingLabel;
@@ -48,13 +51,17 @@ private slots:
void onListViewActivated(const QModelIndex &index);
void addToPlayList();
void selectDirectory();
+ void onFilterLineEditTextChanged(const QString &str);
private:
void setCurrentDirectory(const QString &path);
bool m_update;
Utils::ElidingLabel *m_label;
- QFileSystemModel *m_model;
+ QFileSystemModel *m_fileSystemModel;
QListView *m_listView;
+ FileSystemFilterProxyModel *m_proxyModel;
+ QLineEdit *m_filterLineEdit;
+ QAction *m_showFilterAction;
};