Commit graph

16 commits

Author SHA1 Message Date
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
Cranken cb75c2a725 Fixed messages getting loaded multiple times. (#170)
* Implemented loading recent messages.

* Fixed messages getting loaded multiple times.
2017-12-28 00:03:52 +01:00
Rasmus Karlsson 03958420be We now also add localized names to the autocompletion
Changed the login name in autocompletion to the display name
Autocompletion model is now only updated on the "first completion"
2017-12-17 21:05:48 +01:00
Rasmus Karlsson e41c855545 add simple username tabbing for recent chatters 2017-12-17 17:49:32 +01:00
Rasmus Karlsson 7b2e3a94a6 Moved online status checking logic from ChatWidgetHeader to TwitchChannel
- Channel now needs to be initialized with a name. Special cases like the emote window just sends an empty string.
 - ChatWidget now has a signal which is called whenever the widgets channel is changed
 - Changed roomID from an std::string to a QString
2017-11-04 14:57:29 +01:00
fourtf 3e24752477 fixed project code style in some files 2017-09-21 12:15:01 +02:00
fourtf c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
Cranken 7db45aa7f2 Adds viewer list + livechecks (#105)
* Added check for livestatus + tooltip.

* Also added live check on startup.

* Added viewerlist + livesearch.

* Refactored code to make it compacter.
2017-09-11 22:37:39 +02:00
Rasmus Karlsson b5407c94aa Implement emoji sending using shortcodes 😎 🅱️ 2017-07-31 22:15:12 +02:00
Rasmus Karlsson ab814d1e63 refactor stuff 2017-07-23 09:56:06 +02:00
Rasmus Karlsson 5aa892e834 Refactor ConcurrentMap
* Add operator[] to ConcurrentMap which returns a TValue reference
* BTTV/FFZ channel emotes are now stored in the Emote Manager, and each Channel object has a reference to their own BTTV/FFZ channel emote map.
* Restructure EmoteManager a bit (simplify the ConcurrentMap havoc).
* Add EmoteData struct which can store emote data (for now only messages::LazyLoadedImage*)
* Add CompletionManager that does nothing
2017-07-09 17:58:59 +02:00
Rasmus Karlsson 1f1b0d7f03 Remove current preset completion strings
These will be filled in using our CompletionManager soon™️

Refactor Channel class a bit
2017-07-09 17:51:21 +02:00
Rasmus Karlsson 5245cfacd1 Store channel room ID as a string instead of an int 2017-07-02 15:12:00 +02:00
Rasmus Karlsson 59d383c161 Huge refactor
- Remove some underscore-prefixes
 - Start using this-> more
 - Remove a few of the singletons (We pass references to managers to
         things that need it now. Might not be much better, but for now
         it works. It also shows what places might be slightly wrong
         designed)
2017-06-13 21:27:26 +02:00
Rasmus Karlsson 1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Rasmus Karlsson ccf8e3bd83 move around files 2017-06-06 14:48:14 +02:00
Renamed from channel.cpp (Browse further)