[RFC] Add getHostname convenience function to kdelibs? (was: Re: [PATCH] Make the default sending domain configurable)

Thiago Macieira thiagom at wanadoo.fr
Sat Apr 20 13:58:06 BST 2002


Thiago Macieira wrote
>Ingo Klöcker wrote
>
>>QCString <classname>::getHostname( bool fallback_to_localhost )
[snip]
>
>For lack of better place, I'll add that as a static function to
>KExtendedSocket, without the bool argument.
>
>Or does anyone have a better suggestion? KGlobal? KSystem?

Here goes a patch. Any more suggestions?

-- 
  Thiago Macieira - UFOT Registry number: 1001
 thiagom at mail.com
   ICQ UIN: 1967141  PGP: 0x8F2978D5 and 0xEA9037A5 (PGP 2.x)
     Registered Linux user #65028
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kextsock-gethostname.diff
Type: text/x-diff
Size: 2041 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020420/854ef83a/attachment.diff>


More information about the kde-core-devel mailing list