23#ifndef PYTHONUITIMER_H
24#define PYTHONUITIMER_H
26#include "pythonCommon.h"
29#include <qsharedpointer.h>
74 PyObject *m_callbackArgs;
91 QSharedPointer<QTimer> timer;
92 QSharedPointer<TimerCallback> callbackFunc;
99 static void PyTimer_dealloc(
PyTimer *self);
100 static PyObject *PyTimer_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
101 static int PyTimer_init(
PyTimer *self, PyObject *args, PyObject *kwds);
102 static PyObject *PyTimer_repr(
PyTimer *self);
104 static PyGetSetDef PyTimer_getseters[];
105 static PyMemberDef PyTimer_members[];
106 static PyMethodDef PyTimer_methods[];
107 static PyTypeObject PyTimerType;
108 static PyModuleDef PyTimerModule;
109 static PyObject *PyTimer_start(
PyTimer *self);
110 static PyObject *PyTimer_stop(
PyTimer *self);
111 static PyObject *PyTimer_isActive(
PyTimer *self);
112 static PyObject *PyTimer_setInterval(
PyTimer *self, PyObject *args);
Definition pythonUiTimer.h:82
Definition pythonUiTimer.h:37
CallableType
Definition pythonUiTimer.h:44
@ Callable_Method
unbounded python method, the function is stored in m_function, m_boundedInstance is NULL
@ Callable_Invalid
the callable is invalid
@ Callable_Function
function, written in C, stored in m_function. m_boundedInstance is NULL, since the potential self obj...
CallableType m_callableType
new reference to a (empty) tuple with arguments passed to the callable function
Definition pythonUiTimer.h:71
PyObject * m_boundedInstance
type of the python callable (see CallableType)
Definition pythonUiTimer.h:68
Definition apiFunctionsGraph.cpp:40
Definition pythonUiTimer.h:89