diff options
Diffstat (limited to 'kstars/kstars/detaildialog.h')
-rw-r--r-- | kstars/kstars/detaildialog.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/kstars/kstars/detaildialog.h b/kstars/kstars/detaildialog.h index 301a2a13..dd6a5f8a 100644 --- a/kstars/kstars/detaildialog.h +++ b/kstars/kstars/detaildialog.h @@ -56,8 +56,9 @@ struct ADVTreeData */ class LogEdit : public KTextEdit { Q_OBJECT + TQ_OBJECT public: - LogEdit( TQWidget *parent=0, const char *name=0 ); + LogEdit( TQWidget *tqparent=0, const char *name=0 ); ~LogEdit() {} signals: @@ -73,15 +74,16 @@ protected: */ class ClickLabel : public TQLabel { Q_OBJECT + TQ_OBJECT public: - ClickLabel( TQWidget *parent=0, const char *name=0 ); + ClickLabel( TQWidget *tqparent=0, const char *name=0 ); ~ClickLabel() {} signals: void clicked(); protected: - void mousePressEvent( TQMouseEvent *e ) { if ( e->button() == LeftButton ) emit clicked(); } + void mousePressEvent( TQMouseEvent *e ) { if ( e->button() == Qt::LeftButton ) emit clicked(); } }; /**@class DetailDialog is a window showing detailed information for a selected object. @@ -104,10 +106,11 @@ protected: class DetailDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /**Constructor */ - DetailDialog(SkyObject *o, const KStarsDateTime &ut, GeoLocation *geo, TQWidget *parent=0, const char *name=0); + DetailDialog(SkyObject *o, const KStarsDateTime &ut, GeoLocation *geo, TQWidget *tqparent=0, const char *name=0); /**Destructor (empty) */ @@ -211,11 +214,11 @@ private: /**Populate the TreeView of known astronomical databases in the Advanced Tab */ - void populateADVTree(TQListViewItem *parent); + void populateADVTree(TQListViewItem *tqparent); /**For the databases TreeView */ - void forkTree(TQListViewItem *parent); + void forkTree(TQListViewItem *tqparent); /**Data for the Advanced Tab TreeView is stored in the file advinterface.dat. *This function parses advinterface.dat. |