summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2018-10-21 18:00:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-14 01:05:18 +0800
commite0f473fcb49c8121a0a9c52bf0536049b0f342ed (patch)
treef95b2228ddfcb9926319fb236b896f24043e7846 /desktop-widgets/simplewidgets.h
parent43178be1f23dca936b177b79245818e971bedde3 (diff)
downloadsubsurface-e0f473fcb49c8121a0a9c52bf0536049b0f342ed.tar.gz
Drop old filter code
Drop tons of now-unused-code. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
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: