49 #define PyFont_Check(op) PyObject_TypeCheck(op, &ito::PythonFont::PyFontType)
54 static void PyFont_dealloc(
PyFont *self);
55 static PyObject* PyFont_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
56 static int PyFont_init(
PyFont *self, PyObject *args, PyObject *kwds);
58 static PyObject* createPyFont(
const QFont &font);
63 static PyObject* PyFont_repr(
PyFont *self);
68 static PyObject* PyFont_Reduce(
PyFont *self, PyObject *args);
69 static PyObject* PyFont_SetState(
PyFont *self, PyObject *args);
74 static PyObject* PyFont_getFamily(
PyFont *self,
void *closure);
75 static int PyFont_setFamily(
PyFont *self, PyObject *value,
void *closure);
77 static PyObject* PyFont_getPointSize(
PyFont *self,
void *closure);
78 static int PyFont_setPointSize(
PyFont *self, PyObject *value,
void *closure);
80 static PyObject* PyFont_getWeight(
PyFont *self,
void *closure);
81 static int PyFont_setWeight(
PyFont *self, PyObject *value,
void *closure);
83 static PyObject* PyFont_getItalic(
PyFont *self,
void *closure);
84 static int PyFont_setItalic(
PyFont *self, PyObject *value,
void *closure);
86 static PyObject* PyFont_getUnderline(
PyFont *self,
void *closure);
87 static int PyFont_setUnderline(
PyFont *self, PyObject *value,
void *closure);
89 static PyObject* PyFont_getStrikeOut(
PyFont *self,
void *closure);
90 static int PyFont_setStrikeOut(
PyFont *self, PyObject *value,
void *closure);
95 static PyObject* PyFont_isFamilyInstalled(
PyFont *self, PyObject *args, PyObject *kwds);
96 static PyObject* PyFont_installedFontFamilies(
PyFont * self);
102 static PyMethodDef PyFont_methods[];
103 static PyGetSetDef PyFont_getseters[];
104 static PyTypeObject PyFontType;
105 static PyModuleDef PyFontModule;
107 static void PyFont_addTpDict(PyObject *tp_dict);