diff options
Diffstat (limited to 'kstars/kstars/indielement.h')
-rw-r--r-- | kstars/kstars/indielement.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kstars/kstars/indielement.h b/kstars/kstars/indielement.h index d7c18e15..a7f10f08 100644 --- a/kstars/kstars/indielement.h +++ b/kstars/kstars/indielement.h @@ -21,7 +21,7 @@ #define INDIVERSION 1.5 /* we support this or less */ -/* GUI layout */ +/* GUI tqlayout */ #define PROPERTY_LABEL_WIDTH 80 #define ELEMENT_LABEL_WIDTH 175 #define ELEMENT_READ_WIDTH 175 @@ -49,7 +49,7 @@ typedef enum {PG_NONE = 0, PG_TEXT, PG_NUMERIC, PG_BUTTONS, /* INDI std properties */ /* N.B. Need to modify corresponding entry in indidevice.cpp when changed */ enum stdProperties { CONNECTION, DEVICE_PORT, TIME, SDTIME, GEOGRAPHIC_COORD, /* General */ - EQUATORIAL_COORD, EQUATORIAL_EOD_COORD, HORIZONTAL_COORD, /* Telescope */ + ETQUATORIAL_COORD, ETQUATORIAL_EOD_COORD, HORIZONTAL_COORD, /* Telescope */ ABORT_MOTION, ON_COORD_SET, SOLAR_SYSTEM, MOVEMENT, PARK, /* Telescope */ CCD_EXPOSE_DURATION, CCD_TEMPERATURE, CCD_FRAME, /* CCD */ CCD_FRAME_TYPE, CCD_BINNING, CCD_INFO, CCDPREVIEW_STREAM, /* CCD */ @@ -86,18 +86,19 @@ XMLAtt * findAtt (XMLEle *ep , const char *name , char errmsg[]); XMLEle * findEle (XMLEle *ep , INDI_P *pp, const char *child, char errmsg[]); /* INDI Element */ -class INDI_E : public QObject +class INDI_E : public TQObject { Q_OBJECT + TQ_OBJECT public: - INDI_E(INDI_P *parentProperty, TQString inName, TQString inLabel); + INDI_E(INDI_P *tqparentProperty, TQString inName, TQString inLabel); ~INDI_E(); TQString name; /* name */ TQString label; /* label is the name by default, unless specefied */ PState state; /* control on/off t/f etc */ - INDI_P *pp; /* parent property */ + INDI_P *pp; /* tqparent property */ - TQHBoxLayout *EHBox; /* Horizontal layout */ + TQHBoxLayout *EHBox; /*Qt::Horizontal tqlayout */ /* GUI widgets, only malloced when needed */ KSqueezedTextLabel *label_w; // label @@ -105,11 +106,11 @@ class INDI_E : public QObject KLineEdit *write_w; // write field KLed *led_w; // light led KDoubleSpinBox *spin_w; // spinbox - QSlider *slider_w; // Slider + TQSlider *slider_w; // Slider KPushButton *push_w; // push button KPushButton *browse_w; // browse button TQCheckBox *check_w; // check box - TQSpacerItem *hSpacer; // Horizontal spacer + TQSpacerItem *hSpacer; //Qt::Horizontal spacer double min, max, step; // params for scale double value; // current value |