Debian Codegraph @

src/board/gameinfo.cpp

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
22
23 #include "gameinfo.h"cxx . . $ `<file>/src/board/gameinfo.h`/
24 #include "boardwindow.h"cxx . . $ `<file>/src/board/boardwindow.h`/
25 #include <QPushButton>
26
27 GameInfocxx . . $ GameInfo#::GameInfocxx . . $ GameInfo#GameInfo(7be1a4e7105cba0c).(BoardWindowcxx . . $ BoardWindow# * bw) : GameinfoDialogcxx . . $ Ui/GameinfoDialog#(), boardwindowcxx . . $ GameInfo#boardwindow.(bw)
28 {
29 uicxx . . $ GameInfo#ui..setupUicxx . . $ Ui_GameinfoDialog#setupUi(d194de0c0f68c28b).(this);
30
31 uicxx . . $ GameInfo#ui..whiteNamecxx . . $ Ui_GameinfoDialog#whiteName.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->white_namecxx . . $ GameData#white_name. );
32 uicxx . . $ GameInfo#ui..blackNamecxx . . $ Ui_GameinfoDialog#blackName.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->black_namecxx . . $ GameData#black_name. );
33 uicxx . . $ GameInfo#ui..whiteRankcxx . . $ Ui_GameinfoDialog#whiteRank.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->white_rankcxx . . $ GameData#white_rank. );
34 uicxx . . $ GameInfo#ui..blackRankcxx . . $ Ui_GameinfoDialog#blackRank.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->black_rankcxx . . $ GameData#black_rank. );
35 uicxx . . $ GameInfo#ui..komicxx . . $ Ui_GameinfoDialog#komi.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( QStringcxx . . $ QString#::numbercxx . . $ QString#number(ac5d358e2e30f7ea).(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->komicxx . . $ GameData#komi. ));
36 uicxx . . $ GameInfo#ui..handicapcxx . . $ Ui_GameinfoDialog#handicap.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( QStringcxx . . $ QString#::numbercxx . . $ QString#number(da83c6b4fd8c0e98).(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->handicapcxx . . $ GameData#handicap. ));
37 uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->resultcxx . . $ GameData#result. );
38 uicxx . . $ GameInfo#ui..gameNamecxx . . $ Ui_GameinfoDialog#gameName.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->gameNamecxx . . $ GameData#gameName. );
39 uicxx . . $ GameInfo#ui..datecxx . . $ Ui_GameinfoDialog#date.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->datecxx . . $ GameData#date. );
40 uicxx . . $ GameInfo#ui..playedAtcxx . . $ Ui_GameinfoDialog#playedAt.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->placecxx . . $ GameData#place. );
41 uicxx . . $ GameInfo#ui..copyrightcxx . . $ Ui_GameinfoDialog#copyright.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).( boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->copyrightcxx . . $ GameData#copyright. );
42
43 if(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->gameModecxx . . $ GameData#gameMode. != modeEditcxx . . $ modeEdit.)
44 {
45 uicxx . . $ GameInfo#ui..whiteNamecxx . . $ Ui_GameinfoDialog#whiteName.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).( 1 );
46 uicxx . . $ GameInfo#ui..blackNamecxx . . $ Ui_GameinfoDialog#blackName.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).( 1 );
47 uicxx . . $ GameInfo#ui..whiteRankcxx . . $ Ui_GameinfoDialog#whiteRank.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).( 1 );
48 uicxx . . $ GameInfo#ui..blackRankcxx . . $ Ui_GameinfoDialog#blackRank.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).( 1 );
49 uicxx . . $ GameInfo#ui..komicxx . . $ Ui_GameinfoDialog#komi.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
50 uicxx . . $ GameInfo#ui..handicapcxx . . $ Ui_GameinfoDialog#handicap.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
51 uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
52 uicxx . . $ GameInfo#ui..gameNamecxx . . $ Ui_GameinfoDialog#gameName.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
53 uicxx . . $ GameInfo#ui..datecxx . . $ Ui_GameinfoDialog#date.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
54 uicxx . . $ GameInfo#ui..playedAtcxx . . $ Ui_GameinfoDialog#playedAt.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
55 uicxx . . $ GameInfo#ui..copyrightcxx . . $ Ui_GameinfoDialog#copyright.->setReadOnlycxx . . $ QLineEdit#setReadOnly(b45ddcbc8423892c).(1);
56 }
57 else
58 {
59 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..whiteNamecxx . . $ Ui_GameinfoDialog#whiteName., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
60 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..blackNamecxx . . $ Ui_GameinfoDialog#blackName., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
61 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..whiteRankcxx . . $ Ui_GameinfoDialog#whiteRank., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
62 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..blackRankcxx . . $ Ui_GameinfoDialog#blackRank., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
63 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..komicxx . . $ Ui_GameinfoDialog#komi., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
64 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..handicapcxx . . $ Ui_GameinfoDialog#handicap., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
65 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
66 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..gameNamecxx . . $ Ui_GameinfoDialog#gameName., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
67 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..datecxx . . $ Ui_GameinfoDialog#date., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
68 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..playedAtcxx . . $ Ui_GameinfoDialog#playedAt., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
69 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..copyrightcxx . . $ Ui_GameinfoDialog#copyright., &QLineEditcxx . . $ QLineEdit#::textEditedcxx . . $ QLineEdit#textEdited(3520e46b33348bf6)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).);
70 }
71
72 connectcxx . . $ QObject#connect(835f87066c895669).(uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox., &QDialogButtonBoxcxx . . $ QDialogButtonBox#::clickedcxx . . $ QDialogButtonBox#clicked(6f406f547f7da55f)., this, &GameInfocxx . . $ GameInfo#::slotGameInfoButtoncxx . . $ GameInfo#slotGameInfoButton(6f406f547f7da55f).);
73 showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).();
74 }
75
76 GameInfocxx . . $ GameInfo#::~cxx . . $ GameInfo#`~GameInfo`(ced63f7c635d850d).GameInfocxx . . $ GameInfo#()
77 {
78 }
79
80 void GameInfocxx . . $ GameInfo#::slotGameInfoButtoncxx . . $ GameInfo#slotGameInfoButton(6f406f547f7da55f).(QAbstractButtoncxx . . $ QAbstractButton# * button)
81 {
82 if(button->textcxx . . $ QAbstractButton#text(6ef7b6c27b00b43d).() ==cxx . . $ QString#`operator==`(7d4bdb1abc417636). "Save")
83 {
84 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->white_namecxx . . $ GameData#white_name. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..whiteNamecxx . . $ Ui_GameinfoDialog#whiteName.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
85 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->black_namecxx . . $ GameData#black_name. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..blackNamecxx . . $ Ui_GameinfoDialog#blackName.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
86 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->white_rankcxx . . $ GameData#white_rank. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..whiteRankcxx . . $ Ui_GameinfoDialog#whiteRank.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
87 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->black_rankcxx . . $ GameData#black_rank. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..blackRankcxx . . $ Ui_GameinfoDialog#blackRank.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
88 sscanf(uicxx . . $ GameInfo#ui..komicxx . . $ Ui_GameinfoDialog#komi.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toLatin1cxx . . $ QString#toLatin1(7c2073558a834e49).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).(), "%f", &(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->komicxx . . $ GameData#komi.));
89 sscanf(uicxx . . $ GameInfo#ui..handicapcxx . . $ Ui_GameinfoDialog#handicap.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toLatin1cxx . . $ QString#toLatin1(7c2073558a834e49).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).(), "%d", &(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->handicapcxx . . $ GameData#handicap.));
90 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->resultcxx . . $ GameData#result. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
91 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->gameNamecxx . . $ GameData#gameName. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..gameNamecxx . . $ Ui_GameinfoDialog#gameName.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
92 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->datecxx . . $ GameData#date. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..datecxx . . $ Ui_GameinfoDialog#date.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
93 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->placecxx . . $ GameData#place. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..playedAtcxx . . $ Ui_GameinfoDialog#playedAt.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
94 boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->copyrightcxx . . $ GameData#copyright. =cxx . . $ QString#`operator=`(4f35bf974e7f8568). uicxx . . $ GameInfo#ui..copyrightcxx . . $ Ui_GameinfoDialog#copyright.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).();
95 boardwindowcxx . . $ GameInfo#boardwindow.->gameDataChangedcxx . . $ BoardWindow#gameDataChanged(49f6e7a06ebc5aa8).();
96 }
97 this->deleteLatercxx . . $ QObject#deleteLater(49f6e7a06ebc5aa8).();
98 }
99
100 void GameInfocxx . . $ GameInfo#::slotGameInfoTextEditedcxx . . $ GameInfo#slotGameInfoTextEdited(3520e46b33348bf6).(const QStringcxx . . $ QString# &)
101 {
102 bool changed = false;
103
104 if(uicxx . . $ GameInfo#ui..whiteNamecxx . . $ Ui_GameinfoDialog#whiteName.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).() !=cxx . . $ `operator!=`(5bc2975d2d751687). boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->white_namecxx . . $ GameData#white_name.)
105 changed = true;
106 else if(uicxx . . $ GameInfo#ui..blackNamecxx . . $ Ui_GameinfoDialog#blackName.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).() !=cxx . . $ `operator!=`(5bc2975d2d751687). boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->black_namecxx . . $ GameData#black_name.)
107 changed = true;
108 else if(uicxx . . $ GameInfo#ui..whiteRankcxx . . $ Ui_GameinfoDialog#whiteRank.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).() !=cxx . . $ `operator!=`(5bc2975d2d751687). boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->white_rankcxx . . $ GameData#white_rank.)
109 changed = true;
110 else if(uicxx . . $ GameInfo#ui..blackRankcxx . . $ Ui_GameinfoDialog#blackRank.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).() !=cxx . . $ `operator!=`(5bc2975d2d751687). boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->black_rankcxx . . $ GameData#black_rank.)
111 changed = true;
112 else if(QStringcxx . . $ QString#::numbercxx . . $ QString#number(ac5d358e2e30f7ea).(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->komicxx . . $ GameData#komi.) !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
113 changed = true;
114 else if(QStringcxx . . $ QString#::numbercxx . . $ QString#number(da83c6b4fd8c0e98).(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->handicapcxx . . $ GameData#handicap.) !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
115 changed = true;
116 else if(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->resultcxx . . $ GameData#result. !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..resultcxx . . $ Ui_GameinfoDialog#result.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
117 changed = true;
118 else if(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->gameNamecxx . . $ GameData#gameName. !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..gameNamecxx . . $ Ui_GameinfoDialog#gameName.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
119 changed = true;
120 else if(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->datecxx . . $ GameData#date. !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..datecxx . . $ Ui_GameinfoDialog#date.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
121 changed = true;
122 else if(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->placecxx . . $ GameData#place. !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..playedAtcxx . . $ Ui_GameinfoDialog#playedAt.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
123 changed = true;
124 else if(boardwindowcxx . . $ GameInfo#boardwindow.->getGameDatacxx . . $ BoardWindow#getGameData(f917540193955ea7).()->copyrightcxx . . $ GameData#copyright. !=cxx . . $ `operator!=`(5bc2975d2d751687). uicxx . . $ GameInfo#ui..copyrightcxx . . $ Ui_GameinfoDialog#copyright.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).())
125 changed = true;
126
127 QPushButtoncxx . . $ QPushButton# * button = 0;
128 if(changed)
129 {
130 button = uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox.->buttoncxx . . $ QDialogButtonBox#button(3b1c1f83a3cc2105).(QDialogButtonBoxcxx . . $ QDialogButtonBox#::Okcxx . . $ QDialogButtonBox#Ok.);
131 if(button)
132 {
133 uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox.->removeButtoncxx . . $ QDialogButtonBox#removeButton(6f406f547f7da55f).(button);
134 uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox.->addButtoncxx . . $ QDialogButtonBox#addButton(f8402f4408546bb3).(QDialogButtonBoxcxx . . $ QDialogButtonBox#::Savecxx . . $ QDialogButtonBox#Save.);
135 }
136 }
137 else
138 {
139 button = uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox.->buttoncxx . . $ QDialogButtonBox#button(3b1c1f83a3cc2105).(QDialogButtonBoxcxx . . $ QDialogButtonBox#::Savecxx . . $ QDialogButtonBox#Save.);
140 if(button)
141 {
142 uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox.->removeButtoncxx . . $ QDialogButtonBox#removeButton(6f406f547f7da55f).(button);
143 uicxx . . $ GameInfo#ui..buttonBoxcxx . . $ Ui_GameinfoDialog#buttonBox.->addButtoncxx . . $ QDialogButtonBox#addButton(f8402f4408546bb3).(QDialogButtonBoxcxx . . $ QDialogButtonBox#::Okcxx . . $ QDialogButtonBox#Ok.);
144 }
145 }
146 }