6 #ifndef SWIFT_GUI_GUIACTIONBIND_H
7 #define SWIFT_GUI_GUIACTIONBIND_H
11 #include <QPushButton>
12 #include <QToolButton>
29 void boundFunction(
bool enabled);
43 static const QString &pathSwiftPilotClient();
46 static const QString &pathSwiftCore();
59 void connectDestroy(QObject *action);
68 bool hasTarget()
const;
71 static QString appendPath(
const QString &path,
const QString &name);
74 QAction *m_action =
nullptr;
75 QAbstractButton *m_button =
nullptr;
QObject derived handler to be registered with swift::core::CActionBind.
QSharedPointer< CActionBind > CActionBinding
Single binding.
QList< CActionBinding > CActionBindings
List of bindings.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.