diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-04-22 17:31:28 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-04-22 17:31:28 +0000 |
| commit | 35efee2103faadc0aa7fdb42decbdba440a5fbe8 (patch) | |
| tree | 47cd2b1cd11d67c5db109b91e46806a48745df97 | |
| parent | dcb77408505e5fb40f064dd05aaf39f27dcdd524 (diff) | |
| download | sigen-35efee2103faadc0aa7fdb42decbdba440a5fbe8.tar.gz sigen-35efee2103faadc0aa7fdb42decbdba440a5fbe8.tar.xz sigen-35efee2103faadc0aa7fdb42decbdba440a5fbe8.zip | |
[FIX] Fraction can now be used in QVariant
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@103 6ecfd1a5-f3ed-3746-8530-beee90d26b22
| -rw-r--r-- | Changelog | 7 | ||||
| -rw-r--r-- | general/Fraction.h | 2 | ||||
| -rw-r--r-- | pokemodr/TODO | 7 |
3 files changed, 13 insertions, 3 deletions
@@ -1,4 +1,11 @@ ----------------- +Rev: 103 +Date: 22 April 2008 +User: MathStuf +----------------- +[FIX] Fraction can now be used in QVariant + +----------------- Rev: 102 Date: 19 April 2008 User: MathStuf diff --git a/general/Fraction.h b/general/Fraction.h index 0eef9d71..ff2b678b 100644 --- a/general/Fraction.h +++ b/general/Fraction.h @@ -21,6 +21,7 @@ // Qt includes #include <QtGlobal> #include <QFile> +#include <QMetaType> #include <QString> class Fraction @@ -68,5 +69,6 @@ class Fraction int m_numerator; int m_denominator; }; +Q_DECLARE_METATYPE(Fraction) #endif diff --git a/pokemodr/TODO b/pokemodr/TODO index 25746717..6d874ac6 100644 --- a/pokemodr/TODO +++ b/pokemodr/TODO @@ -5,6 +5,7 @@ MapEffect MapTrainer MoveEffect -Fix up to match new Pokemod API/style -Frac, Flag, and Coordinate widgets -Fix widget tree (should be nicer with the new loading/saving XML) +Update GUI to see new methods + +Flag widget +TilemapModel is wrong |
