Fix incorrectly renamed strings

pull/1/head
Slávek Banko 10 years ago
parent 533b9587fd
commit e8c90f7ea7

@ -83,7 +83,7 @@
<tip category="KStars|Navigation"> <tip category="KStars|Navigation">
<html> <html>
<p>The status bar displays the current sky coordinates of the mouse cursor, <p>The status bar displays the current sky coordinates of the mouse cursor,
in both Equatorial andQt::Horizontal coordinate systems. in both Equatorial and Horizontal coordinate systems.
</p> </p>
</html> </html>
</tip> </tip>
@ -109,7 +109,7 @@
</tip> </tip>
<tip category="KStars|Navigation"> <tip category="KStars|Navigation">
<html> <html>
<p>To switch between Equatorial andQt::Horizontal coordinate <p>To switch between Equatorial and Horizontal coordinate
systems, use the "View->Coordinates" menu item, or press the spacebar. systems, use the "View->Coordinates" menu item, or press the spacebar.
</p> </p>
</html> </html>

@ -953,7 +953,7 @@ void DetailDialog::centerTelescope()
if (!DecEle) continue; if (!DecEle) continue;
break; break;
//Qt::Horizontal // Horizontal
case 1: case 1:
if (prop->perm == PP_RO) continue; if (prop->perm == PP_RO) continue;
AzEle = prop->findElement("AZ"); AzEle = prop->findElement("AZ");

@ -1493,7 +1493,7 @@ long CApnCamera::InitDefaults()
unsigned short PreRoiRows, PostRoiRows; unsigned short PreRoiRows, PostRoiRows;
unsigned short PreRoiVBinning, PostRoiVBinning; unsigned short PreRoiVBinning, PostRoiVBinning;
unsigned short UnbinnedRoiY; //Qt::Vertical ROI pixels unsigned short UnbinnedRoiY; // Vertical ROI pixels
// Read the Camera ID register // Read the Camera ID register

@ -238,7 +238,7 @@ public:
// Exposure Settings // Exposure Settings
// The following variables are latched in Expose method, until next Reset or GetImage // The following variables are latched in Expose method, until next Reset or GetImage
short m_BinX, m_BinY; //Qt::Horizontal and vertical binning. short m_BinX, m_BinY; // Horizontal and vertical binning.
short m_StartX, m_StartY; // Zero based subframe start position in unbinned pixels. short m_StartX, m_StartY; // Zero based subframe start position in unbinned pixels.
short m_NumX, m_NumY; // Subframe size in binned pixels. short m_NumX, m_NumY; // Subframe size in binned pixels.
@ -249,7 +249,7 @@ public:
short m_Columns, m_Rows; // Total columns/rows on CCD (physical). short m_Columns, m_Rows; // Total columns/rows on CCD (physical).
short m_ImgColumns, m_ImgRows; // Unbinned columns/rows in imaging area short m_ImgColumns, m_ImgRows; // Unbinned columns/rows in imaging area
short m_SkipC, m_SkipR; // Deleted data columns/rows not to be displayed or saved short m_SkipC, m_SkipR; // Deleted data columns/rows not to be displayed or saved
short m_HFlush, m_VFlush; //Qt::Horizontal/Vertical flush binning. short m_HFlush, m_VFlush; // Horizontal/Vertical flush binning.
short m_BIC, m_BIR; // Before Image Column/Row count (dark non-imaging pixels). short m_BIC, m_BIR; // Before Image Column/Row count (dark non-imaging pixels).
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
@ -367,12 +367,12 @@ public:
// 7: At set point // 7: At set point
// Latched public variables used during Exposure..GetImage sequence // Latched public variables used during Exposure..GetImage sequence
short m_ExposureBinX, m_ExposureBinY; //Qt::Horizontal and vertical binning. short m_ExposureBinX, m_ExposureBinY; // Horizontal and vertical binning.
short m_ExposureStartX, m_ExposureStartY; // Subframe start position in unbinned pixels. short m_ExposureStartX, m_ExposureStartY; // Subframe start position in unbinned pixels.
short m_ExposureNumX, m_ExposureNumY; // Subframe size in binned pixels. short m_ExposureNumX, m_ExposureNumY; // Subframe size in binned pixels.
short m_ExposureColumns, m_ExposureRows; // Total columns/rows on CCD (physical). short m_ExposureColumns, m_ExposureRows; // Total columns/rows on CCD (physical).
short m_ExposureSkipC, m_ExposureSkipR; // Deleted data columns/rows not to be displayed or saved to disk. short m_ExposureSkipC, m_ExposureSkipR; // Deleted data columns/rows not to be displayed or saved to disk.
short m_ExposureHFlush, m_ExposureVFlush; //Qt::Horizontal/Vertical flush binning. short m_ExposureHFlush, m_ExposureVFlush; // Horizontal/Vertical flush binning.
short m_ExposureBIC, m_ExposureBIR; // Before Image Column/Row count (dark non-imaging pixels). short m_ExposureBIC, m_ExposureBIR; // Before Image Column/Row count (dark non-imaging pixels).
unsigned short m_ExposureAIC; // Calculated After Image Column count (dark non-imaging pixels). unsigned short m_ExposureAIC; // Calculated After Image Column count (dark non-imaging pixels).
unsigned short m_ExposureRemainingLines; // Number of lines to be clocked out by GetImage unsigned short m_ExposureRemainingLines; // Number of lines to be clocked out by GetImage

@ -554,7 +554,7 @@ LIBFLIAPI FLISetImageArea(flidev_t dev, long ul_x, long ul_y,
@param dev Camera to set horizontal bin factor of. @param dev Camera to set horizontal bin factor of.
@param hbinQt::Horizontal bin factor. @param hbin Horizontal bin factor.
@return Zero on success. @return Zero on success.
@return Non-zero on failure. @return Non-zero on failure.
@ -577,7 +577,7 @@ LIBFLIAPI FLISetHBin(flidev_t dev, long hbin)
@param dev Camera to set vertical bin factor of. @param dev Camera to set vertical bin factor of.
@param vbinQt::Vertical bin factor. @param vbin Vertical bin factor.
@return Zero on success. @return Zero on success.
@return Non-zero on failure. @return Non-zero on failure.

@ -76,8 +76,8 @@ extern int errno;
#define MAX_CCD_TEMP 45 /* Max CCD temperature */ #define MAX_CCD_TEMP 45 /* Max CCD temperature */
#define MIN_CCD_TEMP -55 /* Min CCD temperature */ #define MIN_CCD_TEMP -55 /* Min CCD temperature */
#define MAX_X_BIN 16. /* MaxQt::Horizontal binning */ #define MAX_X_BIN 16. /* Max Horizontal binning */
#define MAX_Y_BIN 16. /* MaxQt::Vertical binning */ #define MAX_Y_BIN 16. /* Max Vertical binning */
#define MAX_PIXELS 4096 /* Max number of pixels in one dimension */ #define MAX_PIXELS 4096 /* Max number of pixels in one dimension */
#define POLLMS 1000 /* Polling time (ms) */ #define POLLMS 1000 /* Polling time (ms) */
#define TEMP_THRESHOLD .25 /* Differential temperature threshold (C)*/ #define TEMP_THRESHOLD .25 /* Differential temperature threshold (C)*/

@ -605,7 +605,7 @@ INDI_P * INDI_D::addProperty (XMLEle *root, char errmsg[])
return NULL; return NULL;
} }
/* RemoveQt::Vertical spacer from group layout, this is done everytime /* Remove Vertical spacer from group layout, this is done everytime
* a new property arrives. The spacer is then appended to the end of the * a new property arrives. The spacer is then appended to the end of the
* properties */ * properties */
pg->propertyLayout->removeItem(pg->VerticalSpacer); pg->propertyLayout->removeItem(pg->VerticalSpacer);

@ -110,7 +110,7 @@ class INDI_E : public TQObject
KPushButton *push_w; // push button KPushButton *push_w; // push button
KPushButton *browse_w; // browse button KPushButton *browse_w; // browse button
TQCheckBox *check_w; // check box TQCheckBox *check_w; // check box
TQSpacerItem *hSpacer; //Qt::Horizontal spacer TQSpacerItem *hSpacer; // Horizontal spacer
double min, max, step; // params for scale double min, max, step; // params for scale
double value; // current value double value; // current value

@ -450,7 +450,7 @@ void INDI_P::addGUI (XMLEle *root)
light->show(); light->show();
label_w->show(); label_w->show();
/* #3 Add theQt::Vertical layout thay may contain several elements */ /* #3 Add the Vertical layout thay may contain several elements */
PHBox->addLayout(PVBox); PHBox->addLayout(PVBox);
} }

@ -849,7 +849,7 @@ INDIStdProperty::INDIStdProperty(INDI_P *associatedProperty, KStars * kswPtr, IN
INDI_E *RAEle(NULL), *DecEle(NULL), *AzEle(NULL), *AltEle(NULL), *nameEle(NULL); INDI_E *RAEle(NULL), *DecEle(NULL), *AzEle(NULL), *AltEle(NULL), *nameEle(NULL);
INDI_P * prop; INDI_P * prop;
SkyPoint sp; SkyPoint sp;
int selectedCoord=0; /* 0 for Equatorial, 1 forQt::Horizontal */ int selectedCoord=0; /* 0 for Equatorial, 1 for Horizontal */
bool useJ2000 (false); bool useJ2000 (false);
switch (pp->stdID) switch (pp->stdID)
@ -889,7 +889,7 @@ INDIStdProperty::INDIStdProperty(INDI_P *associatedProperty, KStars * kswPtr, IN
if (!DecEle) return false; if (!DecEle) return false;
break; break;
//Qt::Horizontal // Horizontal
case 1: case 1:
if (prop->perm == PP_RO) return false; if (prop->perm == PP_RO) return false;
AzEle = prop->findElement("AZ"); AzEle = prop->findElement("AZ");

@ -263,7 +263,7 @@ public:
*/ */
void clearTrail() { Trail.clear(); } void clearTrail() { Trail.clear(); }
/**@short updateQt::Horizontal coords of the trail /**@short update Horizontal coords of the trail
*/ */
void updateTrail( dms *LST, const dms *lat ); void updateTrail( dms *LST, const dms *lat );

@ -154,7 +154,7 @@ void KStars::slotWizard() {
// Make sure Numbers, Moon, planets, and sky objects are updated immediately // Make sure Numbers, Moon, planets, and sky objects are updated immediately
data()->setFullTimeUpdate(); data()->setFullTimeUpdate();
// If the sky is inQt::Horizontal mode and not tracking, reset focus such that // If the sky is in Horizontal mode and not tracking, reset focus such that
// Alt/Az remain constant. // Alt/Az remain constant.
if ( data()->useDefaultOptions ) { if ( data()->useDefaultOptions ) {
SkyPoint newPoint; SkyPoint newPoint;
@ -331,7 +331,7 @@ void KStars::slotGeoLocator() {
// Make sure Numbers, Moon, planets, and sky objects are updated immediately // Make sure Numbers, Moon, planets, and sky objects are updated immediately
data()->setFullTimeUpdate(); data()->setFullTimeUpdate();
// If the sky is inQt::Horizontal mode and not tracking, reset focus such that // If the sky is in Horizontal mode and not tracking, reset focus such that
// Alt/Az remain constant. // Alt/Az remain constant.
if ( ! Options::isTracking() && Options::useAltAz() ) { if ( ! Options::isTracking() && Options::useAltAz() ) {
map()->focus()->HorizontalToEquatorial( LST(), geo()->lat() ); map()->focus()->HorizontalToEquatorial( LST(), geo()->lat() );

@ -157,7 +157,7 @@ void KStars::setGeoLocation( TQString city, TQString province, TQString country
//make sure planets, etc. are updated immediately //make sure planets, etc. are updated immediately
data()->setFullTimeUpdate(); data()->setFullTimeUpdate();
// If the sky is inQt::Horizontal mode and not tracking, reset focus such that // If the sky is in Horizontal mode and not tracking, reset focus such that
// Alt/Az remain constant. // Alt/Az remain constant.
if ( ! Options::isTracking() && Options::useAltAz() ) { if ( ! Options::isTracking() && Options::useAltAz() ) {
map()->focus()->HorizontalToEquatorial( LST(), geo()->lat() ); map()->focus()->HorizontalToEquatorial( LST(), geo()->lat() );

@ -30,7 +30,7 @@
<string>Correct coordinates of objects for the effects of the atmosphere</string> <string>Correct coordinates of objects for the effects of the atmosphere</string>
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>The atmosphere bends light passing through it, like a lens. If this item is checked, this "atmospheric refraction" will be simulated in the sky map. Note that this correction is only applied when using theQt::Horizontal coordinate system.</string> <string>The atmosphere bends light passing through it, like a lens. If this item is checked, this "atmospheric refraction" will be simulated in the sky map. Note that this correction is only applied when using the Horizontal coordinate system.</string>
</property> </property>
</widget> </widget>
<widget class="TQCheckBox"> <widget class="TQCheckBox">

@ -78,7 +78,7 @@ class PlanetCatalog : public TQObject {
/**@return pointer to the Earth. (must not be const because we call findPosition on it in KSPlanetBase::updateCoords() )*/ /**@return pointer to the Earth. (must not be const because we call findPosition on it in KSPlanetBase::updateCoords() )*/
KSPlanet *earth() { return Earth; } KSPlanet *earth() { return Earth; }
/**Compute the presentQt::Horizontal coordinates of all planets. /**Compute the present Horizontal coordinates of all planets.
*@p LST pointer to the current local sidereal time *@p LST pointer to the current local sidereal time
*@p lat pointer to the current geographic latitude *@p lat pointer to the current geographic latitude
*/ */

@ -1195,7 +1195,7 @@ bool SkyMap::checkVisibility( SkyPoint *p, float FOV, double XMax ) {
bool useAltAz = Options::useAltAz(); bool useAltAz = Options::useAltAz();
//Skip objects below the horizon if: //Skip objects below the horizon if:
// + usingQt::Horizontal coords, // + using Horizontal coords,
// + the ground is drawn, // + the ground is drawn,
// + and either of the following is true: // + and either of the following is true:
// - focus is above the horizon // - focus is above the horizon

@ -555,7 +555,7 @@ protected:
*@li +/- keys Zoom in and out *@li +/- keys Zoom in and out
*@li N/E/S/W keys Go to the cardinal points on the Horizon *@li N/E/S/W keys Go to the cardinal points on the Horizon
*@li Z Go to the Zenith *@li Z Go to the Zenith
*@li <i>Space</i> Toggle betweenQt::Horizontal and Equatorial coordinate systems *@li <i>Space</i> Toggle between Horizontal and Equatorial coordinate systems
*@li 0-9 Go to a major Solar System body (0=Sun; 1-9 are the major planets, except 3=Moon) *@li 0-9 Go to a major Solar System body (0=Sun; 1-9 are the major planets, except 3=Moon)
*@li [ Place starting point for measuring an angular distance *@li [ Place starting point for measuring an angular distance
*@li ] End point for Angular Distance; display measurement. *@li ] End point for Angular Distance; display measurement.
@ -825,7 +825,7 @@ private:
*screen pixel coordinate offsets from the center of the Sky pixmap. *screen pixel coordinate offsets from the center of the Sky pixmap.
*@param dx horizontal pixel offset from center of SkyMap. *@param dx horizontal pixel offset from center of SkyMap.
*@param dy vertical pixel offset from center of SkyMap. *@param dy vertical pixel offset from center of SkyMap.
*@param Horiz if TRUE, the SkyMap is displayed using theQt::Horizontal coordinate system *@param Horiz if TRUE, the SkyMap is displayed using the Horizontal coordinate system
*@param LSTh pointer to the local sidereal time, as a dms object. *@param LSTh pointer to the local sidereal time, as a dms object.
*@param lat pointer to the current geographic laitude, as a dms object *@param lat pointer to the current geographic laitude, as a dms object
*@param doRefraction if TRUE, correct for atmospheric refraction *@param doRefraction if TRUE, correct for atmospheric refraction
@ -854,7 +854,7 @@ private:
*exclude a large number of objects. *exclude a large number of objects.
* *
*Next, it determines if one of the poles of the current Coordinate System *Next, it determines if one of the poles of the current Coordinate System
*(Equatorial orQt::Horizontal) is currently inside the sky map window. This is *(Equatorial or Horizontal) is currently inside the sky map window. This is
*stored in the member variable 'bool SkyMap::isPoleVisible, and is set by the *stored in the member variable 'bool SkyMap::isPoleVisible, and is set by the
*function SkyMap::setMapGeometry(), which is called by SkyMap::paintEvent(). *function SkyMap::setMapGeometry(), which is called by SkyMap::paintEvent().
*If a Pole is visible, then it will return TRUE immediately. The idea is that *If a Pole is visible, then it will return TRUE immediately. The idea is that

@ -29,7 +29,7 @@
* *
*The sky coordinates of a point in the sky. The *The sky coordinates of a point in the sky. The
*coordinates are stored in both Equatorial (Right Ascension, *coordinates are stored in both Equatorial (Right Ascension,
*Declination) andQt::Horizontal (Azimuth, Altitude) coordinate systems. *Declination) and Horizontal (Azimuth, Altitude) coordinate systems.
*Provides set/get functions for each coordinate angle, and functions *Provides set/get functions for each coordinate angle, and functions
*to convert between the Equatorial and Horizon coordinate systems. *to convert between the Equatorial and Horizon coordinate systems.
* *

@ -45,7 +45,7 @@
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>Set the Altitude coordinate to be focused on in the sky map, in degrees. You can express the angle as a simple integer ("45") or floating-point ("45.333") value, or as space- or colon-delimited values specifying degrees, arcminutes and arcseconds ("45:20", "45:20:00", "45:20", "45 20.0", etc.). <string>Set the Altitude coordinate to be focused on in the sky map, in degrees. You can express the angle as a simple integer ("45") or floating-point ("45.333") value, or as space- or colon-delimited values specifying degrees, arcminutes and arcseconds ("45:20", "45:20:00", "45:20", "45 20.0", etc.).
The Altitude is one of the coordinates in theQt::Horizontal coordinate system. It is defined as the angle of an object above or below the horizon. For example, the Zenith has an Altitude of 90 degrees. Altitude is also known as Elevation.</string> The Altitude is one of the coordinates in the Horizontal coordinate system. It is defined as the angle of an object above or below the horizon. For example, the Zenith has an Altitude of 90 degrees. Altitude is also known as Elevation.</string>
</property> </property>
</widget> </widget>
<widget class="TQLabel" row="0" column="0"> <widget class="TQLabel" row="0" column="0">

@ -393,7 +393,7 @@ void ObservingList::slotSlewToObject()
if (!DecEle) continue; if (!DecEle) continue;
break; break;
//Qt::Horizontal // Horizontal
case 1: case 1:
if (prop->perm == PP_RO) continue; if (prop->perm == PP_RO) continue;
AzEle = prop->findElement("AZ"); AzEle = prop->findElement("AZ");

@ -646,7 +646,7 @@ void ScriptBuilder::initViewOptions() {
argChangeViewOption->OptionName->insertItem( "HideGrid" ); argChangeViewOption->OptionName->insertItem( "HideGrid" );
opsSkymap = new TQListViewItem( otv->OptionsList, i18n( "Skymap Options" ) ); opsSkymap = new TQListViewItem( otv->OptionsList, i18n( "Skymap Options" ) );
new TQListViewItem( opsSkymap, "UseAltAz", i18n( "UseQt::Horizontal coordinates? (otherwise, use Equatorial)" ), i18n( "bool" ) ); new TQListViewItem( opsSkymap, "UseAltAz", i18n( "Use Horizontal coordinates? (otherwise, use Equatorial)" ), i18n( "bool" ) );
new TQListViewItem( opsSkymap, "ZoomFactor", i18n( "Set the Zoom Factor" ), i18n( "double" ) ); new TQListViewItem( opsSkymap, "ZoomFactor", i18n( "Set the Zoom Factor" ), i18n( "double" ) );
new TQListViewItem( opsSkymap, "FOV Size", i18n( "Select angular size for the FOV symbol (in arcmin)" ), i18n( "double" ) ); new TQListViewItem( opsSkymap, "FOV Size", i18n( "Select angular size for the FOV symbol (in arcmin)" ), i18n( "double" ) );
new TQListViewItem( opsSkymap, "FOV Shape", i18n( "Select shape for the FOV symbol (0=Square, 1=Circle, 2=Crosshairs, 4=Bullseye)" ), i18n( "int" ) ); new TQListViewItem( opsSkymap, "FOV Shape", i18n( "Select shape for the FOV symbol (0=Square, 1=Circle, 2=Crosshairs, 4=Bullseye)" ), i18n( "int" ) );

Loading…
Cancel
Save