# class toConnectionWidget

This class is used to hold connections for toResult classes. More...

Definition | `#include <totool.h>`
Inherited by | toToolWidget
List of all Methods

Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- toConnectionWidget (toConnection &conn,QWidget *widget)
- toConnectionWidget (QWidget *widget)
- virtual ~toConnectionWidget ()
- virtual void setConnection (toConnection &conn)
- virtual toConnection & connection ()

## Detailed Description

This class is used to hold connections for toResult classes. Must be multiply inherited by a widget otherwise it will go kaboom. It will dynamic cast itself to a QWidget from time to time so if that doesn't resolve correctly it will not work.

toConnectionWidget (toConnection &conn,QWidget *widget)

### toConnectionWidget

Constructor with the connection it should be set to initially.

toConnectionWidget (QWidget *widget)

### toConnectionWidget

Constructor without a connection. Will inherit the connection from a parent connection widget.

~toConnectionWidget ()

### ~toConnectionWidget

[virtual]

Destructor.

void setConnection (toConnection &conn)

### setConnection

[virtual]

Change connection of the widget.

toConnection & connection ()

### connection

[virtual]

Get the connection it is pointed to.

Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.