git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@607
56b19765-1e22-0410-a548-
a0f45d66c51a
int ThreadAccess::serverTime()
{
// parse HTTP headers
- QStringList headerList = QStringList::split( "\n", getHeader() );
+ QStringList headerList = QStringList::split( "\n", m_header );
QRegExp regexp( "Date: (...), (..) (...) (....) (..:..:..) .*" );
QString dateStr = headerList.grep(regexp)[0];
if( regexp.search(dateStr) == -1 ) {
ThreadAccess( const Thread& thread ) : m_thread(thread) {};
~ThreadAccess() {};
QString get();
- QString getHeader() const { return m_header; }
void killJob();
int serverTime();
private: