File: qtimer_c.h

package info (click to toggle)
libqtpas 2.6%2B2.0.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,860 kB
  • sloc: cpp: 56,595; pascal: 13,727; sh: 44; makefile: 18
file content (35 lines) | stat: -rw-r--r-- 1,506 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//******************************************************************************
//  Copyright (c) 2005-2013 by Jan Van hijfte
//
//  See the included file COPYING.TXT for details about the copyright.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//******************************************************************************


#ifndef QTIMER_C_H
#define QTIMER_C_H

#include <QtCore>
#include "pascalbind.h"

C_EXPORT QTimerH QTimer_Create(QObjectH parent);
C_EXPORT void QTimer_Destroy(QTimerH handle);
C_EXPORT bool QTimer_isActive(QTimerH handle);
C_EXPORT int QTimer_timerId(QTimerH handle);
C_EXPORT void QTimer_setInterval(QTimerH handle, int msec);
C_EXPORT int QTimer_interval(QTimerH handle);
C_EXPORT int QTimer_remainingTime(QTimerH handle);
C_EXPORT void QTimer_setTimerType(QTimerH handle, Qt::TimerType atype);
C_EXPORT Qt::TimerType QTimer_timerType(QTimerH handle);
C_EXPORT void QTimer_setSingleShot(QTimerH handle, bool singleShot);
C_EXPORT bool QTimer_isSingleShot(QTimerH handle);
C_EXPORT void QTimer_singleShot(int msec, const QObjectH receiver, const char* member);
C_EXPORT void QTimer_singleShot2(int msec, Qt::TimerType timerType, const QObjectH receiver, const char* member);
C_EXPORT void QTimer_start(QTimerH handle, int msec);
C_EXPORT void QTimer_start2(QTimerH handle);
C_EXPORT void QTimer_stop(QTimerH handle);

#endif