summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-01 23:18:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-02 23:50:33 +0300
commit1cafda1147c06a647e3d3f1e3f986d7296ccbd08 (patch)
tree920e60dbd1feb3657edc130aa6a4ba4af562454a /src/gui/widgets/spellshortcutcontainer.h
parentb210f1b896039b4909ca5fb7abea8b437896a77a (diff)
downloadplus-1cafda1147c06a647e3d3f1e3f986d7296ccbd08.tar.gz
plus-1cafda1147c06a647e3d3f1e3f986d7296ccbd08.tar.bz2
plus-1cafda1147c06a647e3d3f1e3f986d7296ccbd08.tar.xz
plus-1cafda1147c06a647e3d3f1e3f986d7296ccbd08.zip
add support for drag and drop in spells window.
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.h')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.h b/src/gui/widgets/spellshortcutcontainer.h
index c880a2d0c..509b96c61 100644
--- a/src/gui/widgets/spellshortcutcontainer.h
+++ b/src/gui/widgets/spellshortcutcontainer.h
@@ -79,6 +79,8 @@ class SpellShortcutContainer final : public ShortcutContainer
void setWidget2(const Widget2 *const widget) override;
+ int getItemByIndex(const int index);
+
private:
TextCommand *mSpellMoved;
SpellPopup *mSpellPopup;