10#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
11#define DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
27 explicit DdtWidget(QWidget* parent =
nullptr);
55 void connect(
const QObject *sender,
const char *signal,
const QObject *receiver,
const char *member);
56 void connect(
const QObject *sender,
const QMetaMethod &signal,
const QObject *receiver,
const QMetaMethod &method);
57 void connect(
const QObject *sender,
const char *signal,
const char *member);
69 template <
typename Func1,
typename Func2>
70 void connect(
const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const QObject *context, Func2 slot);
80template <
typename Func1,
typename Func2>
81void DdtWidget::connect(
const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const QObject *context, Func2 slot) {
82 QObject::connect(sender, signal, context, slot, Qt::QueuedConnection);