summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/chattab.cpp3
-rw-r--r--src/gui/widgets/chattab.h7
2 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index 9675eb621..40bde104e 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -50,7 +50,8 @@
ChatTab::ChatTab(const std::string &name) :
Tab(),
- mAllowHightlight(true)
+ mAllowHightlight(true),
+ mRemoveNames(false)
{
setCaption(name);
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index 52c122e65..998ad2e3d 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -147,6 +147,12 @@ class ChatTab : public Tab
void setAllowHighlight(bool n)
{ mAllowHightlight = n; }
+ bool getRemoveNames()
+ { return mRemoveNames; }
+
+ void setRemoveNames(bool n)
+ { mRemoveNames = n; }
+
protected:
friend class ChatWindow;
friend class WhisperWindow;
@@ -166,6 +172,7 @@ class ChatTab : public Tab
ScrollArea *mScrollArea;
BrowserBox *mTextOutput;
bool mAllowHightlight;
+ bool mRemoveNames;
};
extern ChatTab *localChatTab;