miqt/qt/gen_qfuturewatcher.h

78 lines
3.9 KiB
C
Raw Normal View History

#ifndef GEN_QFUTUREWATCHER_H
#define GEN_QFUTUREWATCHER_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QEvent;
class QFutureWatcherBase;
class QMetaObject;
#else
typedef struct QEvent QEvent;
typedef struct QFutureWatcherBase QFutureWatcherBase;
typedef struct QMetaObject QMetaObject;
#endif
QMetaObject* QFutureWatcherBase_MetaObject(const QFutureWatcherBase* self);
void* QFutureWatcherBase_Metacast(QFutureWatcherBase* self, const char* param1);
struct miqt_string QFutureWatcherBase_Tr(const char* s);
struct miqt_string QFutureWatcherBase_TrUtf8(const char* s);
int QFutureWatcherBase_ProgressValue(const QFutureWatcherBase* self);
int QFutureWatcherBase_ProgressMinimum(const QFutureWatcherBase* self);
int QFutureWatcherBase_ProgressMaximum(const QFutureWatcherBase* self);
struct miqt_string QFutureWatcherBase_ProgressText(const QFutureWatcherBase* self);
bool QFutureWatcherBase_IsStarted(const QFutureWatcherBase* self);
bool QFutureWatcherBase_IsFinished(const QFutureWatcherBase* self);
bool QFutureWatcherBase_IsRunning(const QFutureWatcherBase* self);
bool QFutureWatcherBase_IsCanceled(const QFutureWatcherBase* self);
bool QFutureWatcherBase_IsPaused(const QFutureWatcherBase* self);
void QFutureWatcherBase_WaitForFinished(QFutureWatcherBase* self);
void QFutureWatcherBase_SetPendingResultsLimit(QFutureWatcherBase* self, int limit);
bool QFutureWatcherBase_Event(QFutureWatcherBase* self, QEvent* event);
void QFutureWatcherBase_Started(QFutureWatcherBase* self);
void QFutureWatcherBase_connect_Started(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_Finished(QFutureWatcherBase* self);
void QFutureWatcherBase_connect_Finished(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_Canceled(QFutureWatcherBase* self);
void QFutureWatcherBase_connect_Canceled(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_Paused(QFutureWatcherBase* self);
void QFutureWatcherBase_connect_Paused(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_Resumed(QFutureWatcherBase* self);
void QFutureWatcherBase_connect_Resumed(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_ResultReadyAt(QFutureWatcherBase* self, int resultIndex);
void QFutureWatcherBase_connect_ResultReadyAt(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_ResultsReadyAt(QFutureWatcherBase* self, int beginIndex, int endIndex);
void QFutureWatcherBase_connect_ResultsReadyAt(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_ProgressRangeChanged(QFutureWatcherBase* self, int minimum, int maximum);
void QFutureWatcherBase_connect_ProgressRangeChanged(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_ProgressValueChanged(QFutureWatcherBase* self, int progressValue);
void QFutureWatcherBase_connect_ProgressValueChanged(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_ProgressTextChanged(QFutureWatcherBase* self, struct miqt_string progressText);
void QFutureWatcherBase_connect_ProgressTextChanged(QFutureWatcherBase* self, intptr_t slot);
void QFutureWatcherBase_Cancel(QFutureWatcherBase* self);
void QFutureWatcherBase_SetPaused(QFutureWatcherBase* self, bool paused);
void QFutureWatcherBase_Pause(QFutureWatcherBase* self);
void QFutureWatcherBase_Resume(QFutureWatcherBase* self);
void QFutureWatcherBase_TogglePaused(QFutureWatcherBase* self);
struct miqt_string QFutureWatcherBase_Tr2(const char* s, const char* c);
struct miqt_string QFutureWatcherBase_Tr3(const char* s, const char* c, int n);
struct miqt_string QFutureWatcherBase_TrUtf82(const char* s, const char* c);
struct miqt_string QFutureWatcherBase_TrUtf83(const char* s, const char* c, int n);
void QFutureWatcherBase_Delete(QFutureWatcherBase* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif