2024-10-20 05:21:03 +00:00
|
|
|
#include <QAction>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QPoint>
|
|
|
|
#include <QString>
|
|
|
|
#include <QByteArray>
|
|
|
|
#include <cstring>
|
|
|
|
#include <QWhatsThis>
|
|
|
|
#include <QWidget>
|
|
|
|
#include <qwhatsthis.h>
|
|
|
|
#include "gen_qwhatsthis.h"
|
2024-12-11 06:55:47 +00:00
|
|
|
|
|
|
|
#ifndef _Bool
|
|
|
|
#define _Bool bool
|
|
|
|
#endif
|
2024-10-20 05:21:03 +00:00
|
|
|
#include "_cgo_export.h"
|
|
|
|
|
|
|
|
void QWhatsThis_EnterWhatsThisMode() {
|
|
|
|
QWhatsThis::enterWhatsThisMode();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QWhatsThis_InWhatsThisMode() {
|
|
|
|
return QWhatsThis::inWhatsThisMode();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWhatsThis_LeaveWhatsThisMode() {
|
|
|
|
QWhatsThis::leaveWhatsThisMode();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWhatsThis_ShowText(QPoint* pos, struct miqt_string text) {
|
|
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
|
|
QWhatsThis::showText(*pos, text_QString);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWhatsThis_HideText() {
|
|
|
|
QWhatsThis::hideText();
|
|
|
|
}
|
|
|
|
|
|
|
|
QAction* QWhatsThis_CreateAction() {
|
|
|
|
return QWhatsThis::createAction();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWhatsThis_ShowText3(QPoint* pos, struct miqt_string text, QWidget* w) {
|
|
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
|
|
QWhatsThis::showText(*pos, text_QString, w);
|
|
|
|
}
|
|
|
|
|
|
|
|
QAction* QWhatsThis_CreateAction1(QObject* parent) {
|
|
|
|
return QWhatsThis::createAction(parent);
|
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QWhatsThis_Delete(QWhatsThis* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QWhatsThis*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|