aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/http/httpfiletransfer.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
commitf2f47c5eaa7d284abad1f693d7c75c85c42565df (patch)
tree2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/http/httpfiletransfer.cpp
parentMore work on the window popup (diff)
downloadKVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip
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
Diffstat (limited to 'src/modules/http/httpfiletransfer.cpp')
-rw-r--r--src/modules/http/httpfiletransfer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp
index adfcd1c06..7c53191b8 100644
--- a/src/modules/http/httpfiletransfer.cpp
+++ b/src/modules/http/httpfiletransfer.cpp
@@ -4,7 +4,7 @@
// Creation date : Tue Apr 22 2003 02:00:12 GMT by Szymon Stefanek
//
// This config is part of the KVirc irc client distribution
-// Copyright (C) 2003-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2003-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
@@ -26,7 +26,7 @@
#include "kvi_app.h"
#include "kvi_out.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_window.h"
#include "kvi_iconmanager.h"
#include "kvi_netutils.h"
@@ -60,7 +60,7 @@ KviHttpFileTransfer::KviHttpFileTransfer()
connect(m_pHttpRequest,SIGNAL(status(const QString &)),this,SLOT(statusMessage(const QString &)));
connect(m_pHttpRequest,SIGNAL(terminated(bool)),this,SLOT(transferTerminated(bool)));
- connect(m_pHttpRequest,SIGNAL(header(KviPointerHashTable<const char *,KviStr> *)),this,SLOT(headersReceived(KviPointerHashTable<const char *,KviStr> *)));
+ connect(m_pHttpRequest,SIGNAL(header(KviPointerHashTable<const char *,KviCString> *)),this,SLOT(headersReceived(KviPointerHashTable<const char *,KviCString> *)));
connect(m_pHttpRequest,SIGNAL(resolvingHost(const QString &)),this,SLOT(resolvingHost(const QString &)));
connect(m_pHttpRequest,SIGNAL(requestSent(const QStringList &)),this,SLOT(requestSent(const QStringList &)));
connect(m_pHttpRequest,SIGNAL(contactingHost(const QString &)),this,SLOT(contactingHost(const QString &)));
@@ -458,14 +458,14 @@ void KviHttpFileTransfer::transferTerminated(bool bSuccess)
}
}
-void KviHttpFileTransfer::headersReceived(KviPointerHashTable<const char *,KviStr> *h)
+void KviHttpFileTransfer::headersReceived(KviPointerHashTable<const char *,KviCString> *h)
{
if(!h)return;
KviWindow * out = transferWindow();
if(out && (!m_bNoOutput))out->output(KVI_OUT_GENERICSTATUS,__tr2qs_ctx("[HTTP %d]: Response headers:","http"),id());
- KviPointerHashTableIterator<const char *,KviStr> it(*h);
- while(KviStr * s = it.current())
+ KviPointerHashTableIterator<const char *,KviCString> it(*h);
+ while(KviCString * s = it.current())
{
QString szHeader = it.currentKey();
szHeader += ": ";