From fdd0eec1d145fb8ac97b4cc9aaed5218214416ec Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 15 May 2008 19:55:43 +0000 Subject: [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 --- pokemod/SpeciesEvolution.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pokemod/SpeciesEvolution.cpp') 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 -- cgit