Provides a collection of tools around QObject.  
 More...
#include <qttools/core/qobject_utils.h>
 | 
| static void  | forwardSignal (const QObject *sender, const QObject *resender, const char *signal) | 
|   | 
| template<typename PARENT_TYPE >  | 
| static const PARENT_TYPE *  | constFindParent (const QObject *object) | 
|   | 
| template<typename PARENT_TYPE >  | 
| static PARENT_TYPE *  | findParent (QObject *object) | 
|   | 
| template<typename QOBJECT , typename ENUM >  | 
| static ENUM  | toQEnumValue (const char *enumName, int value) | 
|   | Safe cast of an integer to a Q_ENUM value.  More...
  | 
|   | 
| template<typename QOBJECT , typename ENUM >  | 
| static std::vector< ENUM >  | allQEnumValues (const char *enumName) | 
|   | All enumerator values of QOBJECT::ENUM returned in a single array.  More...
  | 
|   | 
Provides a collection of tools around QObject. 
 
template<typename QOBJECT , typename ENUM > 
  
  
      
        
          | std::vector< ENUM > qtcore::QObjectUtils::allQEnumValues  | 
          ( | 
          const char *  | 
          enumName | ) | 
           | 
         
       
   | 
  
static   | 
  
 
All enumerator values of QOBJECT::ENUM returned in a single array. 
- Template Parameters
 - 
  
    | QOBJECT | A QObject type, or a class marked at least with Q_GADGET (eg. QLocale)  | 
    | ENUM | An enum type, declared in QOBJECT and marked with Q_ENUM (eg. QLocale::Country)  | 
  
   
- Parameters
 - 
  
    | enumName | Name of the enumerator type (eg. "Country" for QLocale::Country)  | 
  
   
 
 
template<typename PARENT_TYPE > 
  
  
      
        
          | const PARENT_TYPE * qtcore::QObjectUtils::constFindParent  | 
          ( | 
          const QObject *  | 
          object | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
template<typename PARENT_TYPE > 
  
  
      
        
          | PARENT_TYPE * qtcore::QObjectUtils::findParent  | 
          ( | 
          QObject *  | 
          object | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | void qtcore::QObjectUtils::forwardSignal  | 
          ( | 
          const QObject *  | 
          sender,  | 
         
        
           | 
           | 
          const QObject *  | 
          resender,  | 
         
        
           | 
           | 
          const char *  | 
          signal  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
template<typename QOBJECT , typename ENUM > 
  
  
      
        
          | ENUM qtcore::QObjectUtils::toQEnumValue  | 
          ( | 
          const char *  | 
          enumName,  | 
         
        
           | 
           | 
          int  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Safe cast of an integer to a Q_ENUM value. 
 
 
The documentation for this class was generated from the following files: