From a374efce3a207b39514be3c52264091400ce297e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:44:41 +0000 Subject: TQt4 port kdeedu This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstars/kstars/objectnamelist.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kstars/kstars/objectnamelist.h') 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 -- cgit v1.2.3