The class which keeps track of the emote shortcuts.
More...
#include <emoteshortcut.h>
|
void | save () |
| Save the configuration information.
|
|
The class which keeps track of the emote shortcuts.
Definition at line 29 of file emoteshortcut.h.
◆ EmoteShortcut()
EmoteShortcut::EmoteShortcut |
( |
| ) |
|
◆ ~EmoteShortcut()
EmoteShortcut::~EmoteShortcut |
( |
| ) |
|
◆ getEmote()
int EmoteShortcut::getEmote |
( |
int |
index | ) |
const |
|
inline |
Returns the shortcut Emote ID specified by the index.
- Parameters
-
index | Index of the shortcut Emote. |
Definition at line 46 of file emoteshortcut.h.
◆ getEmoteCount()
int EmoteShortcut::getEmoteCount |
( |
| ) |
const |
|
inline |
Returns the amount of shortcut Emotes.
Definition at line 52 of file emoteshortcut.h.
◆ getEmoteSelected()
int EmoteShortcut::getEmoteSelected |
( |
| ) |
const |
|
inline |
Returns the emote ID that is currently selected.
Definition at line 58 of file emoteshortcut.h.
◆ isEmoteSelected()
bool EmoteShortcut::isEmoteSelected |
( |
| ) |
const |
|
inline |
◆ load()
void EmoteShortcut::load |
( |
| ) |
|
◆ removeEmote()
void EmoteShortcut::removeEmote |
( |
int |
index | ) |
|
|
inline |
◆ save()
void EmoteShortcut::save |
( |
| ) |
|
|
private |
◆ setEmote()
void EmoteShortcut::setEmote |
( |
int |
index | ) |
|
|
inline |
Adds the selected emote ID to the emotes specified by the index.
- Parameters
-
index | Index of the emotes. |
Definition at line 66 of file emoteshortcut.h.
◆ setEmotes()
void EmoteShortcut::setEmotes |
( |
int |
index, |
|
|
int |
emoteId |
|
) |
| |
|
inline |
Adds a emoticon to the emotes store specified by the index.
- Parameters
-
index | Index of the emote. |
emoteId | ID of the emote. |
Definition at line 75 of file emoteshortcut.h.
◆ setEmoteSelected()
void EmoteShortcut::setEmoteSelected |
( |
int |
emoteId | ) |
|
|
inline |
Set the Emote that is selected.
- Parameters
-
emoteId | The ID of the emote that is to be assigned. |
Definition at line 83 of file emoteshortcut.h.
◆ useEmote()
void EmoteShortcut::useEmote |
( |
int |
index | ) |
|
Try to use the Emote specified by the index.
- Parameters
-
index | Index of the emote shortcut. |
Definition at line 62 of file emoteshortcut.cpp.
◆ mEmotes
◆ mEmoteSelected
int EmoteShortcut::mEmoteSelected = -1 |
|
private |
The documentation for this class was generated from the following files: