KStarsFunctionList.append(newScriptFunction("lookTowards",i18n("Point the display at the specified location. %1 can be the name of an object, a cardinal point on the compass, or 'zenith'."),
false,TQSTRING_OBJECT_NAME_STRING,"dir"));
false,"TQString","dir"));
KStarsFunctionList.append(newScriptFunction("setRaDec",i18n("Point the display at the specified RA/Dec coordinates. %1 is expressed in Hours; %2 is expressed in Degrees."),
false,"double","ra","double","dec"));
KStarsFunctionList.append(newScriptFunction("setAltAz",i18n("Point the display at the specified Alt/Az coordinates. %1 and %2 are expressed in Degrees."),
KStarsFunctionList.append(newScriptFunction("waitFor",i18n("Pause script execution for %1 seconds."),false,"double","sec"));
KStarsFunctionList.append(newScriptFunction("waitForKey",i18n("Halt script execution until the key %1 is pressed. Only single-key strokes are possible; use 'space' for the spacebar."),
false,TQSTRING_OBJECT_NAME_STRING,"key"));
false,"TQString","key"));
KStarsFunctionList.append(newScriptFunction("setTracking",i18n("Set whether the display is tracking the current location."),false,"bool","track"));
KStarsFunctionList.append(newScriptFunction("changeViewOption",i18n("Change view option named %1 to value %2."),false,TQSTRING_OBJECT_NAME_STRING,"opName",TQSTRING_OBJECT_NAME_STRING,"opValue"));
KStarsFunctionList.append(newScriptFunction("changeViewOption",i18n("Change view option named %1 to value %2."),false,"TQString","opName","TQString","opValue"));
KStarsFunctionList.append(newScriptFunction("setGeoLocation",i18n("Set the geographic location to the city specified by %1, %2 and %3."),
KStarsFunctionList.append(newScriptFunction("setColor",i18n("Set the color named %1 to the value %2."),false,TQSTRING_OBJECT_NAME_STRING,"colorName",TQSTRING_OBJECT_NAME_STRING,"value"));
KStarsFunctionList.append(newScriptFunction("loadColorScheme",i18n("Load the color scheme named %1."),false,TQSTRING_OBJECT_NAME_STRING,"name"));
KStarsFunctionList.append(newScriptFunction("exportImage",i18n("Export the sky image to the file %1, with width %2 and height %3."),false,TQSTRING_OBJECT_NAME_STRING,"fileName","int","width","int","height"));
KStarsFunctionList.append(newScriptFunction("setColor",i18n("Set the color named %1 to the value %2."),false,"TQString","colorName","TQString","value"));
KStarsFunctionList.append(newScriptFunction("loadColorScheme",i18n("Load the color scheme named %1."),false,"TQString","name"));
KStarsFunctionList.append(newScriptFunction("exportImage",i18n("Export the sky image to the file %1, with width %2 and height %3."),false,"TQString","fileName","int","width","int","height"));
KStarsFunctionList.append(newScriptFunction("printImage",i18n("Print the sky image to a printer or file. If %1 is true, it will show the print dialog. If %2 is true, it will use the Star Chart color scheme for printing."),false,"bool","usePrintDialog","bool","useChartColors"));
KStarsFunctionList.append(newScriptFunction("stop",i18n("Halt the simulation clock."),true));
KStarsFunctionList.append(newScriptFunction("start",i18n("Start the simulation clock."),true));
startINDIFunc=newScriptFunction("startINDI",i18n("Establish an INDI device either in local mode or server mode."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","bool","useLocal");
startINDIFunc=newScriptFunction("startINDI",i18n("Establish an INDI device either in local mode or server mode."),false,"TQString","deviceName","bool","useLocal");
INDIFunctionList.append(startINDIFunc);
shutdownINDIFunc=newScriptFunction("shutdownINDI",i18n("Shutdown an INDI device."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName");
shutdownINDIFunc=newScriptFunction("shutdownINDI",i18n("Shutdown an INDI device."),false,"TQString","deviceName");
INDIFunctionList.append(shutdownINDIFunc);
switchINDIFunc=newScriptFunction("switchINDI",i18n("Connect or Disconnect an INDI device."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","bool","turnOn");
switchINDIFunc=newScriptFunction("switchINDI",i18n("Connect or Disconnect an INDI device."),false,"TQString","deviceName","bool","turnOn");
setINDIScopeActionFunc=newScriptFunction("setINDIScopeAction",i18n("Set the telescope action. Available actions are SLEW, TRACK, SYNC, PARK, and ABORT."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"action");
setINDIScopeActionFunc=newScriptFunction("setINDIScopeAction",i18n("Set the telescope action. Available actions are SLEW, TRACK, SYNC, PARK, and ABORT."),false,"TQString","deviceName","TQString","action");
setINDIScopeActionFunc->setINDIProperty("CHECK");
INDIFunctionList.append(setINDIScopeActionFunc);
setINDITargetCoordFunc=newScriptFunction("setINDITargetCoord",i18n("Set the telescope target coordinates to the RA/Dec coordinates. RA is expressed in Hours; DEC is expressed in Degrees."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","double","RA","double","DEC");
setINDITargetCoordFunc=newScriptFunction("setINDITargetCoord",i18n("Set the telescope target coordinates to the RA/Dec coordinates. RA is expressed in Hours; DEC is expressed in Degrees."),false,"TQString","deviceName","double","RA","double","DEC");
setINDITargetNameFunc=newScriptFunction("setINDITargetName",i18n("Set the telescope target coorinates to the RA/Dec coordinates of the selected object."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"objectName");
setINDITargetNameFunc=newScriptFunction("setINDITargetName",i18n("Set the telescope target coorinates to the RA/Dec coordinates of the selected object."),false,"TQString","deviceName","TQString","objectName");
setINDIGeoLocationFunc=newScriptFunction("setINDIGeoLocation",i18n("Set the telescope longitude and latitude. The longitude is E of N."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","double","long","double","lat");
setINDIGeoLocationFunc=newScriptFunction("setINDIGeoLocation",i18n("Set the telescope longitude and latitude. The longitude is E of N."),false,"TQString","deviceName","double","long","double","lat");
setINDIUTCFunc=newScriptFunction("setINDIUTC",i18n("Set the device UTC time in ISO 8601 format YYYY/MM/DDTHH:MM:SS."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"UTCDateTime");
setINDIUTCFunc=newScriptFunction("setINDIUTC",i18n("Set the device UTC time in ISO 8601 format YYYY/MM/DDTHH:MM:SS."),false,"TQString","deviceName","TQString","UTCDateTime");
setINDIUTCFunc->setINDIProperty("TIME");
INDIFunctionList.append(setINDIUTCFunc);
setINDIActionFunc=newScriptFunction("setINDIAction",i18n("Activate an INDI action. The action is the name of any INDI switch property element supported by the device."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"actionName");
setINDIActionFunc=newScriptFunction("setINDIAction",i18n("Activate an INDI action. The action is the name of any INDI switch property element supported by the device."),false,"TQString","deviceName","TQString","actionName");
INDIFunctionList.append(setINDIActionFunc);
waitForINDIActionFunc=newScriptFunction("waitForINDIAction",i18n("Pause script execution until action returns with OK status. The action can be the name of any INDI property supported by the device."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"actionName");
waitForINDIActionFunc=newScriptFunction("waitForINDIAction",i18n("Pause script execution until action returns with OK status. The action can be the name of any INDI property supported by the device."),false,"TQString","deviceName","TQString","actionName");
INDIFunctionList.append(waitForINDIActionFunc);
setINDIFocusSpeedFunc=newScriptFunction("setINDIFocusSpeed",i18n("Set the telescope focuser speed. Set speed to 0 to halt the focuser. 1-3 correspond to slow, medium, and fast speeds respectively."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","unsigned int","speed");
setINDIFocusSpeedFunc=newScriptFunction("setINDIFocusSpeed",i18n("Set the telescope focuser speed. Set speed to 0 to halt the focuser. 1-3 correspond to slow, medium, and fast speeds respectively."),false,"TQString","deviceName","unsigned int","speed");
startINDIFocusFunc=newScriptFunction("startINDIFocus",i18n("Start moving the focuser in the direction Dir, and for the duration specified by setINDIFocusTimeout."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"Dir");
startINDIFocusFunc=newScriptFunction("startINDIFocus",i18n("Start moving the focuser in the direction Dir, and for the duration specified by setINDIFocusTimeout."),false,"TQString","deviceName","TQString","Dir");
setINDIFocusTimeoutFunc=newScriptFunction("setINDIFocusTimeout",i18n("Set the telescope focuser timer in seconds. This is the duration of any focusing procedure performed by calling startINDIFocus."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","int","timeout");
setINDIFocusTimeoutFunc=newScriptFunction("setINDIFocusTimeout",i18n("Set the telescope focuser timer in seconds. This is the duration of any focusing procedure performed by calling startINDIFocus."),false,"TQString","deviceName","int","timeout");
setINDIFilterNumFunc=newScriptFunction("setINDIFilterNum",i18n("Set the target filter position."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","int","filter_num");
setINDIFilterNumFunc=newScriptFunction("setINDIFilterNum",i18n("Set the target filter position."),false,"TQString","deviceName","int","filter_num");
setINDIFrameTypeFunc=newScriptFunction("setINDIFrameType",i18n("Set the CCD camera frame type. Available options are FRAME_LIGHT, FRAME_BIAS, FRAME_DARK, and FRAME_FLAT."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName",TQSTRING_OBJECT_NAME_STRING,"type");
setINDIFrameTypeFunc=newScriptFunction("setINDIFrameType",i18n("Set the CCD camera frame type. Available options are FRAME_LIGHT, FRAME_BIAS, FRAME_DARK, and FRAME_FLAT."),false,"TQString","deviceName","TQString","type");
startINDIExposureFunc=newScriptFunction("startINDIExposure",i18n("Start Camera/CCD exposure. The duration is in seconds."),false,TQSTRING_OBJECT_NAME_STRING,"deviceName","int","timeout");
startINDIExposureFunc=newScriptFunction("startINDIExposure",i18n("Start Camera/CCD exposure. The duration is in seconds."),false,"TQString","deviceName","int","timeout");