aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/chat.cpp
diff options
context:
space:
mode:
authorGravatar Elvio Basello2010-08-14 02:46:11 +0000
committerGravatar Elvio Basello2010-08-14 02:46:11 +0000
commit6c5cef203bfeef3c26043e13ddd23c01da589fe1 (patch)
treeab80fc8e47e86d2957cc30ade3742953ed4f26b8 /src/modules/dcc/chat.cpp
parentfinally fixed translation extraction (diff)
downloadKVIrc-6c5cef203bfeef3c26043e13ddd23c01da589fe1.tar.gz
KVIrc-6c5cef203bfeef3c26043e13ddd23c01da589fe1.tar.bz2
KVIrc-6c5cef203bfeef3c26043e13ddd23c01da589fe1.zip
improved hungarian notation;
cleaned code; git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4869 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/chat.cpp')
-rw-r--r--src/modules/dcc/chat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp
index e08f6bfa4..c1fdc03de 100644
--- a/src/modules/dcc/chat.cpp
+++ b/src/modules/dcc/chat.cpp
@@ -305,13 +305,13 @@ void KviDccChat::ownMessage(const QString &text, bool bUserFeedback)
#ifdef COMPILE_CRYPT_SUPPORT
if(cryptSessionInfo())
{
- if(cryptSessionInfo()->bDoEncrypt)
+ if(cryptSessionInfo()->m_bDoEncrypt)
{
if(*d != KVI_TEXT_CRYPTESCAPE)
{
KviStr encrypted;
- cryptSessionInfo()->pEngine->setMaxEncryptLen(-1);
- switch(cryptSessionInfo()->pEngine->encrypt(d,encrypted))
+ cryptSessionInfo()->m_pEngine->setMaxEncryptLen(-1);
+ switch(cryptSessionInfo()->m_pEngine->encrypt(d,encrypted))
{
case KviCryptEngine::Encrypted:
{
@@ -338,7 +338,7 @@ void KviDccChat::ownMessage(const QString &text, bool bUserFeedback)
break;
default: // also case KviCryptEngine::EncryptError
{
- QString szErr = cryptSessionInfo()->pEngine->lastError();
+ QString szErr = cryptSessionInfo()->m_pEngine->lastError();
output(KVI_OUT_SYSTEMERROR,
__tr2qs_ctx("The crypto engine was not able to encrypt the current message (%Q): %Q, no data was sent to the remote end","dcc"),
&text,&szErr);
@@ -450,10 +450,10 @@ bool KviDccChat::event(QEvent *e)
#ifdef COMPILE_CRYPT_SUPPORT
if(KviCryptSessionInfo * cinf = cryptSessionInfo())
{
- if(cinf->bDoDecrypt)
+ if(cinf->m_bDoDecrypt)
{
KviStr decryptedStuff;
- switch(cinf->pEngine->decrypt(d.ptr(),decryptedStuff))
+ switch(cinf->m_pEngine->decrypt(d.ptr(),decryptedStuff))
{
case KviCryptEngine::DecryptOkWasEncrypted:
case KviCryptEngine::DecryptOkWasEncoded:
@@ -470,7 +470,7 @@ bool KviDccChat::event(QEvent *e)
default: // also case KviCryptEngine::DecryptError
{
- QString szErr = cinf->pEngine->lastError();
+ QString szErr = cinf->m_pEngine->lastError();
output(KVI_OUT_SYSTEMERROR,
__tr2qs_ctx("The following message appears to be encrypted, but the crypto engine failed to decode it: %Q","dcc"),
&szErr);