diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-06-27 09:24:00 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-07-03 08:10:29 -0400 |
| commit | 1c436100642605add5f746ee1c31590f8328b270 (patch) | |
| tree | 96f8d8a54f72c877d2d75129d26e1ed5aaa47b29 | |
| parent | ce335c283f87297855bd9360e7063f3b8ef34afc (diff) | |
Add action aliases
| -rw-r--r-- | ui/action.h | 4 | ||||
| -rw-r--r-- | ui/typeview.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ui/action.h b/ui/action.h index ef43c779..51d2feff 100644 --- a/ui/action.h +++ b/ui/action.h @@ -82,8 +82,8 @@ struct BINARYNINJAUIAPI UIAction UIAction(const UIAction& other); UIAction& operator=(const UIAction& other); - static void registerAction(const QString& name, const QKeySequence& defaultKeyBinding = QKeySequence()); - static void registerAction(const QString& name, const QList<QKeySequence>& defaultKeyBinding); + static void registerAction(const QString& name, const QKeySequence& defaultKeyBinding = QKeySequence(), const QList<QString>& alias = QList<QString>()); + static void registerAction(const QString& name, const QList<QKeySequence>& defaultKeyBinding, const QList<QString>& alias = QList<QString>()); static void unregisterAction(const QString& name); static void registerTransformActions(); diff --git a/ui/typeview.h b/ui/typeview.h index 082da83f..ebf01533 100644 --- a/ui/typeview.h +++ b/ui/typeview.h @@ -271,11 +271,14 @@ class BINARYNINJAUIAPI TypeView : public QAbstractScrollArea, public View, publi void undefine(); void changeType(); void toggleIntSize(); + void toggleFloatSize(); void toggleIntSign(); void makeInt8(); void makeInt16(); void makeInt32(); void makeInt64(); + void makeFloat32(); + void makeFloat64(); void makePtr(); void makeString(size_t charSize = 1); void makeArray(); |
