summaryrefslogtreecommitdiffstats
path: root/pokemodr/StoreUI.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/StoreUI.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/StoreUI.cpp')
-rw-r--r--pokemodr/StoreUI.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemodr/StoreUI.cpp b/pokemodr/StoreUI.cpp
index eae6c201..7259058c 100644
--- a/pokemodr/StoreUI.cpp
+++ b/pokemodr/StoreUI.cpp
@@ -41,7 +41,7 @@ StoreUI::StoreUI(Store* s, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(store, store_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
for (int i = 0; i < store->getPokemod()->getItemCount(); ++i)
{
const Item* it = store->getPokemod()->getItem(i);
@@ -69,20 +69,20 @@ void StoreUI::setGui()
void StoreUI::on_buttonApply_clicked()
{
*store = *store_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void StoreUI::on_buttonDiscard_clicked()
{
*store_mod = *store;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
void StoreUI::on_varName_textChanged(const QString& n)
{
store_mod->setName(n);
- emit(setChanged(true));
+ emit(changed(true));
}
void StoreUI::on_varItems_itemSelectionChanged()
@@ -94,7 +94,7 @@ void StoreUI::on_varItems_itemSelectionChanged()
const QListWidgetItem* lwi = varItems->item(i);
store_mod->setItem(lwi->data(Qt::UserRole).toInt(), lwi->isSelected());
}
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{