ProjectInfo Class Reference

#include <projectmanager.h>

Inheritance diagram for ProjectInfo:

Inheritance graph
[legend]
Collaboration diagram for ProjectInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ProjectInfo (ProjectManager *projectManager, KTechlab *ktechlab)
 ~ProjectInfo ()
QString directory () const
bool saveAndClose ()
bool save ()
bool open (const KURL &url)

Detailed Description

Author:
David Saxton

Definition at line 238 of file projectmanager.h.


Member Function Documentation

QString ProjectInfo::directory (  )  const [inline]

Returns the directory that the project is saved in

Definition at line 249 of file projectmanager.h.

References ProjectItem::m_url.

Referenced by ProjectItem::build(), and ProjectManager::slotNewProject().

bool ProjectInfo::saveAndClose (  ) 

Saves the project information to file, and attempts to close all open project files.

Returns:
true iff succesful

Definition at line 869 of file projectmanager.cpp.

References ProjectItem::closeOpenFiles(), and save().

Referenced by ProjectManager::slotCloseProject().


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:55 2007 for KTechLab by  doxygen 1.5.1