kstars
skyobjectname.cpp
Go to the documentation of this file.00001 /*************************************************************************** 00002 skyobjectname.cpp - description 00003 ------------------- 00004 begin : Wed Aug 22 2001 00005 copyright : (C) 2001 by Jason Harris 00006 email : kstars@30doradus.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include "skyobjectname.h" 00019 #include "skyobject.h" 00020 00021 SkyObjectName::SkyObjectName( const QString &str, SkyObject *obj ) 00022 : skyobject ( obj ), Text ( str ) 00023 { 00024 } 00025 00026 SkyObjectNameListItem::SkyObjectNameListItem ( QListBox *parent, SkyObjectName *obj ) 00027 : QListBoxText ( parent ), object ( obj ) 00028 { 00029 setText( obj->text() ); 00030 } 00031 00032