diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-15 19:55:43 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-15 19:55:43 +0000 |
| commit | fdd0eec1d145fb8ac97b4cc9aaed5218214416ec (patch) | |
| tree | 2389a0d53fe3eaa644ccb220345995feec748823 /pokemod/SpeciesEvolution.cpp | |
| parent | 77124f3f105ea3837022d20a49028309a211c4b0 (diff) | |
| download | sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.gz sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.xz sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.zip | |
[FIX] Refactored out connections made within widgets
[FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed
[FIX] Pokemod classes now emit signals
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/SpeciesEvolution.cpp')
| -rw-r--r-- | pokemod/SpeciesEvolution.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pokemod/SpeciesEvolution.cpp b/pokemod/SpeciesEvolution.cpp index ba32cf3b..b57f3715 100644 --- a/pokemod/SpeciesEvolution.cpp +++ b/pokemod/SpeciesEvolution.cpp @@ -97,6 +97,7 @@ void SpeciesEvolution::setSpecies(const int species) return; } m_species = species; + emit(changed()); } void SpeciesEvolution::setStyle(const int style) @@ -107,6 +108,7 @@ void SpeciesEvolution::setStyle(const int style) return; } m_style = style; + emit(changed()); } void SpeciesEvolution::setValue1(const int value1) @@ -143,6 +145,7 @@ void SpeciesEvolution::setValue1(const int value1) return; } m_value1 = value1; + emit(changed()); } void SpeciesEvolution::setValue2(const int value2) @@ -167,6 +170,7 @@ void SpeciesEvolution::setValue2(const int value2) return; } m_value2 = value2; + emit(changed()); } void SpeciesEvolution::setValue3(const int value3) @@ -182,6 +186,7 @@ void SpeciesEvolution::setValue3(const int value3) return; } m_value3 = value3; + emit(changed()); } void SpeciesEvolution::setLevel(const int level) @@ -192,6 +197,7 @@ void SpeciesEvolution::setLevel(const int level) return; } m_level = level; + emit(changed()); } int SpeciesEvolution::species() const |
