#pragma once #ifndef MIQT_QT_GEN_QPROGRESSBAR_H #define MIQT_QT_GEN_QPROGRESSBAR_H #include #include #include #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include "../libmiqt/libmiqt.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus class QMetaObject; class QProgressBar; class QSize; class QWidget; #else typedef struct QMetaObject QMetaObject; typedef struct QProgressBar QProgressBar; typedef struct QSize QSize; typedef struct QWidget QWidget; #endif QProgressBar* QProgressBar_new(QWidget* parent); QProgressBar* QProgressBar_new2(); QMetaObject* QProgressBar_MetaObject(const QProgressBar* self); void* QProgressBar_Metacast(QProgressBar* self, const char* param1); struct miqt_string QProgressBar_Tr(const char* s); struct miqt_string QProgressBar_TrUtf8(const char* s); int QProgressBar_Minimum(const QProgressBar* self); int QProgressBar_Maximum(const QProgressBar* self); int QProgressBar_Value(const QProgressBar* self); struct miqt_string QProgressBar_Text(const QProgressBar* self); void QProgressBar_SetTextVisible(QProgressBar* self, bool visible); bool QProgressBar_IsTextVisible(const QProgressBar* self); int QProgressBar_Alignment(const QProgressBar* self); void QProgressBar_SetAlignment(QProgressBar* self, int alignment); QSize* QProgressBar_SizeHint(const QProgressBar* self); QSize* QProgressBar_MinimumSizeHint(const QProgressBar* self); int QProgressBar_Orientation(const QProgressBar* self); void QProgressBar_SetInvertedAppearance(QProgressBar* self, bool invert); bool QProgressBar_InvertedAppearance(const QProgressBar* self); void QProgressBar_SetTextDirection(QProgressBar* self, int textDirection); int QProgressBar_TextDirection(const QProgressBar* self); void QProgressBar_SetFormat(QProgressBar* self, struct miqt_string format); void QProgressBar_ResetFormat(QProgressBar* self); struct miqt_string QProgressBar_Format(const QProgressBar* self); void QProgressBar_Reset(QProgressBar* self); void QProgressBar_SetRange(QProgressBar* self, int minimum, int maximum); void QProgressBar_SetMinimum(QProgressBar* self, int minimum); void QProgressBar_SetMaximum(QProgressBar* self, int maximum); void QProgressBar_SetValue(QProgressBar* self, int value); void QProgressBar_SetOrientation(QProgressBar* self, int orientation); void QProgressBar_ValueChanged(QProgressBar* self, int value); void QProgressBar_connect_ValueChanged(QProgressBar* self, intptr_t slot); struct miqt_string QProgressBar_Tr2(const char* s, const char* c); struct miqt_string QProgressBar_Tr3(const char* s, const char* c, int n); struct miqt_string QProgressBar_TrUtf82(const char* s, const char* c); struct miqt_string QProgressBar_TrUtf83(const char* s, const char* c, int n); void QProgressBar_Delete(QProgressBar* self); #ifdef __cplusplus } /* extern C */ #endif #endif