summaryrefslogtreecommitdiffstats
path: root/pokemodr/CoinListObjectUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-02-23 03:40:24 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-02-23 03:40:24 +0000
commitd7bc310363c98994457e7882e7010e276169f00a (patch)
treeb59a7e27c9c5a9fc15c959a289b9ab105127a4aa /pokemodr/CoinListObjectUI.cpp
parent426721374e515ed14fc3b8d2afabfbb34e223e60 (diff)
downloadsigen-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/CoinListObjectUI.cpp')
-rw-r--r--pokemodr/CoinListObjectUI.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/pokemodr/CoinListObjectUI.cpp b/pokemodr/CoinListObjectUI.cpp
index 71b9f075..da333fe0 100644
--- a/pokemodr/CoinListObjectUI.cpp
+++ b/pokemodr/CoinListObjectUI.cpp
@@ -41,7 +41,7 @@ CoinListObjectUI::CoinListObjectUI(CoinListObject* c, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(coinListObject, coinListObject_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
varType->addItems(CoinListObject::TypeStr);
setGui();
}
@@ -86,13 +86,13 @@ void CoinListObjectUI::setGui()
void CoinListObjectUI::on_buttonApply_clicked()
{
*coinListObject = *coinListObject_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void CoinListObjectUI::on_buttonDiscard_clicked()
{
*coinListObject_mod = *coinListObject;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
@@ -101,7 +101,7 @@ void CoinListObjectUI::on_varType_currentIndexChanged(const int t)
try
{
coinListObject_mod->setType(t);
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{
@@ -115,7 +115,7 @@ void CoinListObjectUI::on_varObject_currentIndexChanged(const int o)
try
{
coinListObject_mod->setObject(varObject->itemData(o).toInt());
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{
@@ -129,7 +129,7 @@ void CoinListObjectUI::on_varAmount_valueChanged(const int a)
try
{
coinListObject_mod->setAmount(a);
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{
@@ -143,7 +143,7 @@ void CoinListObjectUI::on_varCost_valueChanged(const int c)
try
{
coinListObject_mod->setCost(c);
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{