summaryrefslogtreecommitdiffstats
path: root/pokemod/CoinListObject.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
commitfdd0eec1d145fb8ac97b4cc9aaed5218214416ec (patch)
tree2389a0d53fe3eaa644ccb220345995feec748823 /pokemod/CoinListObject.cpp
parent77124f3f105ea3837022d20a49028309a211c4b0 (diff)
downloadsigen-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/CoinListObject.cpp')
-rw-r--r--pokemod/CoinListObject.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/pokemod/CoinListObject.cpp b/pokemod/CoinListObject.cpp
index c9ae4423..3eb44e91 100644
--- a/pokemod/CoinListObject.cpp
+++ b/pokemod/CoinListObject.cpp
@@ -86,6 +86,7 @@ void CoinListObject::setType(const int type)
}
m_type = type;
m_object = INT_MAX;
+ emit(changed());
}
void CoinListObject::setObject(const int object)
@@ -96,6 +97,7 @@ void CoinListObject::setObject(const int object)
return;
}
m_object = object;
+ emit(changed());
}
void CoinListObject::setAmount(const int amount)
@@ -106,11 +108,13 @@ void CoinListObject::setAmount(const int amount)
return;
}
m_amount = amount;
+ emit(changed());
}
void CoinListObject::setCost(const int cost)
{
m_cost = cost;
+ emit(changed());
}
int CoinListObject::type() const