summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/RootModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/models/RootModel.cpp')
-rw-r--r--pokemodr/models/RootModel.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/pokemodr/models/RootModel.cpp b/pokemodr/models/RootModel.cpp
index 0dcd4f3a..1c0691f7 100644
--- a/pokemodr/models/RootModel.cpp
+++ b/pokemodr/models/RootModel.cpp
@@ -36,23 +36,6 @@ RootModel::~RootModel()
{
}
-bool RootModel::insertRows(const int rows)
-{
- for (int i = 0; i < rows; ++i)
- m_objects.append(new PokemodModel(this, new Pokemod()));
- return true;
-}
-
-bool RootModel::removeRows(const int position, const int rows)
-{
- for (int i = 0; i < rows; ++i)
- {
- delete m_objects[position];
- m_objects.removeAt(position);
- }
- return true;
-}
-
void RootModel::addPokemod(Pokemod* pokemod)
{
m_objects.append(new PokemodModel(this, pokemod));