ProgramPage Class Reference

#include <programpage.h>

List of all members.

Public Slots

void removeProgram ()
void saveProgramParameters ()
bool saveProgramScript ()
void nameChanged (const QString &name)
void scriptModified ()
void helpModified ()
void resetModificationStatus ()

Signals

void programToRemove (ProgramPage *programPage)
void programNameChanged (ProgramPage *programPage, const QString &name, QString message, QString title)
void scriptShown (Kate::View *scriptView)
void scriptHidden ()

Public Member Functions

 ProgramPage (bool expertMode, QWidget *parent=0, const char *name=0)
ParameterPagegetParameterPage ()
KTextEditor::Document * getScript ()
Kate::View * getScriptView ()
QString getHelp ()
void setHelp (QString helpContent)
bool areParametersModified () const
bool isDescriptionModified () const
bool isDescriptionModifiedAndNotSaved () const
bool isScriptModified () const
void initialisationOver ()


Detailed Description

Author:
Lynn Hazan


Constructor & Destructor Documentation

ProgramPage::ProgramPage ( bool  expertMode,
QWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

Parameters:
expertMode true if the file is opened in expert mode, false otherwise.
parent the parent QWidget.
name name of the widget (can be used for introspection).


Member Function Documentation

ParameterPage* ProgramPage::getParameterPage (  )  [inline]

Returns the parameterPage contained in the page.

KTextEditor::Document* ProgramPage::getScript (  )  [inline]

Returns the script document (Kate::Document, kpart) contained in the page.

Kate::View* ProgramPage::getScriptView (  )  [inline]

Returns the script view(Kate::View, kpart) contained in the page.

QString ProgramPage::getHelp (  ) 

Returns the content of the help.

void ProgramPage::setHelp ( QString  helpContent  ) 

Sets the content of the help.

bool ProgramPage::areParametersModified (  )  const

True if the ParameterPage has been modified, false otherwise.

bool ProgramPage::isDescriptionModified (  )  const

True if the program description has been modified, false otherwise. The program description includes the program name, the number of parameters, their name and status, and the help.

bool ProgramPage::isDescriptionModifiedAndNotSaved (  )  const

True if the program description has been modified and not saved, false otherwise. The program description includes the program name, the number of parameters, their name and status, and the help.

bool ProgramPage::isScriptModified (  )  const [inline]

True if the script has been modified, false otherwise.

void ProgramPage::initialisationOver (  )  [inline]

Indicates that the initialisation is finished.

void ProgramPage::saveProgramParameters (  )  [slot]

Saves the program parameters.

bool ProgramPage::saveProgramScript (  )  [slot]

Saves the currently loaded script.

Returns:
true if the script has been correctly save false otherwise.

void ProgramPage::nameChanged ( const QString &  name  )  [slot]

Takes the change if the program name into account.

Parameters:
name name of the program.

void ProgramPage::scriptModified (  )  [inline, slot]

Will be called when the script is modified.

void ProgramPage::helpModified (  )  [inline, slot]

Will be called when the help is modified.

void ProgramPage::resetModificationStatus (  )  [inline, slot]

Resets the internal modification status to false.


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