StelActionMgr.hpp   StelActionMgr.hpp 
skipping to change at line 55 skipping to change at line 55
{} {}
StelAction(const QString& actionId, StelAction(const QString& actionId,
const QString& groupId, const QString& groupId,
const QString& text, const QString& text,
const QString& primaryKey="", const QString& primaryKey="",
const QString& altKey="", const QString& altKey="",
bool global=false); bool global=false);
//! Connect the action to an object property or slot. //! Connect the action to an object property or slot.
//! @param slot A property or a slot name. The slot can either have the signature `func()`, and in that //! @param 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 //! case the action is made not checkable, or have the signature `fu nc(bool)` and in that case the action
//! is made checkable. When linked to a property the action is alwa ys made checkable. //! is made checkable. When linked to a property the action is alwa ys made checkable.
void connectToObject(QObject* obj, const char* slot); void connectToObject(QObject* obj, const char* slot);
//! Don't use setCheckable, connectToObject can automatically determ ine if the action is checkable or not. //! Don't use setCheckable, connectToObject can automatically determ ine if the action is checkable or not.
//! This is just there to ease the migration from QAction. //! This is just there to ease the migration from QAction.
void setCheckable(bool value) {checkable = value; emit changed();} void setCheckable(bool value) {checkable = value; emit changed();}
bool isCheckable() const {return checkable;} bool isCheckable() const {return checkable;}
bool isChecked() const {return checked;} bool isChecked() const {return checked;}
bool isGlobal() const {return global;} bool isGlobal() const {return global;}
void setShortcut(const QString& key); void setShortcut(const QString& key);
void setAltShortcut(const QString& key); void setAltShortcut(const QString& key);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/