PACK WOC  $VERSION$
Public Member Functions | List of all members
WocQtServerOut Class Reference

specialization that generates adequate output for Qt servers More...

#include <qtout.h>

Inheritance diagram for WocQtServerOut:
WocQtOut WocOutput

Public Member Functions

 WocQtServerOut (QDomElement &)
 
- Public Member Functions inherited from WocQtOut
 WocQtOut (QDomElement &)
 creates a Qt output object from the corresponding XML tag that specifies what kind of output is desired. More...
 
 ~WocQtOut ()=0
 deletes the output object More...
 
void addIfaceHeaderPrefix (const QString &s)
 adds data to the prefix section of the interface class header, this is for #include's and forward declarations More...
 
void addIfaceHeaderClass (const QString &s)
 adds data to the class body of the interface class header, this is for method declarations More...
 
void addIfaceImpl (const QString &)
 adds code to the implementation file of the interface class More...
 
QString qttype (const WocClass &, QString, bool dolist=true)
 helper: generate a proper Qt type for a property More...
 
QString qttype (const WocTransaction &, QString, InOut)
 helper: generate a proper QT type for a transaction variable More...
 
QString qtobjtype (const WocTransaction &, QString, InOut)
 helper: generate a proper QT type for a transaction variable, WO* only More...
 
void addFile (QString basename)
 helper: adds a file to the project file More...
 
void addFile (FileType kind, QString fname)
 helper: adds a file to the project file More...
 
void addProjectLine (QString)
 helper: add a line to the project file More...
 
void addPostIface (QString)
 helper: adds a line after the class definition of the interface class More...
 
QString ifaceClassName () const
 helper: returns the class name of the interface class More...
 
QString namePrefix () const
 returns the class name prefix configured for this output More...
 
QString sharedPrefix () const
 returns the class name prefix for shared or unshared classes More...
 
QString languageSpec () const
 returns the language output spec More...
 
QString baseDir () const
 returns the base directory of the project More...
 
QString subDir () const
 returns the sub directory relative to the project where to store files More...
 
QString destinationPath () const
 returns the complete path for files, baseDir()+subDir() More...
 
QString transactionBase () const
 returns the base class of all transactions More...
 
QByteArray exportLines () const
 returns some lines of code to define an export symbol More...
 
QString exportSymbol () const
 returns the name of the preprocessor symbol used for export More...
 
- Public Member Functions inherited from WocOutput
 WocOutput ()
 the constructor should set up and initialize the environment of the generator More...
 
virtual ~WocOutput ()
 currently there is no guarantee that the destructor is ever called. More...
 

Additional Inherited Members

- Public Types inherited from WocQtOut
enum  FileType { Header, Source }
 types of files generated More...
 
enum  InOut { In, Out }
 
- Signals inherited from WocOutput
void errorFound ()
 
- Protected Slots inherited from WocOutput
- Protected Member Functions inherited from WocQtOut
virtual void finalize ()
 overloaded slot, called when parsing is finished More...
 
virtual void newClass (const WocClass &)
 overloaded slot, called for each new class More...
 
virtual void newTable (const WocTable &)
 overloaded slot, called for each new table More...
 
virtual void newTransaction (const WocTransaction &)
 overloaded slot, called for each new transaction More...
 
- Protected Attributes inherited from WocQtOut
QString m_lang
 
WocQtClassqclass
 
WocQtTableqtable
 
WocQtTransactionqtrans
 

Detailed Description

specialization that generates adequate output for Qt servers

Constructor & Destructor Documentation

WocQtServerOut::WocQtServerOut ( QDomElement &  el)
explicit

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