Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
0172fe95
Commit
0172fe95
authored
Feb 21, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation issues
parent
68798f4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
36 deletions
+49
-36
maingui.html
gui/maingui.html
+45
-34
skproto.cpp
plugins/skproto.cpp
+3
-1
skproto.h
plugins/skproto.h
+1
-1
No files found.
gui/maingui.html
View file @
0172fe95
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
overflow
:
hidden
;
overflow
:
hidden
;
}
}
#top
{
#top
{
height
:
5
0px
;
height
:
4
0px
;
border
:
1px
solid
#000000
;
border
:
1px
solid
#000000
;
width
:
auto
;
width
:
auto
;
position
:
absolute
;
position
:
absolute
;
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#left
{
#left
{
width
:
330px
;
width
:
330px
;
position
:
absolute
;
position
:
absolute
;
top
:
5
8px
;
top
:
4
8px
;
left
:
8px
;
left
:
8px
;
right
:
8px
;
right
:
8px
;
bottom
:
8px
;
bottom
:
8px
;
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
}
}
#right
{
#right
{
position
:
absolute
;
position
:
absolute
;
top
:
5
8px
;
top
:
4
8px
;
left
:
338px
;
left
:
338px
;
right
:
8px
;
right
:
8px
;
bottom
:
8px
;
bottom
:
8px
;
...
@@ -56,9 +56,18 @@
...
@@ -56,9 +56,18 @@
position
:
absolute
;
position
:
absolute
;
bottom
:
70px
;
bottom
:
70px
;
top
:
0px
;
top
:
0px
;
right
:
0px
;
right
:
13
0px
;
left
:
0px
;
left
:
0px
;
}
}
#chatlist
{
overflow-y
:
auto
;
width
:
130px
;
position
:
absolute
;
border
:
1px
solid
#00FF00
;
bottom
:
70px
;
top
:
0px
;
right
:
0px
;
}
#chatinput
{
#chatinput
{
position
:
absolute
;
position
:
absolute
;
height
:
70px
;
height
:
70px
;
...
@@ -83,36 +92,38 @@
...
@@ -83,36 +92,38 @@
</div>
</div>
</div>
</div>
<div
id=
"right"
>
<div
id=
"right"
>
<div
id=
"chatwrapperarea"
>
<div
id=
"chatarea"
>
<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>
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>
<p>
PIPPO
</p>
</div>
</div>
<div
id=
"chatlist"
>
<p>
user1
</p>
<p>
user2
</p>
</div>
</div>
<div
id=
"chatinput"
>
<div
id=
"chatinput"
>
<p>
INPUT
</p>
<p>
INPUT
</p>
...
...
plugins/skproto.cpp
View file @
0172fe95
...
@@ -51,7 +51,7 @@ void SkyliveProtocol::startPlugin()
...
@@ -51,7 +51,7 @@ void SkyliveProtocol::startPlugin()
pktTimer
=
new
QTimer
();
pktTimer
=
new
QTimer
();
QObject
::
connect
(
pktTimer
,
SIGNAL
(
timeout
()),
this
,
SLOT
(
processPackets
()));
QObject
::
connect
(
pktTimer
,
SIGNAL
(
timeout
()),
this
,
SLOT
(
processPackets
()));
pktTimer
->
start
();
//
pktTimer->start();
}
}
...
@@ -306,6 +306,8 @@ void SkyliveProtocol::handle_connect(SKMessage msg)
...
@@ -306,6 +306,8 @@ void SkyliveProtocol::handle_connect(SKMessage msg)
connect
(
tcpSocket
,
SIGNAL
(
error
(
QAbstractSocket
::
SocketError
)),
this
,
SLOT
(
displayError
(
QAbstractSocket
::
SocketError
)));
connect
(
tcpSocket
,
SIGNAL
(
error
(
QAbstractSocket
::
SocketError
)),
this
,
SLOT
(
displayError
(
QAbstractSocket
::
SocketError
)));
tcpSocket
->
abort
();
tcpSocket
->
abort
();
tcpSocket
->
connectToHost
(
SERVERHOST
,
SERVERPORT
);
tcpSocket
->
connectToHost
(
SERVERHOST
,
SERVERPORT
);
}
}
void
SkyliveProtocol
::
handle_putlogin
(
SKMessage
msg
)
void
SkyliveProtocol
::
handle_putlogin
(
SKMessage
msg
)
...
...
plugins/skproto.h
View file @
0172fe95
...
@@ -114,7 +114,7 @@ class SkyliveProtocol : public QObject, SkylivexPluginInterface
...
@@ -114,7 +114,7 @@ class SkyliveProtocol : public QObject, SkylivexPluginInterface
void
sendPacket
(
QString
&
cmd
,
QList
<
QString
>
&
paramlist
);
void
sendPacket
(
QString
&
cmd
,
QList
<
QString
>
&
paramlist
);
private
slots
:
private
slots
:
void
sessionOpened
();
//
void sessionOpened();
void
readFromNetwork
();
void
readFromNetwork
();
void
clientConnected
();
void
clientConnected
();
void
displayError
(
QAbstractSocket
::
SocketError
);
void
displayError
(
QAbstractSocket
::
SocketError
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment