summaryrefslogtreecommitdiff
path: root/src/fomodinstallerdialog.h
diff options
context:
space:
mode:
authorTannin <Tannin@Miranda>2013-02-17 09:26:29 +0100
committerTannin <Tannin@Miranda>2013-02-17 09:26:29 +0100
commit6516a6b7c19713de28db7142612f1c095e541317 (patch)
tree06829bf7f82e1251a9e3db27185b7df90833bbc8 /src/fomodinstallerdialog.h
parent5d1154c24e2475ed2b7ac248de27ab7b501a1e5e (diff)
- moved shared and uibase libraries to namespaces
- bugfix: the "fix mods" function was accessing the save game data incorrectly, causing a crash
Diffstat (limited to 'src/fomodinstallerdialog.h')
-rw-r--r--src/fomodinstallerdialog.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fomodinstallerdialog.h b/src/fomodinstallerdialog.h
index 875146a6..be4e34b2 100644
--- a/src/fomodinstallerdialog.h
+++ b/src/fomodinstallerdialog.h
@@ -98,7 +98,7 @@ public:
* @param tree input tree. (TODO isn't this the same as the tree passed in the constructor?)
* @return DataTree* a new tree with only the selected options and directories arranged correctly. The caller takes custody of this pointer!
**/
- DirectoryTree *updateTree(DirectoryTree *tree);
+ MOBase::DirectoryTree *updateTree(MOBase::DirectoryTree *tree);
protected:
@@ -170,7 +170,7 @@ private:
static PluginType getPluginType(const QString &typeString);
static bool byPriority(const FileDescriptor *LHS, const FileDescriptor *RHS);
- bool copyFileIterator(DirectoryTree *sourceTree, DirectoryTree *destinationTree, FileDescriptor *descriptor);
+ bool copyFileIterator(MOBase::DirectoryTree *sourceTree, MOBase::DirectoryTree *destinationTree, FileDescriptor *descriptor);
void readFileList(QXmlStreamReader &reader, std::vector<FileDescriptor*> &fileList);
void readPluginType(QXmlStreamReader &reader, Plugin &plugin);
void readConditionFlags(QXmlStreamReader &reader, Plugin &plugin);
@@ -190,10 +190,10 @@ private:
bool testVisible(int pageIndex);
bool nextPage();
void activateCurrentPage();
- void moveTree(DirectoryTree::Node *target, DirectoryTree::Node *source);
- DirectoryTree::Node *findNode(DirectoryTree::Node *node, const QString &path, bool create);
- void copyLeaf(DirectoryTree::Node *sourceTree, const QString &sourcePath,
- DirectoryTree::Node *destinationTree, const QString &destinationPath);
+ void moveTree(MOBase::DirectoryTree::Node *target, MOBase::DirectoryTree::Node *source);
+ MOBase::DirectoryTree::Node *findNode(MOBase::DirectoryTree::Node *node, const QString &path, bool create);
+ void copyLeaf(MOBase::DirectoryTree::Node *sourceTree, const QString &sourcePath,
+ MOBase::DirectoryTree::Node *destinationTree, const QString &destinationPath);
private: