#include <QDir>
#include <QTextStream>
#include "ServerMTh.h"
#include "ui_ServerMTh.h"
#include "ClientRunnable.h"
#include <QDir>
#include <QTextStream>
#include "ServerMTh.h"
#include "ui_ServerMTh.h"
#include "ClientRunnable.h"
ServerMTh::ServerMTh(QWidget *parent, QString designpath, QString design,
int nbr_injections, QStringList *macro_list,
QStringList *trace_list) :
To copy to clipboard, switch view to plain text mode
#ifndef CLIENT_RUNNABLE_H
#define CLIENT_RUNNABLE_H
#include <QObject>
#include <QProcess>
#include <QRunnable>
#include <QString>
class ServerMTh;
class ClientRunnable : public QRunnable
{
Q_OBJECT
public:
enum
{
OKCLIENTSTART, KOCLIENTSTART
};
ClientRunnable
(QWidget *parent
= nullptr
);
int ID;
private:
ServerMTh *Parent;
#ifndef CLIENT_RUNNABLE_H
#define CLIENT_RUNNABLE_H
#include <QObject>
#include <QProcess>
#include <QRunnable>
#include <QString>
class ServerMTh;
class ClientRunnable : public QRunnable
{
Q_OBJECT
public:
enum
{
OKCLIENTSTART, KOCLIENTSTART
};
ClientRunnable(QWidget *parent = nullptr);
int ID;
QString MacroFile, Design;
private:
ServerMTh *Parent;
To copy to clipboard, switch view to plain text mode
/****************************************************************************
** Meta object code from reading C++ file 'ClientRunnable.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../VFIT_MTh2/ClientRunnable.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ClientRunnable.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ClientRunnable_t {
QByteArrayData data[1];
char stringdata0[15];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ClientRunnable_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ClientRunnable_t qt_meta_stringdata_ClientRunnable = {
{
QT_MOC_LITERAL(0, 0, 14) // "ClientRunnable"
},
"ClientRunnable"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ClientRunnable[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void ClientRunnable
::qt_static_metacall(QObject *_o,
QMetaObject::Call _c,
int _id,
void **_a
) {
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT
const QMetaObject ClientRunnable
::staticMetaObject = { { &QRunnable::staticMetaObject,
qt_meta_stringdata_ClientRunnable.data,
qt_meta_data_ClientRunnable,
qt_static_metacall,
nullptr,
nullptr
} };
{
return QObject::d_ptr->metaObject ?
QObject::d_ptr->dynamicMetaObject
() : &staticMetaObject;
}
void *ClientRunnable::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ClientRunnable.stringdata0))
return static_cast<void*>(this);
return QRunnable::qt_metacast(_clname);
}
int ClientRunnable
::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a
) {
_id = QRunnable::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
/****************************************************************************
** Meta object code from reading C++ file 'ClientRunnable.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../VFIT_MTh2/ClientRunnable.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ClientRunnable.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ClientRunnable_t {
QByteArrayData data[1];
char stringdata0[15];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ClientRunnable_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ClientRunnable_t qt_meta_stringdata_ClientRunnable = {
{
QT_MOC_LITERAL(0, 0, 14) // "ClientRunnable"
},
"ClientRunnable"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ClientRunnable[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void ClientRunnable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject ClientRunnable::staticMetaObject = { {
&QRunnable::staticMetaObject,
qt_meta_stringdata_ClientRunnable.data,
qt_meta_data_ClientRunnable,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *ClientRunnable::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ClientRunnable::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ClientRunnable.stringdata0))
return static_cast<void*>(this);
return QRunnable::qt_metacast(_clname);
}
int ClientRunnable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QRunnable::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
To copy to clipboard, switch view to plain text mode
Bookmarks