| 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 | |
| 22 | |
| 23 | #ifndef TALK_H |
| 24 | #define TALK_Hcxx . . $ `src/network/talk.h:24:9`! |
| 25 | |
| 26 | #include "ui_talk_gui.h"cxx . . $ `<file>/build/ui/ui_talk_gui.h`/ |
| 27 | #include <QtWidgets> |
| 28 | |
| 29 | class NetworkConnectioncxx . . $ NetworkConnection#; |
| 30 | class PlayerListingcxx . . $ PlayerListing#; |
| 31 | class Roomcxx . . $ Room#; |
| 32 | |
| 33 | class Talkcxx . . $ Talk# : public QDialogcxx . . $ QDialog#, public Uicxx . . $ Ui/::TalkGuicxx . . $ Ui/TalkGui# |
| 34 | { |
| 35 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 36 | |
| 37 | public: |
| 38 | Talkcxx . . $ Talk#Talk(77742c7bccc24af4).(NetworkConnectioncxx . . $ NetworkConnection# * conn, PlayerListingcxx . . $ PlayerListing# *player, Roomcxx . . $ Room# * r); |
| 39 | virtual ~cxx . . $ Talk#`~Talk`(ced63f7c635d850d).Talkcxx . . $ Talk#(); |
| 40 | QStringcxx . . $ QString# get_namecxx . . $ Talk#get_name(6ef7b6c27b00b43d).() const; |
| 41 | bool getConversationOpenedcxx . . $ Talk#getConversationOpened(50ce9a9e25b4a850).(void) const { return conversationOpenedcxx . . $ Talk#conversationOpened.; } |
| 42 | void setConversationOpenedcxx . . $ Talk#setConversationOpened(b45ddcbc8423892c).(bool c) { conversationOpenedcxx . . $ Talk#conversationOpened. = c; } |
| 43 | void recvTalkcxx . . $ Talk#recvTalk(7df51288a9ebd664).(QStringcxx . . $ QString# text); |
| 44 | |
| 45 | void slot_returnPressedcxx . . $ Talk#slot_returnPressed(49f6e7a06ebc5aa8).(); |
| 46 | void slot_pbRelTabcxx . . $ Talk#slot_pbRelTab(49f6e7a06ebc5aa8).(); |
| 47 | void slot_matchcxx . . $ Talk#slot_match(49f6e7a06ebc5aa8).(); |
| 48 | void updatePlayerListingcxx . . $ Talk#updatePlayerListing(49f6e7a06ebc5aa8).(); |
| 49 | |
| 50 | private: |
| 51 | void closeEventcxx . . $ Talk#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# *e); |
| 52 | Uicxx . . $ Ui/::TalkGuicxx . . $ Ui/TalkGui# uicxx . . $ Talk#ui.; |
| 53 | NetworkConnectioncxx . . $ NetworkConnection# * connectioncxx . . $ Talk#connection.; |
| 54 | PlayerListingcxx . . $ PlayerListing# * opponentcxx . . $ Talk#opponent.; |
| 55 | bool conversationOpenedcxx . . $ Talk#conversationOpened.; |
| 56 | Roomcxx . . $ Room# * roomcxx . . $ Talk#room.; |
| 57 | }; |
| 58 | |
| 59 | #endif |