summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/gui/chatwindow.h
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadplus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/gui/chatwindow.h')
-rw-r--r--src/gui/chatwindow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h
index df452f9a7..05882aa69 100644
--- a/src/gui/chatwindow.h
+++ b/src/gui/chatwindow.h
@@ -29,15 +29,15 @@
#include "gui/widgets/window.h"
+#include "utils/stringvector.h"
+
#include <guichan/actionlistener.hpp>
#include <guichan/keylistener.hpp>
#include <guichan/widget.hpp>
#include <guichan/widgetlistener.hpp>
#include <list>
-#include <string>
#include <map>
-#include <vector>
#include <set>
class BrowserBox;
@@ -302,7 +302,7 @@ class ChatWindow : public Window,
std::string autoComplete(std::string partName, History *words);
- std::string autoComplete(std::vector<std::string> &names,
+ std::string autoComplete(StringVect &names,
std::string partName) const;
/** Used for showing item popup on clicking links **/
@@ -341,14 +341,14 @@ class ChatWindow : public Window,
bool mReturnToggles; /**< Marks whether <Return> toggles the chat log
or not */
- std::vector<std::string> mTradeFilter;
+ StringVect mTradeFilter;
gcn::DropDown *mColorPicker;
ColorListModel *mColorListModel;
int mChatColor;
unsigned int mChatHistoryIndex;
std::list<std::string> mAwayLog;
- std::vector<std::string> mHighlights;
+ StringVect mHighlights;
bool mGMLoaded;
bool mHaveMouse;
bool mAutoHide;