diff options
author | Arno <arno@disconnect.de> | 2018-01-04 09:04:48 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-01-04 09:04:48 +0100 |
commit | f459b30a4ab8ac4bc5d6646795d2e391f70851d3 (patch) | |
tree | 31db881ac08a9a54f2af4c72541ecc3486ddcd57 /dirselectionwidget.h | |
parent | 1c6d0cbc4e561275197fc78b3fa9f29406f4ced8 (diff) | |
download | ShemovCleaner-f459b30a4ab8ac4bc5d6646795d2e391f70851d3.tar.gz ShemovCleaner-f459b30a4ab8ac4bc5d6646795d2e391f70851d3.tar.bz2 ShemovCleaner-f459b30a4ab8ac4bc5d6646795d2e391f70851d3.zip |
Rename dirselectionwidget > itemselectionwidget
It's much more general purpose than I thought. I'm gonna reuse the code
for MIME-type filters later on.
Diffstat (limited to 'dirselectionwidget.h')
-rw-r--r-- | dirselectionwidget.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dirselectionwidget.h b/dirselectionwidget.h deleted file mode 100644 index 7d43326..0000000 --- a/dirselectionwidget.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef DIRSELECTIONWIDGET_H -#define DIRSELECTIONWIDGET_H - -#include <QWidget> - -class QStandardItemModel; -class QListView; -class QLineEdit; - -class DirSelectionWidget : public QWidget -{ - Q_OBJECT - public: - explicit DirSelectionWidget(QWidget *parent = nullptr); - const QStringList directories() const; - void setDirectories(const QStringList &dirs); - - public slots: - void browseDir(); - void addDir(); - void removeDir(); - - private: - QStandardItemModel *mModel; - QListView *mView; - QLineEdit *mDir; -}; - -#endif // DIRSELECTIONWIDGET_H |