aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc
diff options
context:
space:
mode:
authorGravatar Elvio Basello2010-08-14 13:52:42 +0000
committerGravatar Elvio Basello2010-08-14 13:52:42 +0000
commit8827ec6c9ccec90a7f0d3a75875669b358d2dfaf (patch)
treec02ada59a3a634446edf5032ad47cf2331600fcb /src/modules/dcc
parentimproved hungarian notation; (diff)
downloadKVIrc-8827ec6c9ccec90a7f0d3a75875669b358d2dfaf.tar.gz
KVIrc-8827ec6c9ccec90a7f0d3a75875669b358d2dfaf.tar.bz2
KVIrc-8827ec6c9ccec90a7f0d3a75875669b358d2dfaf.zip
compilation fixes for r4869
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4872 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc')
-rw-r--r--src/modules/dcc/video.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/dcc/video.cpp b/src/modules/dcc/video.cpp
index 39e28a690..34e01caca 100644
--- a/src/modules/dcc/video.cpp
+++ b/src/modules/dcc/video.cpp
@@ -651,13 +651,13 @@ void KviDccVideo::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:
{
@@ -684,7 +684,7 @@ void KviDccVideo::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);
@@ -794,10 +794,10 @@ bool KviDccVideo::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:
@@ -814,7 +814,7 @@ bool KviDccVideo::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);