aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc
diff options
context:
space:
mode:
authorGravatar wodim2017-08-29 15:30:36 +0200
committerGravatar wodim2017-08-29 15:30:36 +0200
commite4ef82fcf06a2e1e0ed2cbe4806f7f557fa2c97c (patch)
tree3c674477d93705f1d8fb00a525780f7b2bec0453 /src/modules/dcc
parentmisc doc fixes (diff)
downloadKVIrc-e4ef82fcf06a2e1e0ed2cbe4806f7f557fa2c97c.tar.gz
KVIrc-e4ef82fcf06a2e1e0ed2cbe4806f7f557fa2c97c.tar.bz2
KVIrc-e4ef82fcf06a2e1e0ed2cbe4806f7f557fa2c97c.zip
Add OwnAction, OwnActionCrypted and TopicCrypted message types.
For our existing themes, I have copied the action style over to the own action and own crypted action styles, and the topic style over to the topic crypted style. But the authors of those themes can change them if they want. I have also used the action icon for the own action and own action crypted icons.
Diffstat (limited to 'src/modules/dcc')
-rw-r--r--src/modules/dcc/DccCanvasWindow.cpp2
-rw-r--r--src/modules/dcc/DccChatWindow.cpp2
-rw-r--r--src/modules/dcc/DccVideoWindow.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/dcc/DccCanvasWindow.cpp b/src/modules/dcc/DccCanvasWindow.cpp
index 19389dab0..b89d04b09 100644
--- a/src/modules/dcc/DccCanvasWindow.cpp
+++ b/src/modules/dcc/DccCanvasWindow.cpp
@@ -177,7 +177,7 @@ void DccCanvasWindow::ownAction(const char * text)
{
KviCString buf(KviCString::Format, "%cACTION %s%c\r\n", text);
// m_pSlaveThread->sendRawData(buf.ptr(),buf.len());
- output(KVI_OUT_ACTION, "%Q %s", &(m_pDescriptor->szLocalNick), text);
+ output(KVI_OUT_OWNACTION, "%Q %s", &(m_pDescriptor->szLocalNick), text);
}
bool DccCanvasWindow::event(QEvent * e)
diff --git a/src/modules/dcc/DccChatWindow.cpp b/src/modules/dcc/DccChatWindow.cpp
index 1af5aa314..f3142d893 100644
--- a/src/modules/dcc/DccChatWindow.cpp
+++ b/src/modules/dcc/DccChatWindow.cpp
@@ -407,7 +407,7 @@ void DccChatWindow::ownAction(const QString & text)
return;
KviCString buf(KviCString::Format, "%cACTION %s%c\r\n", 0x01, d, 0x01);
m_pSlaveThread->sendRawData(buf.ptr(), buf.len());
- output(KVI_OUT_ACTION, "%Q %Q", &(m_pDescriptor->szLocalNick), &szTmpBuffer);
+ output(KVI_OUT_OWNACTION, "%Q %Q", &(m_pDescriptor->szLocalNick), &szTmpBuffer);
}
else
{
diff --git a/src/modules/dcc/DccVideoWindow.cpp b/src/modules/dcc/DccVideoWindow.cpp
index ea19273fb..0e9246146 100644
--- a/src/modules/dcc/DccVideoWindow.cpp
+++ b/src/modules/dcc/DccVideoWindow.cpp
@@ -792,7 +792,7 @@ void DccVideoWindow::ownAction(const QString & text)
return;
KviCString buf(KviCString::Format, "%cACTION %s%c\r\n", 0x01, d, 0x01);
m_tmpTextDataOut.append(buf.ptr(), buf.len());
- output(KVI_OUT_ACTION, "%Q %Q", &(m_pDescriptor->szLocalNick), &szTmpBuffer);
+ output(KVI_OUT_OWNACTION, "%Q %Q", &(m_pDescriptor->szLocalNick), &szTmpBuffer);
}
else
{