Gui::TimerFunction Class Reference

#include <ActionFunction.h>

Public Member Functions

void setAutoDelete (bool)
 
void setFunction (std::function< void()> func)
 
void setFunction (std::function< void(QObject *)> func, QObject *args)
 
void setFunction (std::function< void(QVariant)> func, QVariant args)
 
 TimerFunction (QObject *=nullptr)
 Constructor. More...
 
virtual ~TimerFunction ()
 

Constructor & Destructor Documentation

◆ TimerFunction()

TimerFunction::TimerFunction ( QObject parent = nullptr)

Constructor.

◆ ~TimerFunction()

TimerFunction::~TimerFunction ( )
virtual

Member Function Documentation

◆ setAutoDelete()

void TimerFunction::setAutoDelete ( bool  on)

◆ setFunction() [1/3]

void TimerFunction::setFunction ( std::function< void()>  func)

◆ setFunction() [2/3]

void TimerFunction::setFunction ( std::function< void(QObject *)>  func,
QObject args 
)

◆ setFunction() [3/3]

void TimerFunction::setFunction ( std::function< void(QVariant)>  func,
QVariant  args 
)

The documentation for this class was generated from the following files: