summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/CoinListModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/models/CoinListModel.cpp')
-rw-r--r--pokemodr/models/CoinListModel.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/pokemodr/models/CoinListModel.cpp b/pokemodr/models/CoinListModel.cpp
index fa5f8a0d..e12a3908 100644
--- a/pokemodr/models/CoinListModel.cpp
+++ b/pokemodr/models/CoinListModel.cpp
@@ -83,24 +83,6 @@ bool CoinListModel::setData(const QVariant& value, int role)
return false;
}
-bool CoinListModel::insertRows(const int rows)
-{
- for (int i = 0; i < rows; ++i)
- m_objects.append(new CoinListObjectModel(this, static_cast<CoinList*>(m_object)->newObject()));
- return true;
-}
-
-bool CoinListModel::removeRows(const int position, const int rows)
-{
- for (int i = 0; i < rows; ++i)
- {
- static_cast<CoinList*>(m_object)->deleteObject(position);
- delete m_objects[position];
- m_objects.removeAt(position);
- }
- return true;
-}
-
void CoinListModel::setupData()
{
CoinList* coinList = static_cast<CoinList*>(m_object);