• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KInterfaceDesigner Library
 

KInterfaceDesigner Library

  • KInterfaceDesigner
  • Designer
Signals | Public Member Functions | List of all members
KInterfaceDesigner::Designer Class Referenceabstract

#include <designer.h>

Inherits ReadWritePart.

Signals

void addedFunction (DesignerType type, const TQString &formName, Function function)
 
void removedFunction (DesignerType type, const TQString &formName, Function function)
 
void editedFunction (DesignerType type, const TQString &formName, Function oldFunction, Function function)
 
void editFunction (DesignerType type, const TQString &formName, const TQString &functionName)
 
void editSource (DesignerType type, const TQString &formName)
 
void newStatus (const TQString &formName, int status)
 

Public Member Functions

 Designer (TQObject *parent, const char *name)
 
virtual void openProject (const TQString &projectFile)=0
 
virtual DesignerType designerType ()=0
 

Detailed Description

GUI Designer Part Interface.

Each KPart that wants to act as a GUI Designer must implement this interface. It defines necessary signals to communicate with an IDE and abstract virtual functions to determine designer type.

Parts that implement this interface must emit its signals when necessary. See signals documentation for an explanation on when to emit those.

If a part which can "design" user interface files of a certain mimetype implements this interface and sets itself as a default handler for that mimetype then it becomes automatically integrated into TDevelop IDE.

Definition at line 66 of file designer.h.

Member Function Documentation

◆ addedFunction

void KInterfaceDesigner::Designer::addedFunction ( DesignerType  type,
const TQString &  formName,
Function  function 
)
signal

Emit this signal when a function was added by a designer.

For example, when a slot or a callback function was defined.

◆ designerType()

virtual DesignerType KInterfaceDesigner::Designer::designerType ( )
pure virtual

Reimplement this return the type of this designer.

◆ editedFunction

void KInterfaceDesigner::Designer::editedFunction ( DesignerType  type,
const TQString &  formName,
Function  oldFunction,
Function  function 
)
signal

Emit this signal when a function signature was edited by a designer.

◆ editFunction

void KInterfaceDesigner::Designer::editFunction ( DesignerType  type,
const TQString &  formName,
const TQString &  functionName 
)
signal

Emit this signal when a designer wants to open the editor with function definition.

◆ editSource

void KInterfaceDesigner::Designer::editSource ( DesignerType  type,
const TQString &  formName 
)
signal

Emit this signal when a designer wants to open the editor for a form sources.

◆ newStatus

void KInterfaceDesigner::Designer::newStatus ( const TQString &  formName,
int  status 
)
signal

Emitted when a form state is changed in the designer.

Parameters
formNameAn absolute name of the form file.
status0: form is clean, 1: form is modified.

◆ openProject()

virtual void KInterfaceDesigner::Designer::openProject ( const TQString &  projectFile)
pure virtual

Reimplement this to be able to open projects.

◆ removedFunction

void KInterfaceDesigner::Designer::removedFunction ( DesignerType  type,
const TQString &  formName,
Function  function 
)
signal

Emit this signal when a function was removed by a designer.


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

KInterfaceDesigner Library

Skip menu "KInterfaceDesigner Library"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KInterfaceDesigner Library

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