Qt 4.8
Public Functions | Public Variables | List of all members
QGestureManager::ObjectGesture Struct Reference

Public Functions

 ObjectGesture (QObject *o, const Qt::GestureType &g)
 
bool operator< (const ObjectGesture &rhs) const
 

Public Variables

Qt::GestureType gesture
 
QObjectobject
 

Detailed Description

Definition at line 107 of file qgesturemanager_p.h.

Constructors and Destructors

◆ ObjectGesture()

QGestureManager::ObjectGesture::ObjectGesture ( QObject o,
const Qt::GestureType g 
)
inline

Definition at line 112 of file qgesturemanager_p.h.

Functions

◆ operator<()

bool QGestureManager::ObjectGesture::operator< ( const ObjectGesture rhs) const
inline

Definition at line 113 of file qgesturemanager_p.h.

114  {
115  if (object < rhs.object)
116  return true;
117  if (object == rhs.object)
118  return gesture < rhs.gesture;
119  return false;
120  }

Properties

◆ gesture

Qt::GestureType QGestureManager::ObjectGesture::gesture

◆ object

QObject* QGestureManager::ObjectGesture::object

Definition at line 109 of file qgesturemanager_p.h.

Referenced by QGestureManager::cleanupCachedGestures(), and operator<().


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