pqLineEditEventPlayer.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqLineEditEventPlayer_h
5 #define pqLineEditEventPlayer_h
6 
7 #include "pqAbstractStringEventPlayer.h"
8 #include "pqWidgetsModule.h"
9 
15 class PQWIDGETS_EXPORT pqLineEditEventPlayer : public pqAbstractStringEventPlayer
16 {
17  Q_OBJECT
18  typedef pqAbstractStringEventPlayer Superclass;
19 
20 public:
21  pqLineEditEventPlayer(QObject* parent = nullptr);
22  ~pqLineEditEventPlayer() override;
23 
24  using Superclass::playEvent;
25  bool playEvent(
26  QObject* Object, const QString& Command, const QString& Arguments, bool& Error) override;
27 
28 private:
29  Q_DISABLE_COPY(pqLineEditEventPlayer)
30 };
31 
32 #endif
pqLineEditEventPlayer extends pqAbstractStringEventPlayer to ensure that pqLineEdit fires textChanged...
#define PQWIDGETS_EXPORT