1 //****************************************************************************** 2 // Copyright (c) 2005-2013 by Jan Van hijfte 3 // 4 // See the included file COPYING.TXT for details about the copyright. 5 // 6 // This program is distributed in the hope that it will be useful, 7 // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 //****************************************************************************** 10 11 12 #ifndef QACTIONGROUP_C_H 13 #define QACTIONGROUP_C_H 14 15 #include <QtWidgets> 16 #include "pascalbind.h" 17 18 C_EXPORT QActionGroupH QActionGroup_Create(QObjectH parent); 19 C_EXPORT void QActionGroup_Destroy(QActionGroupH handle); 20 C_EXPORT QActionH QActionGroup_addAction(QActionGroupH handle, QActionH a); 21 C_EXPORT QActionH QActionGroup_addAction2(QActionGroupH handle, PWideString text); 22 C_EXPORT QActionH QActionGroup_addAction3(QActionGroupH handle, const QIconH icon, PWideString text); 23 C_EXPORT void QActionGroup_removeAction(QActionGroupH handle, QActionH a); 24 C_EXPORT void QActionGroup_actions(QActionGroupH handle, PPtrIntArray retval); 25 C_EXPORT QActionH QActionGroup_checkedAction(QActionGroupH handle); 26 C_EXPORT bool QActionGroup_isExclusive(QActionGroupH handle); 27 C_EXPORT bool QActionGroup_isEnabled(QActionGroupH handle); 28 C_EXPORT bool QActionGroup_isVisible(QActionGroupH handle); 29 C_EXPORT void QActionGroup_setEnabled(QActionGroupH handle, bool AnonParam1); 30 C_EXPORT void QActionGroup_setDisabled(QActionGroupH handle, bool b); 31 C_EXPORT void QActionGroup_setVisible(QActionGroupH handle, bool AnonParam1); 32 C_EXPORT void QActionGroup_setExclusive(QActionGroupH handle, bool AnonParam1); 33 34 #endif 35