1 /***************************************************************************
2 * Copyright (C) 2006 by Kita Developers *
3 * ikemo@users.sourceforge.jp *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
12 #include <QtCore/QTextCodec>
14 #include "kita_misc.h"
19 QString FlashCGI::buildPostStr(const PostData& data)
22 int mib = m_writeCodec->mibEnum();
24 (ret += "submit=") += "%8f%91%82%ab%8d%9e%82%de"; /* kakikomu */
25 (ret += "&FROM=") += encodeString(data.name(), mib);
26 (ret += "&mail=") += encodeString(data.mail(), mib);
27 (ret += "&MESSAGE=") += encodeString(data.body(), mib);
28 (ret += "&bbs=") += data.boardId();
29 (ret += "&key=") += data.threadId();