fix compilation issues

parent 68798f4f
......@@ -11,7 +11,7 @@
overflow:hidden;
}
#top {
height:50px;
height:40px;
border: 1px solid #000000;
width:auto;
position: absolute;
......@@ -23,7 +23,7 @@
#left {
width: 330px;
position: absolute;
top:58px;
top:48px;
left: 8px;
right: 8px;
bottom: 8px;
......@@ -44,7 +44,7 @@
}
#right {
position: absolute;
top: 58px;
top: 48px;
left: 338px;
right: 8px;
bottom: 8px;
......@@ -56,9 +56,18 @@
position: absolute;
bottom: 70px;
top: 0px;
right: 0px;
right: 130px;
left: 0px;
}
#chatlist {
overflow-y: auto;
width: 130px;
position: absolute;
border: 1px solid #00FF00;
bottom: 70px;
top: 0px;
right: 0px;
}
#chatinput {
position: absolute;
height: 70px;
......@@ -83,36 +92,38 @@
</div>
</div>
<div id="right">
<div id="chatwrapperarea">
<div id="chatarea">
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>PIPPO</p>
</div>
<div id="chatarea">
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>CHAT</p>
<p>PIPPO</p>
</div>
<div id="chatlist">
<p>user1</p>
<p>user2</p>
</div>
<div id="chatinput">
<p>INPUT</p>
......
......@@ -51,7 +51,7 @@ void SkyliveProtocol::startPlugin()
pktTimer = new QTimer();
QObject::connect(pktTimer, SIGNAL(timeout()), this, SLOT(processPackets()));
pktTimer->start();
//pktTimer->start();
}
......@@ -306,6 +306,8 @@ void SkyliveProtocol::handle_connect(SKMessage msg)
connect(tcpSocket, SIGNAL(error(QAbstractSocket::SocketError)),this, SLOT(displayError(QAbstractSocket::SocketError)));
tcpSocket->abort();
tcpSocket->connectToHost(SERVERHOST, SERVERPORT);
}
void SkyliveProtocol::handle_putlogin(SKMessage msg)
......
......@@ -114,7 +114,7 @@ class SkyliveProtocol : public QObject, SkylivexPluginInterface
void sendPacket(QString &cmd, QList<QString> &paramlist);
private slots:
void sessionOpened();
//void sessionOpened();
void readFromNetwork();
void clientConnected();
void displayError(QAbstractSocket::SocketError);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment