rocs/RocsCore
Go to the documentation of this file.
28 #include <QScopedPointer>
64 explicit Project(
const KUrl &projectFile);
73 explicit Project(
const KUrl &projectArchive,
const KUrl &projectDirectory);
83 QString projectDirectory()
const;
85 KUrl projectFile()
const;
92 void setProjectFile(
const KUrl &fileUrl);
99 void setName(
const QString &name);
106 QString name()
const;
119 void setModified(
bool modified=
true);
126 bool isModified()
const;
133 QList<KUrl> codeFiles()
const;
141 QList<KTextEditor::Document*> codeFilesNew()
const;
150 void addCodeFileNew(KTextEditor::Document *
document);
157 int addCodeFile(
const KUrl &file);
167 void saveCodeFileNew(KTextEditor::Document *document,
const KUrl &file);
174 void removeCodeFileNew(KTextEditor::Document *document);
181 void removeCodeFile(
int fileID);
188 QList<KUrl> graphFiles()
const;
197 void addGraphFileNew(
Document *document);
204 int addGraphFile(
const KUrl &file);
214 void saveGraphFileNew(
Document *document,
const QString &file);
219 void saveGraphFileAs(
Document *document,
const QString &file);
226 void removeGraphFileNew(
Document *document);
233 void removeGraphFile(
int fileID);
240 void setJournalFile(
const KUrl &file);
247 KUrl journalFile()
const;
257 bool writeProjectFile(
const QString& fileUrl = QString());
265 bool exportProject(
const KUrl &exportUrl);
268 bool writeNewProjectFile();
269 const QScopedPointer<ProjectPrivate> d;
A "Project" object represents the compilation of file pointers that form a Rocs project.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.