diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-15 16:32:29 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-15 16:32:29 +0000 |
| commit | 9b537cc98f99f9de4f153dd33f6561d5cd89b2a6 (patch) | |
| tree | 95a59ebde842114fe5911c0db1c1a1d12a0335de /pokemodr/PokemodTree.cpp | |
| parent | 3db0d88626ef92b2f7dc24fb7db6503495749fbe (diff) | |
| download | sigen-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.cpp | 23 |
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 +} |
