Constructor & Destructor Documentation

Member Function Documentation

void StelAction::connectToObject

(

QObject *

obj,

const char *

slot

)

Connect the action to an object property or slot.

Parameters

slot

A property or a slot name. The slot can either have the signature func(), and in that case the action is made not checkable, either have the signature func(bool) and in that case the action is made checkable. When linked to a property the action is always made checkable.

void StelAction::setCheckable

(

bool

value

)

inline

Don't use setCheckable, connectToObject can automatically determine if the action is checkable or not.