summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/CoinListGroupModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-25 21:17:56 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-25 21:17:56 +0000
commit7e3bf1853184f96eb5be47dd78ebe21fdc170a01 (patch)
tree7c937aa87fa165fc62bb49d71983e1512f2371c2 /pokemodr/models/CoinListGroupModel.cpp
parentdec252e25fc63fe1bb321dd87772181fc76e998f (diff)
downloadsigen-7e3bf1853184f96eb5be47dd78ebe21fdc170a01.tar.gz
sigen-7e3bf1853184f96eb5be47dd78ebe21fdc170a01.tar.xz
sigen-7e3bf1853184f96eb5be47dd78ebe21fdc170a01.zip
[ADD] More documentation
[FIX] Cleaned out some code from the models [FIX] Matrix should now work a lot better now [FIX] Opening/Saving/Closing PokéMods should be much cleaner now [FIX] currentPokemod code is now in the tree class git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@173 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/models/CoinListGroupModel.cpp')
-rw-r--r--pokemodr/models/CoinListGroupModel.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/pokemodr/models/CoinListGroupModel.cpp b/pokemodr/models/CoinListGroupModel.cpp
index 5351e616..56eeaae3 100644
--- a/pokemodr/models/CoinListGroupModel.cpp
+++ b/pokemodr/models/CoinListGroupModel.cpp
@@ -34,24 +34,6 @@ CoinListGroupModel::~CoinListGroupModel()
{
}
-bool CoinListGroupModel::insertRows(const int rows)
-{
- for (int i = 0; i < rows; ++i)
- m_objects.append(new CoinListModel(this, static_cast<Pokemod*>(m_object)->newCoinList()));
- return true;
-}
-
-bool CoinListGroupModel::removeRows(const int position, const int rows)
-{
- for (int i = 0; i < rows; ++i)
- {
- static_cast<Pokemod*>(m_object)->deleteCoinList(position);
- delete m_objects[position];
- m_objects.removeAt(position);
- }
- return true;
-}
-
void CoinListGroupModel::setupData()
{
Pokemod* pokemod = static_cast<Pokemod*>(m_object);