Public Member Functions | Public Attributes | List of all members
pqConnect Struct Reference

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

#include <pqConnect.h>

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 23 of file pqConnect.h.

Constructor & Destructor Documentation

◆ pqConnect()

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

Member Data Documentation

◆ Signal

const char* pqConnect::Signal

Definition at line 27 of file pqConnect.h.

◆ Receiver

const QObject* pqConnect::Receiver

Definition at line 28 of file pqConnect.h.

◆ Method

const char* pqConnect::Method

Definition at line 29 of file pqConnect.h.


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