summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/objectnamelist.h
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/objectnamelist.h')
-rw-r--r--kstars/kstars/objectnamelist.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kstars/kstars/objectnamelist.h b/kstars/kstars/objectnamelist.h
index 691311ee..ea19f621 100644
--- a/kstars/kstars/objectnamelist.h
+++ b/kstars/kstars/objectnamelist.h
@@ -71,7 +71,7 @@ class ObjectNameList {
*@return pointer to the first object in the selected list.
*@param name the name to use in selecting a list.
*/
- SkyObjectName* first(const TQString &name = TQString::null);
+ SkyObjectName* first(const TQString &name = TQString());
/**Returns next object in the currently selected list.
*@return pointer to the next object in the current list, or NULL if
@@ -87,13 +87,13 @@ class ObjectNameList {
*@param name name of object to find.
*@return pointer to object with the given name
*/
- SkyObjectName* find(const TQString &name = TQString::null);
+ SkyObjectName* tqfind(const TQString &name = TQString());
/**@short remove the named object from the list.
*@param name the name of the object to be removed.
*@note If the object is not found, then nothing happens.
*/
- void remove( const TQString &name = TQString::null );
+ void remove( const TQString &name = TQString() );
/**Define the language which should be used for constellation names
*/
@@ -118,7 +118,7 @@ class ObjectNameList {
private:
/**Sorts the lists with objects for faster access.
- *It's needed for find(). first() and find() call this function.
+ *It's needed for tqfind(). first() and tqfind() call this function.
*/
void sort();
@@ -128,7 +128,7 @@ class ObjectNameList {
*of the list itself.
*@param name the name of the object whose index is to be found
*/
- int getIndex( const TQString &name = TQString::null );
+ int getIndex( const TQString &name = TQString() );
/**Two modes are available:
*allLists = loop through the whole list if next() is called