renamed class SingalVector -> SimpleSignalVector

This commit is contained in:
fourtf 2018-06-28 20:27:24 +02:00
parent 6013591730
commit 712a292d7e
3 changed files with 6 additions and 6 deletions

View file

@ -8,10 +8,10 @@
namespace chatterino { namespace chatterino {
template <typename TValue> template <typename TValue>
class SignalVector class SimpleSignalVector
{ {
public: public:
SignalVector &operator=(std::vector<TValue> &other) SimpleSignalVector &operator=(std::vector<TValue> &other)
{ {
this->data = other; this->data = other;

View file

@ -12,10 +12,10 @@ class BTTVEmotes
{ {
public: public:
EmoteMap globalEmotes; EmoteMap globalEmotes;
SignalVector<QString> globalEmoteCodes; SimpleSignalVector<QString> globalEmoteCodes;
EmoteMap channelEmotes; EmoteMap channelEmotes;
std::map<QString, SignalVector<QString>> channelEmoteCodes; std::map<QString, SimpleSignalVector<QString>> channelEmoteCodes;
void loadGlobalEmotes(); void loadGlobalEmotes();
void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap); void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap);

View file

@ -12,10 +12,10 @@ class FFZEmotes
{ {
public: public:
EmoteMap globalEmotes; EmoteMap globalEmotes;
SignalVector<QString> globalEmoteCodes; SimpleSignalVector<QString> globalEmoteCodes;
EmoteMap channelEmotes; EmoteMap channelEmotes;
std::map<QString, SignalVector<QString>> channelEmoteCodes; std::map<QString, SimpleSignalVector<QString>> channelEmoteCodes;
void loadGlobalEmotes(); void loadGlobalEmotes();
void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap); void loadChannelEmotes(const QString &channelName, std::weak_ptr<EmoteMap> channelEmoteMap);