Debian Codegraph @

src/connectionwidget.h

raw symbols SCIP
1 /***************************************************************************
2 * Copyright (C) 2009- by The qGo Project *
3 * *
4 * This file is part of qGo. *
5 * *
6 * qGo is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, see <http://www.gnu.org/licenses/> *
18 * or write to the Free Software Foundation, Inc., *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20 ***************************************************************************/
21 #ifndef CONNECTIONWIDGET_H
22 #define CONNECTIONWIDGET_Hcxx . . $ `src/connectionwidget.h:22:9`!
23
24 #include "defines.h"cxx . . $ `<file>/src/defines.h`/
25
26 #include <QWidget>
27 #include <QtWidgets>
28
29 class RoomListingcxx . . $ RoomListing#;
30 class NetworkConnectioncxx . . $ NetworkConnection#;
31 class Talkcxx . . $ Talk#;
32 class ChannelListingcxx . . $ ChannelListing#;
33 class GameDialogcxx . . $ GameDialog#;
34 class PlayerListingcxx . . $ PlayerListing#;
35 class Roomcxx . . $ Room#;
36 class PlayerListSortFilterProxyModelcxx . . $ PlayerListSortFilterProxyModel#;
37 class GamesListSortFilterProxyModelcxx . . $ GamesListSortFilterProxyModel#;
38
39 namespace Uicxx . . $ Ui/ {
40 class ConnectionWidgetcxx . . $ Ui/ConnectionWidget#;
41 }
42
43 /* This class should probably be merged into Room */
44 class ConnectionWidgetcxx . . $ ConnectionWidget# : public QWidgetcxx . . $ QWidget#
45 {
46 Q_OBJECTcxx . . $ ConnectionWidget#staticMetaObject.
47
48 public:
49 explicit ConnectionWidgetcxx . . $ ConnectionWidget#ConnectionWidget(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0);
50 ~cxx . . $ ConnectionWidget#`~ConnectionWidget`(ced63f7c635d850d).ConnectionWidgetcxx . . $ ConnectionWidget#();
51
52 void onConnectionErrorcxx . . $ ConnectionWidget#onConnectionError(49f6e7a06ebc5aa8).(void);
53 void set_sessionparametercxx . . $ ConnectionWidget#set_sessionparameter(4e51b35ce1bea96b).(QStringcxx . . $ QString# par, bool val);
54
55 void recvSeekConditioncxx . . $ ConnectionWidget#recvSeekCondition(c6d377b4419439f6).(class SeekConditioncxx . . $ SeekCondition# * s);
56 void recvSeekCancelcxx . . $ ConnectionWidget#recvSeekCancel(49f6e7a06ebc5aa8).(void);
57 void recvSeekPlayercxx . . $ ConnectionWidget#recvSeekPlayer(3458fe3960d5051).(QStringcxx . . $ QString# player, QStringcxx . . $ QString# condition);
58 void recvRoomListingcxx . . $ ConnectionWidget#recvRoomListing(186c8f1f477699).(const RoomListingcxx . . $ RoomListing# & room, bool b);
59 void recvChannelListingcxx . . $ ConnectionWidget#recvChannelListing(c6c8d512b76a2c4).(const ChannelListingcxx . . $ ChannelListing# & channel, bool b);
60 void changeChannelcxx . . $ ConnectionWidget#changeChannel(3520e46b33348bf6).(const QStringcxx . . $ QString# & s);
61 void setNetworkConnectioncxx . . $ ConnectionWidget#setNetworkConnection(bdf7e61fb2b15626).(NetworkConnectioncxx . . $ NetworkConnection# *);
62
63 int closeConnectioncxx . . $ ConnectionWidget#closeConnection(73da94e76e6bd037).(bool error = false);
64
65 /* Ugly hack, need a unique function
66 * that is called when connection is established */
67 bool isConnectedcxx . . $ ConnectionWidget#isConnected(c9857a73d68e59ba).(void);
68 void setupButtonscxx . . $ ConnectionWidget#setupButtons(49f6e7a06ebc5aa8).(void);
69
70 protected:
71 friend class Roomcxx . . $ Room#;
72 Roomcxx . . $ Room# * roomcxx . . $ ConnectionWidget#room.;
73 PlayerListSortFilterProxyModelcxx . . $ PlayerListSortFilterProxyModel# * playerListProxyModelcxx . . $ ConnectionWidget#playerListProxyModel.;
74 GamesListSortFilterProxyModelcxx . . $ GamesListSortFilterProxyModel# * gamesListProxyModelcxx . . $ ConnectionWidget#gamesListProxyModel.;
75
76 public:
77 void loadConnectionSettingscxx . . $ ConnectionWidget#loadConnectionSettings(49f6e7a06ebc5aa8).(void);
78 void disconnectFromServercxx . . $ ConnectionWidget#disconnectFromServer(49f6e7a06ebc5aa8).(void);
79 //void slot_textReceived(const QString &txt);
80 void slot_messagecxx . . $ ConnectionWidget#slot_message(8765108fba720c62).(QStringcxx . . $ QString#, QColorcxx . . $ QColor# = Qtcxx . . $ Qt/::blackcxx . . $ Qt/black.);
81 // void slot_message(QString txt);
82 void slot_createRoomcxx . . $ ConnectionWidget#slot_createRoom(49f6e7a06ebc5aa8).(void);
83 void slot_changeServercxx . . $ ConnectionWidget#slot_changeServer(49f6e7a06ebc5aa8).(void);
84 void set_tn_readycxx . . $ ConnectionWidget#set_tn_ready(49f6e7a06ebc5aa8).();
85 //void slot_sendCommand(const QString &, bool);
86 // void slot_cmdactivated_int(int);
87 void slot_cmdactivatedcxx . . $ ConnectionWidget#slot_cmdactivated(3520e46b33348bf6).(const QStringcxx . . $ QString#&);
88 void slot_checkboxcxx . . $ ConnectionWidget#slot_checkbox(918ebd27a9ddbad3).(int, bool);
89
90 void slot_roomListClickedcxx . . $ ConnectionWidget#slot_roomListClicked(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
91 void slot_channelListClickedcxx . . $ ConnectionWidget#slot_channelListClicked(3520e46b33348bf6).(const QStringcxx . . $ QString# &);
92 void slot_seekcxx . . $ ConnectionWidget#slot_seek(b45ddcbc8423892c).(bool);
93 void slot_seekcxx . . $ ConnectionWidget#slot_seek(92b1e80c0a7f1406).(QActioncxx . . $ QAction# *);
94 void talkOpenedcxx . . $ ConnectionWidget#talkOpened(8355d8551324cb3e).(Talkcxx . . $ Talk# * d);
95 void setLookingcxx . . $ ConnectionWidget#setLooking(b45ddcbc8423892c).(bool val);
96 void slot_cbopencxx . . $ ConnectionWidget#slot_cbopen(49f6e7a06ebc5aa8).();
97 void slot_cbquietcxx . . $ ConnectionWidget#slot_cbquiet(49f6e7a06ebc5aa8).();
98
99 void slot_msgBoxcxx . . $ ConnectionWidget#slot_msgBox(3520e46b33348bf6).(const QStringcxx . . $ QString#&);
100 void slot_connexionClosedcxx . . $ ConnectionWidget#slot_connexionClosed(49f6e7a06ebc5aa8).();
101
102 private:
103 void setRankSpreadViewcxx . . $ ConnectionWidget#setRankSpreadView(49f6e7a06ebc5aa8).(void);
104 void slot_editFriendsWatchesListcxx . . $ ConnectionWidget#slot_editFriendsWatchesList(49f6e7a06ebc5aa8).(void);
105
106 private:
107 Uicxx . . $ Ui/::ConnectionWidgetcxx . . $ Ui/ConnectionWidget# *uicxx . . $ ConnectionWidget#ui.;
108
109 void cleanupServerDatacxx . . $ ConnectionWidget#cleanupServerData(49f6e7a06ebc5aa8).(void);
110 bool youhavemsgcxx . . $ ConnectionWidget#youhavemsg.;
111 bool playerListEmptycxx . . $ ConnectionWidget#playerListEmpty.;
112 // bool gamesListEmpty;
113 bool autoAwayMessagecxx . . $ ConnectionWidget#autoAwayMessage.;
114 // cmd_xx get current cmd number, and, if higher than last, cmd is valid,
115 // else cmd is from history list
116 int cmd_countcxx . . $ ConnectionWidget#cmd_count.;
117 bool cmd_validcxx . . $ ConnectionWidget#cmd_valid.;
118
119 // telnet ready
120 bool tn_readycxx . . $ ConnectionWidget#tn_ready.;
121 bool tn_wait_for_tn_readycxx . . $ ConnectionWidget#tn_wait_for_tn_ready.;
122 NetworkConnectioncxx . . $ NetworkConnection# * connectioncxx . . $ ConnectionWidget#connection.;
123 QMenucxx . . $ QMenu# *seekMenucxx . . $ ConnectionWidget#seekMenu.;
124 QListcxx . . $ QList#<GameDialogcxx . . $ GameDialog#*> matchListcxx . . $ ConnectionWidget#matchList.;
125 QListcxx . . $ QList#<const RoomListingcxx . . $ RoomListing# *> roomListcxx . . $ ConnectionWidget#roomList.;
126 QListcxx . . $ QList#<const ChannelListingcxx . . $ ChannelListing# *> channelListcxx . . $ ConnectionWidget#channelList.;
127 int seekButtonTimercxx . . $ ConnectionWidget#seekButtonTimer.;
128
129 //players table
130 void showOpencxx . . $ ConnectionWidget#showOpen(b45ddcbc8423892c).(bool show);
131 void setColumnsForExtUserInfocxx . . $ ConnectionWidget#setColumnsForExtUserInfo(49f6e7a06ebc5aa8).();
132 QStringcxx . . $ QString# rkMaxcxx . . $ ConnectionWidget#rkMax., rkMincxx . . $ ConnectionWidget#rkMin.;
133
134 // timing aids
135 void timerEventcxx . . $ ConnectionWidget#timerEvent(b9e57d1150f23bf5).(QTimerEventcxx . . $ QTimerEvent#*);
136 QDateTimecxx . . $ QDateTime# connectionEstablishedcxx . . $ ConnectionWidget#connectionEstablished.; // online time
137 };
138
139 #endif // CONNECTIONWIDGET_H