Relacs Core Library  0.9.8
Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
ReProData Class Reference

#include <repros.h>

Inheritance diagram for ReProData:
Inheritance graph
[legend]
Collaboration diagram for ReProData:
Collaboration graph
[legend]

Public Slots

void start (void)
 
void dialog (void)
 
void acceptDialog (void)
 
void dialogAction (int r)
 
void dialogClosed (int r)
 
void raise (void)
 
void reload (void)
 
void help (void)
 

Signals

void stopRePro (void)
 
void startRePro (RePro *repro, int macroaction, bool saving)
 
void noMacro (RePro *repro)
 
void reloadRePro (const string &name)
 

Public Member Functions

 ReProData (const string &name, RePro *repro, Options &dopt, RePros *rps, RELACSWidget *rw)
 
void addMenu (QMenu *menu, int inx, bool doxydoc)
 
string name (void) const
 
ReProrepro (void)
 

Public Attributes

string Name
 
ReProRP
 
Options CO
 
OptionsDO
 
ReProsRPs
 
RELACSWidgetRW
 

Detailed Description

Additional Data for a RePro used by RePros.

Author
Jan Benda
Version
1.0

Constructor & Destructor Documentation

ReProData ( const string &  name,
RePro repro,
Options dopt,
RePros rps,
RELACSWidget rw 
)

Member Function Documentation

void addMenu ( QMenu *  menu,
int  inx,
bool  doxydoc 
)

Adds the submenu for this RePro with index inx to menu. Add an action "doxygen" to the menu, if doxydoc is true. This writes the RePro's options to standard output in a format that can be used for the doxygen documentation of the RePro.

References ReProData::dialog(), ReProData::help(), ReProData::reload(), ReProData::RP, ReProData::start(), and RELACSPlugin::uniqueName().

string name ( void  ) const
Returns
the name of the RePro.

References ReProData::Name.

Referenced by ReProData::ReProData().

RePro * repro ( void  )
Returns
a pointer to the RePro.

References ReProData::RP.

Referenced by ReProData::ReProData().

void start ( void  )
slot
void dialog ( void  )
slot
void acceptDialog ( void  )
slot
void dialogAction ( int  r)
slot
void dialogClosed ( int  r)
slot
void raise ( void  )
slot
void reload ( void  )
slot
void help ( void  )
slot

References ConfigDialog::help(), and ReProData::RP.

Referenced by ReProData::addMenu().

void stopRePro ( void  )
signal

Stop the currently running repro.

Referenced by ReProData::start().

void startRePro ( RePro repro,
int  macroaction,
bool  saving 
)
signal

Start repro.

Referenced by ReProData::start().

void noMacro ( RePro repro)
signal

This is emitted right before startRePro() in order to indicate that the repro was not started from a macro.

Referenced by ReProData::start().

void reloadRePro ( const string &  name)
signal

The repro name was reloaded.

Referenced by ReProData::reload(), and ReProData::ReProData().

Member Data Documentation

string Name
RePro* RP
Options CO
Options* DO
RePros* RPs

The documentation for this class was generated from the following files: