ndManagerDoc Class Reference

#include <ndmanagerdoc.h>

List of all members.

Public Types

enum  OpenSaveCreateReturnMessage {
  OK = 0, OPEN_ERROR = 1, DOWNLOAD_ERROR = 3, INCORRECT_FILE = 4,
  SAVE_ERROR = 5, UPLOAD_ERROR = 6, INCORRECT_CONTENT = 7, CREATION_ERROR = 8,
  PARSE_ERROR = 9, MISSING_FILE = 10, ALREADY_OPENED = 11
}

Public Member Functions

 ndManagerDoc (QWidget *parent)
void closeDocument ()
OpenSaveCreateReturnMessage openDocument (const KURL &url)
const KURL & url () const
OpenSaveCreateReturnMessage newDocument ()
OpenSaveCreateReturnMessage save ()
OpenSaveCreateReturnMessage save (KURL url)
OpenSaveCreateReturnMessage saveAs (KURL newUrl)
OpenSaveCreateReturnMessage saveDefault ()
OpenSaveCreateReturnMessage saveScript (QString scriptName)
void rename (KURL newUrl)


Detailed Description

Author:
Lynn Hazan


Member Enumeration Documentation

enum ndManagerDoc::OpenSaveCreateReturnMessage

Information retun after a call to openFile/saveDocument/createFeatureFile


Constructor & Destructor Documentation

ndManagerDoc::ndManagerDoc ( QWidget *  parent  ) 

Constructor.

Parameters:
parent the parent QWidget.


Member Function Documentation

void ndManagerDoc::closeDocument (  ) 

closes the actual document.

ndManagerDoc::OpenSaveCreateReturnMessage ndManagerDoc::openDocument ( const KURL &  url  ) 

opens the document by filename.

Parameters:
url url of the file to open (dat file or eeg file).
Returns:
an opensavecreatereturnmessage enum giving the open status.

const KURL& ndManagerDoc::url (  )  const [inline]

Returns the KURL of the document.

ndManagerDoc::OpenSaveCreateReturnMessage ndManagerDoc::newDocument (  ) 

Loads information in order to create a new the document .

Returns:
an opensavecreatereturnmessage enum giving the initialization status.

OpenSaveCreateReturnMessage ndManagerDoc::save (  )  [inline]

Saves the current parameter file.

Returns:
an OpenSaveCreateReturnMessage enum giving the saving status.

ndManagerDoc::OpenSaveCreateReturnMessage ndManagerDoc::save ( KURL  url  ) 

Saves the current parameter file on the disk at the location defined by url.

Parameters:
url url of the file where to save the parameter information.
Returns:
an OpenSaveCreateReturnMessage enum giving the saving status.

OpenSaveCreateReturnMessage ndManagerDoc::saveAs ( KURL  newUrl  )  [inline]

Saves the parameter file.

Parameters:
newUrl new url where to write the parameter fil to.
Returns:
an OpenSaveCreateReturnMessage enum giving the saving status.

ndManagerDoc::OpenSaveCreateReturnMessage ndManagerDoc::saveDefault (  ) 

Save the current parameter file as the default one in the user .kde directory.

ndManagerDoc::OpenSaveCreateReturnMessage ndManagerDoc::saveScript ( QString  scriptName  ) 

Saves the script scriptName.

Parameters:
scriptName name of the script to save.
Returns:
an OpenSaveCreateReturnMessage enum giving the saving status.

void ndManagerDoc::rename ( KURL  newUrl  )  [inline]

Renames the parameter file.

Parameters:
newUrl new url where to write the parameter fil to.


The documentation for this class was generated from the following files:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1