summaryrefslogtreecommitdiffstats
path: root/pokemodr/TimeUI.cpp
diff options
context:
space:
mode:
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)
{