const char *		T_PV
float			T_FLOAT
uint			T_IV
WFlags			T_IV
WId			T_IV
QCOORD			T_IV
QRgb			T_IV
QString			Q_String

QApplication::ColorMode	T_ENUM
QBoxLayout::Direction	T_ENUM
QComboBox::Policy	T_ENUM
QFont::CharSet		T_ENUM
QFont::StyleHint	T_ENUM
QLCDNumber::Mode	T_ENUM
QPixmap::ColorMode	T_ENUM
QPrinter::Orientation	T_ENUM
QPrinter::PageSize	T_ENUM
QScrollBar::Orientation	T_ENUM
QSlider::Orientation	T_ENUM
QSlider::TickSetting	T_ENUM
QWidget::FocusPolicy	T_ENUM

BGMode			T_ENUM
GUIStyle		T_ENUM
BrushStyle		T_ENUM
PenStyle		T_ENUM
RasterOp		T_ENUM

QAccel *		Qt_OBJECT
QApplication *		Qt_OBJECT
QBitmap *		Qt_OBJECT
QBoxLayout *		Qt_OBJECT
QBrush *		Qt_OBJECT
QButton *		Qt_OBJECT
QButtonGroup *		Qt_OBJECT
QCheckBox *		Qt_OBJECT
QClipboard *		Qt_OBJECT
QCloseEvent *		Qt_OBJECT
QColor *		Qt_OBJECT
QColorGroup *		Qt_OBJECT
QComboBox *		Qt_OBJECT
QCursor *		Qt_OBJECT
QDialog *		Qt_OBJECT
QEvent *		Qt_OBJECT
QFileDialog *		Qt_OBJECT
QFocusEvent *		Qt_OBJECT
QFont *			Qt_OBJECT
QFontInfo *		Qt_OBJECT
QFontMetrics *		Qt_OBJECT
QFrame *		Qt_OBJECT
QGridLayout *		Qt_OBJECT
QGroupBox *		Qt_OBJECT
QKeyEvent *		Qt_OBJECT
QLCDNumber *		Qt_OBJECT
QLabel *		Qt_OBJECT
QLayout *		Qt_OBJECT
QLineEdit *		Qt_OBJECT
QListBox *		Qt_OBJECT
QListBoxItem *		Qt_OBJECT
QMenuBar *		Qt_OBJECT
QMessageBox *		Qt_OBJECT
QMouseEvent *		Qt_OBJECT
QMoveEvent *		Qt_OBJECT
QMultiLineEdit *	Qt_OBJECT
QObject *		Qt_OBJECT
QPaintEvent *		Qt_OBJECT
QPainter *		Qt_OBJECT
QPalette *		Qt_OBJECT
QPen *			Qt_OBJECT
QPicture *		Qt_OBJECT
QPixmap *		Qt_OBJECT
QPoint *		Qt_OBJECT
QPointArray *		Qt_OBJECT
QPopupMenu *		Qt_OBJECT
QPrinter *		Qt_OBJECT
QPushButton *		Qt_OBJECT
QRadioButton *		Qt_OBJECT
QRect *			Qt_OBJECT
QRegion *		Qt_OBJECT
QResizeEvent *		Qt_OBJECT
QScrollBar *		Qt_OBJECT
QSize *			Qt_OBJECT
QSlider *		Qt_OBJECT
QTab *			Qt_OBJECT
QTabBar *		Qt_OBJECT
QTabDialog *		Qt_OBJECT
QTableView *		Qt_OBJECT
QTimer *		Qt_OBJECT
QTimerEvent *		Qt_OBJECT
QToolTip *		Qt_OBJECT
QToolTipGroup *		Qt_OBJECT
QWidget *		Qt_OBJECT
QWMatrix *		Qt_OBJECT

const QScrollBar *	Qt_OBJECT

QMenuData *		Qt_QMenuData_KLUDGE
QPaintDevice *		Qt_QPaintDevice_KLUDGE
QRangeControl *		Qt_QRangeControl_KLUDGE

PApplication *		VQt_OBJECT
PButton *		VQt_OBJECT
PButtonGroup *		VQt_OBJECT
PCheckBox *		VQt_OBJECT
PComboBox *		VQt_OBJECT
PDialog *		VQt_OBJECT
PFileDialog *		VQt_OBJECT
PFrame *		VQt_OBJECT
PLabel *		VQt_OBJECT
PLCDNumber *		VQt_OBJECT
PLineEdit *		VQt_OBJECT
PListBox *		VQt_OBJECT
PMenuBar *		VQt_OBJECT
PMenuData *		VQt_OBJECT
PMessageBox *		VQt_OBJECT
PMultiLineEdit *	VQt_OBJECT
PObject *		VQt_OBJECT
PPopupMenu *		VQt_OBJECT
PPushButton *		VQt_OBJECT
PRadioButton *		VQt_OBJECT
PRangeControl *		VQt_OBJECT
PScrollBar *		VQt_OBJECT
PSlider *		VQt_OBJECT
PTabDialog *		VQt_OBJECT
PTableView *		VQt_OBJECT
PWidget *		VQt_OBJECT
PWindow *		VQt_OBJECT

