summaryrefslogtreecommitdiffstats
path: root/pokemod/Time.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
commitfdd0eec1d145fb8ac97b4cc9aaed5218214416ec (patch)
tree2389a0d53fe3eaa644ccb220345995feec748823 /pokemod/Time.cpp
parent77124f3f105ea3837022d20a49028309a211c4b0 (diff)
downloadsigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.gz
sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.xz
sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.zip
[FIX] Refactored out connections made within widgets
[FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed [FIX] Pokemod classes now emit signals git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Time.cpp')
-rw-r--r--pokemod/Time.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/Time.cpp b/pokemod/Time.cpp
index 06e13e30..90488e1f 100644
--- a/pokemod/Time.cpp
+++ b/pokemod/Time.cpp
@@ -75,6 +75,7 @@ QDomElement Time::save() const
void Time::setName(const QString& name)
{
m_name = name;
+ emit(changed());
}
void Time::setHour(const int hour)
@@ -85,6 +86,7 @@ void Time::setHour(const int hour)
return;
}
m_hour = hour;
+ emit(changed());
}
void Time::setMinute(const int minute)
@@ -95,6 +97,7 @@ void Time::setMinute(const int minute)
return;
}
m_minute = minute;
+ emit(changed());
}
QString Time::name() const