diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-21 18:06:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-21 18:06:43 +0300 |
commit | 20727e946194e9bf984fc9b4dd7687a59fc82fc1 (patch) | |
tree | 41ab0b6e2cc11be61c7306966815f6a821d905c3 /src/gui/widgets/tabs/chat/chattab.h | |
parent | e787d4c803476b5d5969dd8578cb8a645a7443cb (diff) | |
download | manaplus-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.gz manaplus-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.bz2 manaplus-20727e946194e9bf984fc9b4dd7687a59fc82fc1.tar.xz manaplus-20727e946194e9bf984fc9b4dd7687a59fc82fc1.zip |
Convert chattabtype into strong typed enum.
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.h')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h index 2d40e5769..b1a988a8e 100644 --- a/src/gui/widgets/tabs/chat/chattab.h +++ b/src/gui/widgets/tabs/chat/chattab.h @@ -63,7 +63,7 @@ class ChatTab notfinal : public Tab const std::string &name, const std::string &channel, const std::string &logName, - const ChatTabType::Type &type); + const ChatTabTypeT &type); A_DELETE_COPY(ChatTab) @@ -138,7 +138,7 @@ class ChatTab notfinal : public Tab /** * Returns type of the being. */ - ChatTabType::Type getType() const A_WARN_UNUSED + ChatTabTypeT getType() const A_WARN_UNUSED { return mType; } void saveToLogFile(const std::string &msg) const; @@ -204,7 +204,7 @@ class ChatTab notfinal : public Tab ScrollArea *mScrollArea; std::string mChannelName; std::string mLogName; - ChatTabType::Type mType; + ChatTabTypeT mType; bool mAllowHightlight; bool mRemoveNames; bool mNoAway; |