diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 03:40:24 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 03:40:24 +0000 |
commit | d7bc310363c98994457e7882e7010e276169f00a (patch) | |
tree | b59a7e27c9c5a9fc15c959a289b9ab105127a4aa /pokemodr/SpeciesEvolutionUI.cpp | |
parent | 426721374e515ed14fc3b8d2afabfbb34e223e60 (diff) | |
download | sigen-d7bc310363c98994457e7882e7010e276169f00a.tar.gz sigen-d7bc310363c98994457e7882e7010e276169f00a.tar.xz sigen-d7bc310363c98994457e7882e7010e276169f00a.zip |
[FIX] Frac bug with type of Over1
[FIX] PokemodUI vtable errors
[FIX] Manual .pro file clean up
[FIX] Was attempting to emit a slot...
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@72 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/SpeciesEvolutionUI.cpp')
-rw-r--r-- | pokemodr/SpeciesEvolutionUI.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pokemodr/SpeciesEvolutionUI.cpp b/pokemodr/SpeciesEvolutionUI.cpp index be8857e2..e82c98ff 100644 --- a/pokemodr/SpeciesEvolutionUI.cpp +++ b/pokemodr/SpeciesEvolutionUI.cpp @@ -42,7 +42,7 @@ SpeciesEvolutionUI::SpeciesEvolutionUI(SpeciesEvolution* s, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(speciesEvolution, speciesEvolution_mod); - connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); + connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool))); for (int i = 0; i < speciesEvolution->getPokemod()->getSpeciesCount(); ++i) { const Species* s = speciesEvolution->getPokemod()->getSpecies(i); @@ -131,13 +131,13 @@ void SpeciesEvolutionUI::setGui() void SpeciesEvolutionUI::on_buttonApply_clicked() { *speciesEvolution = *speciesEvolution_mod; - emit(setChanged(false)); + emit(changed(false)); } void SpeciesEvolutionUI::on_buttonDiscard_clicked() { *speciesEvolution_mod = *speciesEvolution; - emit(setChanged(false)); + emit(changed(false)); setGui(); } @@ -146,7 +146,7 @@ void SpeciesEvolutionUI::on_varSpecies_currentIndexChanged(const int s) try { speciesEvolution_mod->setSpecies(varSpecies->itemData(s).toInt()); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { @@ -160,7 +160,7 @@ void SpeciesEvolutionUI::on_varStyle_currentIndexChanged(const int s) try { speciesEvolution_mod->setStyle(s); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { @@ -177,7 +177,7 @@ void SpeciesEvolutionUI::on_varVal1_currentIndexChanged(const int v) speciesEvolution_mod->setVal1(varVal1->itemData(v).toInt()); else speciesEvolution_mod->setVal1(v); - emit(setChanged(true)); + emit(changed(true)); } catch (Exception& e) { @@ -191,7 +191,7 @@ void SpeciesEvolutionUI::on_varVal2_currentIndexChanged(const int v) try { speciesEvolution_mod->setVal3(v); - emit(setChanged(true)); + emit(changed(true)); } catch (Exception& e) { @@ -205,7 +205,7 @@ void SpeciesEvolutionUI::on_varVal3_valueChanged(const int v) try { speciesEvolution_mod->setVal3(v); - emit(setChanged(true)); + emit(changed(true)); } catch (UnusedException& e) { @@ -219,7 +219,7 @@ void SpeciesEvolutionUI::on_varLevel_valueChanged(const int l) try { speciesEvolution_mod->setLevel(l); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { |