• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Functions | Variables
KDE Namespace Reference

Functions

int getaddrinfo (const char *name, const char *service, const struct addrinfo *hint, struct addrinfo **result)
 
void freeaddrinfo (struct addrinfo *ai)
 
char * gai_strerror (int errorcode)
 
int getnameinfo (const struct sockaddr *sa, unsigned int salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags)
 
int inet_pton (int af, const char *cp, void *buf)
 
const char * inet_ntop (int af, const void *cp, char *buf, size_t len)
 
unsigned int version ()
 
unsigned int versionMajor ()
 
unsigned int versionMinor ()
 
unsigned int versionRelease ()
 
const char * versionString ()
 

Variables

const int TDE_EXPORT resolverFlags = KRF_getaddrinfo | KRF_resolver | KRF_afinet6 | KRF_inet_ntop | KRF_inet_pton
 

Detailed Description

Namespace for general KDE functions.

Function Documentation

◆ version()

unsigned int KDE::version ( )

Returns the encoded number of KDE's version, see the TDE_VERSION macro.

In contrary to that macro this function returns the number of the actully installed KDE version, not the number of the KDE version that was installed when the program was compiled.

Returns
the version number, encoded in a single uint
Since
3.2

Definition at line 22 of file tdeversion.cpp.

◆ versionMajor()

unsigned int KDE::versionMajor ( )

Returns the major number of KDE's version, e.g.

3 for KDE 3.1.2.

Returns
the major version number
Since
3.1

Definition at line 27 of file tdeversion.cpp.

◆ versionMinor()

unsigned int KDE::versionMinor ( )

Returns the minor number of KDE's version, e.g.

1 for KDE 3.1.2.

Returns
the minor version number
Since
3.1

Definition at line 32 of file tdeversion.cpp.

◆ versionRelease()

unsigned int KDE::versionRelease ( )

Returns the release of KDE's version, e.g.

2 for KDE 3.1.2.

Returns
the release number
Since
3.1

Definition at line 37 of file tdeversion.cpp.

◆ versionString()

const char * KDE::versionString ( )

Returns the KDE version as string, e.g.

"3.1.2".

Returns
the KDE version. You can keep the string forever
Since
3.1

Definition at line 42 of file tdeversion.cpp.

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.