summaryrefslogtreecommitdiffstats
path: root/pokemodr/TimeUI.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/TimeUI.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/TimeUI.cpp')
-rw-r--r--pokemodr/TimeUI.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp
index 692a6c03..38cf7803 100644
--- a/pokemodr/TimeUI.cpp
+++ b/pokemodr/TimeUI.cpp
@@ -35,7 +35,7 @@ TimeUI::TimeUI(Time* t, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(time, time_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
setGui();
}
@@ -52,20 +52,20 @@ void TimeUI::setGui()
void TimeUI::on_buttonApply_clicked()
{
*time = *time_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void TimeUI::on_buttonDiscard_clicked()
{
*time_mod = *time;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
void TimeUI::on_varName_textChanged(const QString& n)
{
time_mod->setName(n);
- emit(setChanged(true));
+ emit(changed(true));
}
void TimeUI::on_varTime_timeChanged(const QTime& t)
@@ -74,7 +74,7 @@ void TimeUI::on_varTime_timeChanged(const QTime& t)
{
time_mod->setStartHour(t.hour());
time_mod->setStartMinute(t.minute());
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{