summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/simplewidgets.h')
-rw-r--r--desktop-widgets/simplewidgets.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h
index 040754a98..a814519c4 100644
--- a/desktop-widgets/simplewidgets.h
+++ b/desktop-widgets/simplewidgets.h
@@ -20,7 +20,6 @@ class FilterModelBase;
#include "ui_urldialog.h"
#include "ui_divecomponentselection.h"
#include "ui_listfilter.h"
-#include "ui_filterwidget.h"
#include "core/exif.h"
#include "core/dive.h"
@@ -150,59 +149,6 @@ private:
struct dive_components *what;
};
-namespace Ui{
- class FilterWidget;
-};
-
-class MultiFilter : public QWidget {
- Q_OBJECT
-public
-slots:
- void closeFilter();
- void adjustHeight();
- void filterFinished();
-
-public:
- MultiFilter(QWidget *parent);
- Ui::FilterWidget ui;
-};
-
-class FilterBase : public QWidget {
- Q_OBJECT
- void addContextMenuEntry(const QString &s, void (FilterModelBase::*)());
-protected:
- FilterBase(FilterModelBase *model, QWidget *parent = 0);
- FilterModelBase *model;
- Ui::ListFilter ui;
- void showEvent(QShowEvent *) override;
- void hideEvent(QHideEvent *) override;
- friend class MultiFilter;
-};
-
-class TagFilter : public FilterBase {
- Q_OBJECT
-public:
- TagFilter(QWidget *parent = 0);
-};
-
-class BuddyFilter : public FilterBase {
- Q_OBJECT
-public:
- BuddyFilter(QWidget *parent = 0);
-};
-
-class SuitFilter : public FilterBase {
- Q_OBJECT
-public:
- SuitFilter(QWidget *parent = 0);
-};
-
-class LocationFilter : public FilterBase {
- Q_OBJECT
-public:
- LocationFilter(QWidget *parent = 0);
-};
-
class TextHyperlinkEventFilter : public QObject {
Q_OBJECT
public: