• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

Public Slots | Public Member Functions | List of all members
KDevDesignerIntegration Class Referenceabstract

#include <kdevdesignerintegration.h>

Inherits TQObject.

Public Slots

virtual void addFunction (const TQString &formName, KInterfaceDesigner::Function function)=0
 
virtual void removeFunction (const TQString &formName, KInterfaceDesigner::Function function)=0
 
virtual void editFunction (const TQString &formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)=0
 
virtual void openFunction (const TQString &formName, const TQString &functionName)=0
 
virtual void openSource (const TQString &formName)=0
 

Public Member Functions

 KDevDesignerIntegration (TQObject *parent=0, const char *name=0)
 
 ~KDevDesignerIntegration ()
 
virtual void saveSettings (TQDomDocument dom, TQString path)=0
 
virtual void loadSettings (TQDomDocument dom, TQString path)=0
 

Detailed Description

TDevelop designer integration interface.

Designer integration object provides functionality which is used by integrated into KDevelop GUI designers:

  • adding/removing/editing functions (class methods);
  • opening form implementation files;
  • saving and loading designer integration settings.

Designer integration is a layer between visual form (GUI) designer of any type and the current language support. Usually designers create some kind of forms and allow developers to define actions which are executed upon some GUI events (for example, TQt Designer allows to define slots connected to GUI signals). The actual code with action implementations needs to be written by hand in source files. Designer integration captures such implementation requests and opens necessary files at desired line numbers and adds (edits, removes) code for implementations.

For example, TQt Designer integration should be able to create an subclass for a form and reimplement slots defined in the form.

Definition at line 51 of file kdevdesignerintegration.h.

Constructor & Destructor Documentation

◆ KDevDesignerIntegration()

KDevDesignerIntegration::KDevDesignerIntegration ( TQObject *  parent = 0,
const char *  name = 0 
)

Constructor.

Parameters
parentParent object.
nameInternal name.

Definition at line 27 of file kdevdesignerintegration.cpp.

◆ ~KDevDesignerIntegration()

KDevDesignerIntegration::~KDevDesignerIntegration ( )

Destructor.

Definition at line 35 of file kdevdesignerintegration.cpp.

Member Function Documentation

◆ addFunction

virtual void KDevDesignerIntegration::addFunction ( const TQString &  formName,
KInterfaceDesigner::Function  function 
)
pure virtualslot

Adds the implementation for a function.

Parameters
formNameThe name of a GUI form.
functionThe function which needs to be implemented in the source.

◆ editFunction

virtual void KDevDesignerIntegration::editFunction ( const TQString &  formName,
KInterfaceDesigner::Function  oldFunction,
KInterfaceDesigner::Function  function 
)
pure virtualslot

Edites the implementation of a function.

Parameters
formNameThe name of a GUI form.
oldFunctionThe function which needs to be edited from the source.
functionThe new function declaration.

◆ loadSettings()

virtual void KDevDesignerIntegration::loadSettings ( TQDomDocument  dom,
TQString  path 
)
pure virtual

Loads designer integration settings.

◆ openFunction

virtual void KDevDesignerIntegration::openFunction ( const TQString &  formName,
const TQString &  functionName 
)
pure virtualslot

Opens the function and jumps to the line number of its definition (declaration).

Parameters
formNameThe name of a GUI form.
functionNameThe name of a function to find in the source.

◆ openSource

virtual void KDevDesignerIntegration::openSource ( const TQString &  formName)
pure virtualslot

Opens the form source.

Parameters
formNameThe name of a GUI form.

◆ removeFunction

virtual void KDevDesignerIntegration::removeFunction ( const TQString &  formName,
KInterfaceDesigner::Function  function 
)
pure virtualslot

Removes the implementation of a function.

Parameters
formNameThe name of a GUI form.
functionThe function which needs to be removed from the source.

◆ saveSettings()

virtual void KDevDesignerIntegration::saveSettings ( TQDomDocument  dom,
TQString  path 
)
pure virtual

Saves designer integration settings.


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

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces 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 TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.