summaryrefslogtreecommitdiff
path: root/src/copyeventfilter.h
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2023-07-09 17:36:03 +0200
committerGitHub <noreply@github.com>2023-07-09 17:36:03 +0200
commitef94aee28464039672b277243a0181ae93550d6c (patch)
tree0575a68af5f154e9d6d0738edbaefb16a11d6f5c /src/copyeventfilter.h
parent7d6cb8528d20e36a4cee822263865ee2f7f32481 (diff)
parent3de050e9c03e553f7ae3f780f6bd080a30ae123e (diff)
Merge pull request #1839 from Holt59/ci/initial-gh-action-for-build
Clang-Format + Github Workflow
Diffstat (limited to 'src/copyeventfilter.h')
-rw-r--r--src/copyeventfilter.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/copyeventfilter.h b/src/copyeventfilter.h
index 141ddae1..0ad51584 100644
--- a/src/copyeventfilter.h
+++ b/src/copyeventfilter.h
@@ -22,9 +22,9 @@ class CopyEventFilter : public QObject
Q_OBJECT
public:
-
CopyEventFilter(QAbstractItemView* view, int column = 0, int role = Qt::DisplayRole);
- CopyEventFilter(QAbstractItemView* view, std::function<QString(const QModelIndex&)> format);
+ CopyEventFilter(QAbstractItemView* view,
+ std::function<QString(const QModelIndex&)> format);
// copy the selection of the view associated with this
// event filter into the clipboard
@@ -34,10 +34,8 @@ public:
bool eventFilter(QObject* sender, QEvent* event) override;
private:
-
QAbstractItemView* m_view;
std::function<QString(const QModelIndex&)> m_format;
-
};
#endif