summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokemodTree.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-15 16:32:29 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-15 16:32:29 +0000
commit9b537cc98f99f9de4f153dd33f6561d5cd89b2a6 (patch)
tree95a59ebde842114fe5911c0db1c1a1d12a0335de /pokemodr/PokemodTree.cpp
parent3db0d88626ef92b2f7dc24fb7db6503495749fbe (diff)
downloadsigen-9b537cc98f99f9de4f153dd33f6561d5cd89b2a6.tar.gz
sigen-9b537cc98f99f9de4f153dd33f6561d5cd89b2a6.tar.xz
sigen-9b537cc98f99f9de4f153dd33f6561d5cd89b2a6.zip
[FIX] Added more code for the main window
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@136 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokemodTree.cpp')
-rw-r--r--pokemodr/PokemodTree.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/pokemodr/PokemodTree.cpp b/pokemodr/PokemodTree.cpp
index 8b7712d5..ad9c93e2 100644
--- a/pokemodr/PokemodTree.cpp
+++ b/pokemodr/PokemodTree.cpp
@@ -21,6 +21,9 @@
// Model includes
#include "models/BaseModel.h"
+// KDE includes
+#include <KUrl>
+
// Qt includes
#include <QHeaderView>
@@ -63,3 +66,23 @@ void PokemodTree::paste(const QModelIndex& index, const QDomDocument& data)
{
model()->setData(index, data.toString(), BaseModel::XmlRole);
}
+
+void PokemodTree::addPokemod(Pokemod* pokemod)
+{
+ // TODO: add the pokemod to the RootModel
+}
+
+void PokemodTree::deletePokemod(const Pokemod* pokemod)
+{
+ // TODO: delete the pokemod from the RootModel
+}
+
+void PokemodTree::savePokemod(const Pokemod* pokemod)
+{
+ // TODO: save the pokemod
+}
+
+void PokemodTree::savePokemod(const Pokemod* pokemod, const KUrl& url)
+{
+ // TODO: save the pokemod
+}