From f459b30a4ab8ac4bc5d6646795d2e391f70851d3 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 4 Jan 2018 09:04:48 +0100 Subject: Rename dirselectionwidget > itemselectionwidget It's much more general purpose than I thought. I'm gonna reuse the code for MIME-type filters later on. --- dirselectionwidget.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 dirselectionwidget.h (limited to 'dirselectionwidget.h') 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 - -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 -- cgit v1.2.3-70-g09d2