1 /***************************************************************************
2 skyobjectname.cpp - description
4 begin : Wed Aug 22 2001
5 copyright : (C) 2001 by Jason Harris
6 email : kstars@30doradus.org
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #include "skyobjectname.h"
19 #include "skyobject.h"
21 SkyObjectName::SkyObjectName( const QString
&str
, SkyObject
*obj
)
22 : skyobject ( obj
), Text ( str
)
26 SkyObjectNameListItem::SkyObjectNameListItem ( QListBox
*parent
, SkyObjectName
*obj
)
27 : QListBoxText ( parent
), object ( obj
)
29 setText( obj
->text() );