19#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
20#define DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
36 explicit DdtWidget(QWidget* parent =
nullptr);
64 void connect(
const QObject *sender,
const char *signal,
const QObject *receiver,
const char *member);
65 void connect(
const QObject *sender,
const QMetaMethod &signal,
const QObject *receiver,
const QMetaMethod &method);
66 void connect(
const QObject *sender,
const char *signal,
const char *member);
78 template <
typename Func1,
typename Func2>
79 void connect(
const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const QObject *context, Func2 slot);
89template <
typename Func1,
typename Func2>
90void DdtWidget::connect(
const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const QObject *context, Func2 slot) {
91 QObject::connect(sender, signal, context, slot, Qt::QueuedConnection);