2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QDESKTOPWIDGET_H
|
|
|
|
#define GEN_QDESKTOPWIDGET_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QDesktopWidget;
|
|
|
|
class QMetaObject;
|
|
|
|
class QPoint;
|
|
|
|
class QRect;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QDesktopWidget QDesktopWidget;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QDesktopWidget* QDesktopWidget_new();
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDesktopWidget_MetaObject(const QDesktopWidget* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QDesktopWidget_Tr(const char* s);
|
|
|
|
struct miqt_string* QDesktopWidget_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDesktopWidget_ScreenNumber(const QDesktopWidget* self);
|
|
|
|
QRect* QDesktopWidget_ScreenGeometry(const QDesktopWidget* self, QWidget* widget);
|
|
|
|
QRect* QDesktopWidget_AvailableGeometry(const QDesktopWidget* self, QWidget* widget);
|
|
|
|
bool QDesktopWidget_IsVirtualDesktop(const QDesktopWidget* self);
|
|
|
|
int QDesktopWidget_NumScreens(const QDesktopWidget* self);
|
|
|
|
int QDesktopWidget_ScreenCount(const QDesktopWidget* self);
|
|
|
|
int QDesktopWidget_PrimaryScreen(const QDesktopWidget* self);
|
|
|
|
int QDesktopWidget_ScreenNumberWithQPoint(const QDesktopWidget* self, QPoint* param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
QWidget* QDesktopWidget_Screen(QDesktopWidget* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRect* QDesktopWidget_ScreenGeometry2(const QDesktopWidget* self);
|
|
|
|
QRect* QDesktopWidget_ScreenGeometryWithPoint(const QDesktopWidget* self, QPoint* point);
|
|
|
|
QRect* QDesktopWidget_AvailableGeometry2(const QDesktopWidget* self);
|
|
|
|
QRect* QDesktopWidget_AvailableGeometryWithPoint(const QDesktopWidget* self, QPoint* point);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDesktopWidget_Resized(QDesktopWidget* self, int param1);
|
|
|
|
void QDesktopWidget_connect_Resized(QDesktopWidget* self, void* slot);
|
|
|
|
void QDesktopWidget_WorkAreaResized(QDesktopWidget* self, int param1);
|
|
|
|
void QDesktopWidget_connect_WorkAreaResized(QDesktopWidget* self, void* slot);
|
|
|
|
void QDesktopWidget_ScreenCountChanged(QDesktopWidget* self, int param1);
|
|
|
|
void QDesktopWidget_connect_ScreenCountChanged(QDesktopWidget* self, void* slot);
|
|
|
|
void QDesktopWidget_PrimaryScreenChanged(QDesktopWidget* self);
|
|
|
|
void QDesktopWidget_connect_PrimaryScreenChanged(QDesktopWidget* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QDesktopWidget_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QDesktopWidget_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QDesktopWidget_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QDesktopWidget_TrUtf83(const char* s, const char* c, int n);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDesktopWidget_ScreenNumber1(const QDesktopWidget* self, QWidget* widget);
|
2024-08-25 04:08:24 +00:00
|
|
|
QWidget* QDesktopWidget_Screen1(QDesktopWidget* self, int screen);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRect* QDesktopWidget_ScreenGeometry1(const QDesktopWidget* self, int screen);
|
|
|
|
QRect* QDesktopWidget_AvailableGeometry1(const QDesktopWidget* self, int screen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDesktopWidget_Delete(QDesktopWidget* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|