PAccel *		PQt_OBJECT
PBitmap *		PQt_OBJECT
PBoxLayout *		PQt_OBJECT
PBrush *		PQt_OBJECT
PCloseEvent *		PQt_OBJECT
PColor *		PQt_OBJECT
PColorGroup *		PQt_OBJECT
PCursor *		PQt_OBJECT
PEvent *		PQt_OBJECT
PFocusEvent *		PQt_OBJECT
PFont *			PQt_OBJECT
PFontInfo *		PQt_OBJECT
PFontMetrics *		PQt_OBJECT
PGridLayout *		PQt_OBJECT
PGroupBox *		PQt_OBJECT
PKeyEvent *		PQt_OBJECT
PListBoxPixmap *	PQt_OBJECT
PListBoxText *		PQt_OBJECT
PMouseEvent *		PQt_OBJECT
PMoveEvent *		PQt_OBJECT
PPaintDevice *		PQt_OBJECT
PPainter *		PQt_OBJECT
PPaintEvent *		PQt_OBJECT
PPalette *		PQt_OBJECT
PPen *			PQt_OBJECT
PPicture *		PQt_OBJECT
PPixmap *		PQt_OBJECT
PPoint *		PQt_OBJECT
PPointArray *		PQt_OBJECT
PPrinter *		PQt_OBJECT
PRect *			PQt_OBJECT
PRegion *		PQt_OBJECT
PResizeEvent *		PQt_OBJECT
PSize *			PQt_OBJECT
PTabBar *		PQt_OBJECT
PTimer *		PQt_OBJECT
PTimerEvent *		PQt_OBJECT
PToolTip *		PQt_OBJECT
PToolTipGroup *		PQt_OBJECT
PWMatrix *		PQt_OBJECT

pApplication *		pQt_OBJECT
pButton *		pQt_OBJECT
pCheckBox *		pQt_OBJECT
pComboBox *		pQt_OBJECT
pDialog *		pQt_OBJECT
pFileDialog *		pQt_OBJECT
pFrame *		pQt_OBJECT
pGroupBox *		pQt_OBJECT
pLCDNumber *		pQt_OBJECT
pLabel *		pQt_OBJECT
pLineEdit *		pQt_OBJECT
pListBox *		pQt_OBJECT
pMenuBar *		pQt_OBJECT
pMenuData *		pQt_OBJECT
pMessageBox *		pQt_OBJECT
pMultiLineEdit *	pQt_OBJECT
pObject *		pQt_OBJECT
pPopupMenu *		pQt_OBJECT
pPushButton *		pQt_OBJECT
pRadioButton *		pQt_OBJECT
pRangeControl *		pQt_OBJECT
pScrollBar *		pQt_OBJECT
pSlider *		pQt_OBJECT
pTabDialog *		pQt_OBJECT
pTableView *		pQt_OBJECT
pWidget *		pQt_OBJECT

OUTPUT
Qt_OBJECT
    $arg = objectify_ptr((void*)$var, MSTR($type));

PQt_OBJECT
    $arg = objectify_ptr((void*)$var, MSTR($type), 1);

VQt_OBJECT
    $arg = objectify_ptr((void*)$var, $var->setQtClassName(CLASS), 1);
    $var->setQtObject($arg);

Qt_QMenuData_KLUDGE
    $arg = objectify_ptr((void*)$var, MSTR($type), 1);

Qt_QPaintDevice_KLUDGE
    $arg = objectify_ptr((void*)$var, MSTR($type), 1);

Qt_QRangeControl_KLUDGE
    $arg = objectify_ptr((void*)$var, MSTR($type), 1);

Q_String
    if($var.isNull()) sv_setsv($arg, &sv_undef);
    else if($var.isEmpty()) sv_setpv($arg, "");
    else sv_setpv($arg, $var);

INPUT
Qt_OBJECT
    $var = ($type)extract_ptr($arg, MSTR($type));

pQt_OBJECT
    $var = ($type)extract_ptr($arg, MSTR($type));

Qt_QMenuData_KLUDGE
    if(sv_derived_from($arg, \"QMenuBar\"))
	$var = ($type)(QMenuBar *)extract_ptr($arg, MSTR($type));
    else if(sv_derived_from($arg, \"QPopupMenu\"))
	$var = ($type)(QPopupMenu *)extract_ptr($arg, MSTR($type));
    else $var = ($type)extract_ptr($arg, MSTR($type));

Qt_QRangeControl_KLUDGE
    if(sv_derived_from($arg, \"QScrollBar\"))
	$var = ($type)(QScrollBar *)extract_ptr($arg, MSTR($type));
    else if(sv_derived_from($arg, \"QSlider\"))
	$var = ($type)(QSlider *)extract_ptr($arg, MSTR($type));
    else $var = ($type)extract_ptr($arg, MSTR($type));

Qt_QPaintDevice_KLUDGE
    if(sv_derived_from($arg, \"QWidget\"))
	$var = ($type)(QWidget *)extract_ptr($arg, MSTR($type));
    else
	$var = ($type)extract_ptr($arg, MSTR($type));
