From f2f47c5eaa7d284abad1f693d7c75c85c42565df Mon Sep 17 00:00:00 2001 From: Szymon Tomasz Stefanek Date: Sat, 25 Dec 2010 05:28:46 +0000 Subject: Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations... git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/thread.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/dcc/thread.cpp') diff --git a/src/modules/dcc/thread.cpp b/src/modules/dcc/thread.cpp index 3b78c11e8..dc712791d 100644 --- a/src/modules/dcc/thread.cpp +++ b/src/modules/dcc/thread.cpp @@ -4,7 +4,7 @@ // Creation date : Tue Sep 20 09 2000 18:29:51 CEST Szymon Stefanek // // This file is part of the KVirc irc client distribution -// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net) +// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net) // // This program is FREE software. You can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -28,7 +28,7 @@ #include "kvi_window.h" #include "kvi_error.h" #include "kvi_memmove.h" -#include "kvi_malloc.h" +#include "KviMemory.h" #include "kvi_netutils.h" #include "kvi_socket.h" @@ -90,10 +90,10 @@ bool KviDccThread::handleInvalidSocketRead(int readLen) #ifdef COMPILE_SSL_SUPPORT void KviDccThread::raiseSSLError() { - KviStr buffer; + KviCString buffer; while(m_pSSL->getLastErrorString(buffer)) { - KviStr msg(KviStr::Format,"[SSL ERROR]: %s",buffer.ptr()); + KviCString msg(KviCString::Format,"[SSL ERROR]: %s",buffer.ptr()); postMessageEvent(msg.ptr()); } } @@ -108,7 +108,7 @@ void KviDccThread::postErrorEvent(int err) void KviDccThread::postMessageEvent(const char * message) { - KviThreadDataEvent * e = new KviThreadDataEvent(KVI_DCC_THREAD_EVENT_MESSAGE); - e->setData(new KviStr(message)); + KviThreadDataEvent * e = new KviThreadDataEvent(KVI_DCC_THREAD_EVENT_MESSAGE); + e->setData(new KviCString(message)); postEvent(m_pParent,e); } -- cgit v1.3.1-10-gc9f91