• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

SkyObjectName Class Reference

Convenience class which contains a SkyObject's name and a pointer to the SkyObject itself. More...

#include <skyobjectname.h>

List of all members.


Public Member Functions

bool operator< (SkyObjectName &o)
bool operator== (SkyObjectName &o)
SkyObject * skyObject ()
 SkyObjectName (const QString &str=QString::null, SkyObject *obj=0)
QString text ()
QString translatedText ()
 ~SkyObjectName ()

Detailed Description

Convenience class which contains a SkyObject's name and a pointer to the SkyObject itself.

This class is used to construct the List of named objects that may be located with the FindDialog. convenience class for indexing SkyObjects by name.

Author:
Thomas Kabelmann
Version:
1.0

Definition at line 36 of file skyobjectname.h.


Constructor & Destructor Documentation

SkyObjectName::SkyObjectName ( const QString &  str = QString::null,
SkyObject *  obj = 0 
)

Constructor.

Definition at line 21 of file skyobjectname.cpp.

SkyObjectName::~SkyObjectName (  )  [inline]

Destructor (empty).

Definition at line 43 of file skyobjectname.h.


Member Function Documentation

bool SkyObjectName::operator< ( SkyObjectName &  o  )  [inline]

Comparison operator, needed for sorting.

Definition at line 56 of file skyobjectname.h.

bool SkyObjectName::operator== ( SkyObjectName &  o  )  [inline]

Equivalence operator, needed for sorting.

Definition at line 60 of file skyobjectname.h.

SkyObject* SkyObjectName::skyObject (  )  [inline]

Returns:
pointer to the SkyObject

Definition at line 52 of file skyobjectname.h.

QString SkyObjectName::text (  )  [inline]

Returns:
the name of the SkyObject

Definition at line 46 of file skyobjectname.h.

QString SkyObjectName::translatedText (  )  [inline]

Returns:
translated version of the SkyObject's name

Definition at line 49 of file skyobjectname.h.


The documentation for this class was generated from the following files:
  • skyobjectname.h
  • skyobjectname.cpp

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal