summaryrefslogtreecommitdiffstats
path: root/pokemodr/AuthorUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/AuthorUI.cpp')
-rw-r--r--pokemodr/AuthorUI.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/pokemodr/AuthorUI.cpp b/pokemodr/AuthorUI.cpp
index efc5510e..3c53536e 100644
--- a/pokemodr/AuthorUI.cpp
+++ b/pokemodr/AuthorUI.cpp
@@ -34,7 +34,7 @@ AuthorUI::AuthorUI(Author* a, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(author, author_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
setGui();
}
@@ -53,30 +53,30 @@ void AuthorUI::setGui()
void AuthorUI::on_buttonApply_clicked()
{
*author = *author_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void AuthorUI::on_buttonDiscard_clicked()
{
*author_mod = *author;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
void AuthorUI::on_varName_textChanged(const QString& n)
{
author_mod->setName(n);
- emit(setChanged(true));
+ emit(changed(true));
}
void AuthorUI::on_varEmail_textChanged(const QString& e)
{
author_mod->setEmail(e);
- emit(setChanged(true));
+ emit(changed(true));
}
void AuthorUI::on_varRole_textChanged(const QString& r)
{
author_mod->setRole(r);
- emit(setChanged(true));
+ emit(changed(true));
}