Qt 4.8
Public Functions | Public Variables | List of all members
QMdi::ControlElement< T > Class Template Reference

#include <qmdisubwindow_p.h>

Inheritance diagram for QMdi::ControlElement< T >:

Public Functions

 ControlElement (QMdiSubWindow *child)
 
void * qt_metacast (const char *classname)
 

Public Variables

QPointer< QMdiSubWindowmdiChild
 

Detailed Description

template<typename T>
class QMdi::ControlElement< T >

Definition at line 75 of file qmdisubwindow_p.h.

Constructors and Destructors

◆ ControlElement()

template<typename T>
QMdi::ControlElement< T >::ControlElement ( QMdiSubWindow child)
inline

Definition at line 78 of file qmdisubwindow_p.h.

78  : T(child, 0)
79  {
80  Q_ASSERT(child);
81  mdiChild = child;
82  }
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
QPointer< QMdiSubWindow > mdiChild

Functions

◆ qt_metacast()

template<typename T>
void* QMdi::ControlElement< T >::qt_metacast ( const char *  classname)
inline

Definition at line 84 of file qmdisubwindow_p.h.

85  {
86  if (classname && strcmp(classname, "ControlElement") == 0)
87  return this;
88  return 0;
89  }

Properties

◆ mdiChild

template<typename T>
QPointer<QMdiSubWindow> QMdi::ControlElement< T >::mdiChild

Definition at line 91 of file qmdisubwindow_p.h.

Referenced by QMdi::ControlElement< T >::ControlElement().


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