• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Designer Integration Support Library
 

KDevelop Designer Integration Support Library

Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
ImplementationWidget Class Referenceabstract

#include <implementationwidget.h>

Inherits CreateImplemenationWidgetBase.

Public Member Functions

 ImplementationWidget (KDevLanguageSupport *part, TQWidget *parent=0, const char *name=0, bool modal=false)
 
ClassDom selectedClass ()
 
int exec (const TQString &formName)
 

Protected Slots

virtual void classNameChanged (const TQString &text)
 
virtual void accept ()
 

Protected Member Functions

void init (const TQString &formName)
 
void processNamespaces (NamespaceDom dom, TDEListViewItem *parent)
 
void processClasses (ClassDom dom, TDEListViewItem *parent)
 
bool createClass ()
 
virtual TQStringList createClassFiles ()=0
 

Protected Attributes

KDevLanguageSupport * m_part
 
ClassDom m_selectedClass
 
TQString m_formName
 
TQString m_baseClassName
 

Detailed Description

Base class for implementation creation widgets.

Contains language-independent implementation widget that can be used to create or select an implementation of a form in designer.

Implementations could be subclasses or simple files with callbacks, etc.

Subclasses of this class should reimplement only pure virtual functions in the common case.

Definition at line 40 of file implementationwidget.h.

Member Function Documentation

◆ createClass()

bool ImplementationWidget::createClass ( )
protected

Creates a class and adds it to a project.

No need to reimplement.

Definition at line 145 of file implementationwidget.cpp.

◆ createClassFiles()

virtual TQStringList ImplementationWidget::createClassFiles ( )
protectedpure virtual

Reimplement to create actual files with the form implementation.

Returns
The list of absolute paths to a files created.

◆ exec()

int ImplementationWidget::exec ( const TQString &  formName)

Executes implementation widget for a form formName.

Definition at line 151 of file implementationwidget.cpp.

◆ init()

void ImplementationWidget::init ( const TQString &  formName)
protected

Sets up the dialog.

No need to reimplement unless you want to restrict the number of classes being displayed as possible implementation classes.

Definition at line 69 of file implementationwidget.cpp.

◆ selectedClass()

ClassDom ImplementationWidget::selectedClass ( )
Returns
The DOM of selected (or created) class.

Definition at line 140 of file implementationwidget.cpp.


The documentation for this class was generated from the following files:
  • implementationwidget.h
  • implementationwidget.cpp

KDevelop Designer Integration Support Library

Skip menu "KDevelop Designer Integration Support Library"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Designer Integration Support Library

Skip menu "KDevelop Designer Integration Support Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Designer Integration Support Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.