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

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

#include <pqSetData.h>

Public Member Functions

 pqSetData (const QVariant &Data)
 

Public Attributes

const QVariant Data
 

Detailed Description

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

menu->addAction("Open") << pqSetData("My Private Data");
See also
pqSetName, pqConnect

Definition at line 22 of file pqSetData.h.

Constructor & Destructor Documentation

◆ pqSetData()

pqSetData::pqSetData ( const QVariant &  Data)

Member Data Documentation

◆ Data

const QVariant pqSetData::Data

Definition at line 25 of file pqSetData.h.


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