mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
Changed the way the application loads elements collections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1217 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -52,7 +52,7 @@ class QETDiagramEditor : public QMainWindow {
|
||||
void closeEvent(QCloseEvent *);
|
||||
QList<ProjectView *> openedProjects() const;
|
||||
void addProjectView(ProjectView *);
|
||||
bool openAndAddProject(const QString &, bool interactive = true);
|
||||
bool openAndAddProject(const QString &, bool = true, bool = true);
|
||||
QList<DiagramView *> projectViews() const;
|
||||
QList<QString> editedFiles() const;
|
||||
ProjectView *viewForFile(const QString &) const;
|
||||
@@ -67,7 +67,7 @@ class QETDiagramEditor : public QMainWindow {
|
||||
virtual bool event(QEvent *);
|
||||
|
||||
private:
|
||||
bool addProject(QETProject *);
|
||||
bool addProject(QETProject *, bool = true);
|
||||
ProjectView *currentProject() const;
|
||||
DiagramView *currentDiagram() const;
|
||||
ProjectView *findProject(DiagramView *) const;
|
||||
|
||||
Reference in New Issue
Block a user