Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (35 sloc) 0.762 kb
///////////////////////////////////////////////////////////
// ChatData.cpp
// Implementation of the Class ChatData
// Created on: 06-一月-2012 23:13:45
// Original author: GA
///////////////////////////////////////////////////////////
#include "ChatData.h"
ChatData::ChatData(IPInfomation *goal,QString time)
{
goalIPInfomation = goal;
Time+=time;
}
ChatData::~ChatData()
{
}
QString ChatData::OutPutBuff()
{
return Buff;
}
QString ChatData::GetIP()
{
return goalIPInfomation->GetIP();
}
qint16 ChatData::GetPort()
{
return goalIPInfomation->GetPort();
}
void ChatData::AddInfomationFromBuff(QString str)
{
Buff=str;
size=(qint64)(sizeof(Buff));
}
qint64 ChatData::GetSize(){
return size;
}
Jump to Line
Something went wrong with that request. Please try again.