| 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 | #include <QDialog> |
| 24 | #include "ui_createroomdialog.h"cxx . . $ `<file>/build/ui/ui_createroomdialog.h`/ |
| 25 | |
| 26 | class QLabelcxx . . $ QLabel#; |
| 27 | class QDialogButtonBoxcxx . . $ QDialogButtonBox#; |
| 28 | class NetworkConnectioncxx . . $ NetworkConnection#; |
| 29 | |
| 30 | class CreateRoomDialogcxx . . $ CreateRoomDialog# : public QDialogcxx . . $ QDialog#, public Uicxx . . $ Ui/::CreateRoomDialogcxx . . $ Ui/CreateRoomDialog# |
| 31 | { |
| 32 | Q_OBJECTcxx . . $ CreateRoomDialog#QPrivateSignal# |
| 33 | public: |
| 34 | CreateRoomDialogcxx . . $ CreateRoomDialog#CreateRoomDialog(bdf7e61fb2b15626).(NetworkConnectioncxx . . $ NetworkConnection# * conn); |
| 35 | ~cxx . . $ CreateRoomDialog#`~CreateRoomDialog`(ced63f7c635d850d).CreateRoomDialogcxx . . $ CreateRoomDialog#(); |
| 36 | void slot_createcxx . . $ CreateRoomDialog#slot_create(49f6e7a06ebc5aa8).(void); |
| 37 | void slot_cancelcxx . . $ CreateRoomDialog#slot_cancel(49f6e7a06ebc5aa8).(void); |
| 38 | |
| 39 | void slot_privateCBcxx . . $ CreateRoomDialog#slot_privateCB(b45ddcbc8423892c).(bool); |
| 40 | |
| 41 | void slot_roomTypeTabcxx . . $ CreateRoomDialog#slot_roomTypeTab(49f6e7a06ebc5aa8).(void); |
| 42 | void slot_opponentStrongerRBcxx . . $ CreateRoomDialog#slot_opponentStrongerRB(49f6e7a06ebc5aa8).(void); |
| 43 | void slot_opponentEvenRBcxx . . $ CreateRoomDialog#slot_opponentEvenRB(49f6e7a06ebc5aa8).(void); |
| 44 | void slot_opponentWeakerRBcxx . . $ CreateRoomDialog#slot_opponentWeakerRB(49f6e7a06ebc5aa8).(void); |
| 45 | void slot_opponentAnyRBcxx . . $ CreateRoomDialog#slot_opponentAnyRB(49f6e7a06ebc5aa8).(void); |
| 46 | |
| 47 | void slot_timeQuickRBcxx . . $ CreateRoomDialog#slot_timeQuickRB(49f6e7a06ebc5aa8).(void); |
| 48 | void slot_timeNormalRBcxx . . $ CreateRoomDialog#slot_timeNormalRB(49f6e7a06ebc5aa8).(void); |
| 49 | void slot_timePonderousRBcxx . . $ CreateRoomDialog#slot_timePonderousRB(49f6e7a06ebc5aa8).(void); |
| 50 | void slot_timeAnyRBcxx . . $ CreateRoomDialog#slot_timeAnyRB(49f6e7a06ebc5aa8).(void); |
| 51 | void slot_oneOnOneRBcxx . . $ CreateRoomDialog#slot_oneOnOneRB(49f6e7a06ebc5aa8).(void); |
| 52 | void slot_pairRBcxx . . $ CreateRoomDialog#slot_pairRB(49f6e7a06ebc5aa8).(void); |
| 53 | void slot_teachingRBcxx . . $ CreateRoomDialog#slot_teachingRB(49f6e7a06ebc5aa8).(void); |
| 54 | void slot_liveRBcxx . . $ CreateRoomDialog#slot_liveRB(49f6e7a06ebc5aa8).(void); |
| 55 | private: |
| 56 | NetworkConnectioncxx . . $ NetworkConnection# * connectioncxx . . $ CreateRoomDialog#connection.; |
| 57 | //Ui::CreateRoomDialog ui; |
| 58 | }; |
| 59 | |
| 60 | class RoomCreatecxx . . $ RoomCreate# |
| 61 | { |
| 62 | public: |
| 63 | unsigned char * titlecxx . . $ RoomCreate#title.; |
| 64 | unsigned char * passwordcxx . . $ RoomCreate#password.; |
| 65 | enum roomTypecxx . . $ RoomCreate#roomType# { GAMEcxx . . $ RoomCreate#GAME. = 0, GOMOKUcxx . . $ RoomCreate#GOMOKU., CHATcxx . . $ RoomCreate#CHAT., REVIEWcxx . . $ RoomCreate#REVIEW., MULTIcxx . . $ RoomCreate#MULTI., VARIATIONcxx . . $ RoomCreate#VARIATION. } typecxx . . $ RoomCreate#type.; |
| 66 | enum OpponentStrengthcxx . . $ RoomCreate#OpponentStrength# { STRONGERcxx . . $ RoomCreate#STRONGER. = 0, EVENcxx . . $ RoomCreate#EVEN., WEAKERcxx . . $ RoomCreate#WEAKER., ANYBODYcxx . . $ RoomCreate#ANYBODY. } opponentStrengthcxx . . $ RoomCreate#opponentStrength.; |
| 67 | enum TimeLimitcxx . . $ RoomCreate#TimeLimit# { QUICKcxx . . $ RoomCreate#QUICK. = 0, NORMALcxx . . $ RoomCreate#NORMAL., PONDEROUScxx . . $ RoomCreate#PONDEROUS., ANYTIMEcxx . . $ RoomCreate#ANYTIME. } timeLimitcxx . . $ RoomCreate#timeLimit.; |
| 68 | enum Topiccxx . . $ RoomCreate#Topic# { BADUKcxx . . $ RoomCreate#BADUK. = 0, MOVIEScxx . . $ RoomCreate#MOVIES., MUSICcxx . . $ RoomCreate#MUSIC., SPORTScxx . . $ RoomCreate#SPORTS., GAMEScxx . . $ RoomCreate#GAMES., MANGAcxx . . $ RoomCreate#MANGA., HUMORcxx . . $ RoomCreate#HUMOR., CURRENTAFFAIRScxx . . $ RoomCreate#CURRENTAFFAIRS., |
| 69 | LITERATUREcxx . . $ RoomCreate#LITERATURE., HOBBIEScxx . . $ RoomCreate#HOBBIES., TRAVELcxx . . $ RoomCreate#TRAVEL., CLIMBINGcxx . . $ RoomCreate#CLIMBING., ENTERTAINMENTcxx . . $ RoomCreate#ENTERTAINMENT., COMPUTINGcxx . . $ RoomCreate#COMPUTING., INTERNETcxx . . $ RoomCreate#INTERNET., MISCcxx . . $ RoomCreate#MISC. } topiccxx . . $ RoomCreate#topic.; |
| 70 | enum Agecxx . . $ RoomCreate#Age# { ALLcxx . . $ RoomCreate#ALL.=0, _9cxx . . $ RoomCreate#_9., _10_19cxx . . $ RoomCreate#_10_19., _20_29cxx . . $ RoomCreate#_20_29., _30_39cxx . . $ RoomCreate#_30_39., _40_49cxx . . $ RoomCreate#_40_49., _50_59cxx . . $ RoomCreate#_50_59., _60_69cxx . . $ RoomCreate#_60_69., _70cxx . . $ RoomCreate#_70. } agecxx . . $ RoomCreate#age.; |
| 71 | enum Locationcxx . . $ RoomCreate#Location# { KOREAcxx . . $ RoomCreate#KOREA. = 0, CHINAcxx . . $ RoomCreate#CHINA., JAPANcxx . . $ RoomCreate#JAPAN., THAIcxx . . $ RoomCreate#THAI., UScxx . . $ RoomCreate#US., EUROPEcxx . . $ RoomCreate#EUROPE., AUSTRALIAcxx . . $ RoomCreate#AUSTRALIA., FOREIGNcxx . . $ RoomCreate#FOREIGN., OTHERcxx . . $ RoomCreate#OTHER. } locationcxx . . $ RoomCreate#location.; |
| 72 | }; |