ParaView
Public Member Functions | Public Attributes
pqConnect Struct Reference

Using pqConnect, you can create and initialize Qt objects without having to create a bunch of temporaries: More...

#include <pqConnect.h>

List of all members.

Public Member Functions

 pqConnect (const char *Signal, const QObject *Receiver, const char *Method)

Public Attributes

const char * Signal
const QObject * Receiver
const char * Method

Detailed Description

Using pqConnect, you can create and initialize Qt objects without having to create a bunch of temporaries:

  menu->addAction("Open") << pqConnect(SIGNAL(triggered()), this, SLOT(onTriggered()));
See also:
pqSetName, pqSetData

Definition at line 50 of file pqConnect.h.


Constructor & Destructor Documentation

pqConnect::pqConnect ( const char *  Signal,
const QObject *  Receiver,
const char *  Method 
)

Member Data Documentation

const char* pqConnect::Signal

Definition at line 54 of file pqConnect.h.

const QObject* pqConnect::Receiver

Definition at line 55 of file pqConnect.h.

const char* pqConnect::Method

Definition at line 56 of file pqConnect.h.


The documentation for this struct was generated from the following file: