summaryrefslogtreecommitdiff
path: root/src/eventfilter.h
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2020-02-01 23:33:52 +0100
committerGitHub <noreply@github.com>2020-02-01 23:33:52 +0100
commitc058721056c9f8af5157e26db585d86b288316a7 (patch)
treef8731b0d3418d87afa368be24f1044d532d47b08 /src/eventfilter.h
parent9c8412a051013f0ba8b70d4cb56d3d0428d827f0 (diff)
parent17cfba60a7e2d2cc8b9d5afc5b6769fa61d7273d (diff)
Merge pull request #988 from Al12rs/move_filter_widget
Moved filterWidget and eventFilter to ui base
Diffstat (limited to 'src/eventfilter.h')
-rw-r--r--src/eventfilter.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/eventfilter.h b/src/eventfilter.h
deleted file mode 100644
index 2400a853..00000000
--- a/src/eventfilter.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
-Copyright (C) 2016 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-
-#include <QObject>
-#include <functional>
-
-
-class EventFilter : public QObject {
-
- Q_OBJECT
-
- typedef std::function<bool (QObject*, QEvent*)> HandlerFunc;
-
-public:
-
- EventFilter(QObject *parent, const HandlerFunc &handler);
-
- virtual bool eventFilter(QObject *obj , QEvent *event) override;
-
-private:
-
- HandlerFunc m_Handler;
-
-};
-