Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPP::WriteIncludes Class Reference

#include <cppwriteincludes.h>

+ Inheritance diagram for CPP::WriteIncludes:
+ Collaboration diagram for CPP::WriteIncludes:

Public Member Functions

 WriteIncludes (Uic *uic)
 
void acceptUI (DomUI *node) override
 
void acceptInclude (DomInclude *node) override
 
- Public Member Functions inherited from WriteIncludesBase
 WriteIncludesBase (Uic *uic)
 
void acceptUI (DomUI *node) override
 
void acceptWidget (DomWidget *node) override
 
void acceptLayout (DomLayout *node) override
 
void acceptSpacer (DomSpacer *node) override
 
void acceptProperty (DomProperty *node) override
 
void acceptActionGroup (DomActionGroup *node) override
 
void acceptAction (DomAction *node) override
 
void acceptActionRef (DomActionRef *node) override
 
void acceptCustomWidget (DomCustomWidget *node) override
 
- Public Member Functions inherited from TreeWalker
 TreeWalker ()=default
 
virtual ~TreeWalker ()=default
 
virtual void acceptLayoutDefault (DomLayoutDefault *layoutDefault)
 
virtual void acceptLayoutFunction (DomLayoutFunction *layoutFunction)
 
virtual void acceptTabStops (DomTabStops *tabStops)
 
virtual void acceptCustomWidgets (DomCustomWidgets *customWidgets)
 
virtual void acceptLayoutItem (DomLayoutItem *layoutItem)
 
virtual void acceptColor (DomColor *color)
 
virtual void acceptColorGroup (DomColorGroup *colorGroup)
 
virtual void acceptPalette (DomPalette *palette)
 
virtual void acceptFont (DomFont *font)
 
virtual void acceptPoint (DomPoint *point)
 
virtual void acceptRect (DomRect *rect)
 
virtual void acceptSizePolicy (DomSizePolicy *sizePolicy)
 
virtual void acceptSize (DomSize *size)
 
virtual void acceptDate (DomDate *date)
 
virtual void acceptTime (DomTime *time)
 
virtual void acceptDateTime (DomDateTime *dateTime)
 
virtual void acceptIncludes (DomIncludes *includes)
 
virtual void acceptConnections (DomConnections *connections)
 
virtual void acceptConnection (DomConnection *connection)
 
virtual void acceptConnectionHints (DomConnectionHints *connectionHints)
 
virtual void acceptConnectionHint (DomConnectionHint *connectionHint)
 
virtual void acceptButtonGroups (const DomButtonGroups *buttonGroups)
 
virtual void acceptButtonGroup (const DomButtonGroup *buttonGroup)
 

Protected Member Functions

QTextStreamoutput () const
 
void doAdd (const QString &className, const DomCustomWidget *dcw=nullptr) override
 
- Protected Member Functions inherited from WriteIncludesBase
void add (const QString &className, const DomCustomWidget *dcw=nullptr)
 
const Uicuic () const
 
Uicuic ()
 

Additional Inherited Members

- Public Types inherited from TreeWalker
using DomWidgets = QList<DomWidget *>
 

Detailed Description

Definition at line 19 of file cppwriteincludes.h.

Constructor & Destructor Documentation

◆ WriteIncludes()

CPP::WriteIncludes::WriteIncludes ( Uic * uic)

Definition at line 34 of file cppwriteincludes.cpp.

References WriteIncludesBase::WriteIncludesBase(), classInfoEntries(), and Uic::output().

Referenced by Uic::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ acceptInclude()

void CPP::WriteIncludes::acceptInclude ( DomInclude * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 145 of file cppwriteincludes.cpp.

◆ acceptUI()

void CPP::WriteIncludes::acceptUI ( DomUI * node)
overridevirtual

Reimplemented from TreeWalker.

Definition at line 55 of file cppwriteincludes.cpp.

References WriteIncludesBase::acceptUI().

Referenced by Uic::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doAdd()

void CPP::WriteIncludes::doAdd ( const QString & className,
const DomCustomWidget * dcw = nullptr )
overrideprotectedvirtual

Implements WriteIncludesBase.

Definition at line 121 of file cppwriteincludes.cpp.

◆ output()

QTextStream & CPP::WriteIncludes::output ( ) const
inlineprotected

Definition at line 28 of file cppwriteincludes.h.


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