KDECore
Classes | |
struct | IfEqualThenElse |
struct | IfEqualThenElse< FS, FS, Then, Else > |
struct | IfThenElse |
struct | IfThenElse< false, T, U > |
class | NullType |
struct | SameTypes |
struct | SameTypes< T, T > |
Functions | |
int | access (const QString &path, int mode) |
int | chmod (const QString &path, mode_t mode) |
FILE * | fopen (const QString &pathname, const char *mode) |
void | freeaddrinfo (struct addrinfo *ai) |
int | getaddrinfo (const char *name, const char *service, const struct addrinfo *hint, struct addrinfo **result) |
int | getnameinfo (const struct sockaddr *sa, kde_socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) |
const char * | inet_ntop (int af, const void *cp, char *buf, size_t len) |
int | inet_pton (int af, const char *cp, void *buf) |
int | lstat (const QString &path, KDE_struct_stat *buf) |
int | mkdir (const QString &pathname, mode_t) |
int | open (const QString &pathname, int flags, mode_t mode) |
int | rename (const QString &in, const QString &out) |
int | stat (const QString &path, KDE_struct_stat *buf) |
int | utime (const QString &filename, struct utimbuf *buf) |
unsigned int | version () |
unsigned int | versionMajor () |
unsigned int | versionMinor () |
unsigned int | versionRelease () |
const char * | versionString () |
Variables | |
const int | resolverFlags = KRF_getaddrinfo | KRF_resolver | KRF_afinet6 | KRF_inet_ntop | KRF_inet_pton |
Detailed Description
Namespace for general KDE functions.
Function Documentation
int KDE::access | ( | const QString & | path, |
int | mode | ||
) |
Definition at line 123 of file kde_file_win.cpp.
int KDE::chmod | ( | const QString & | path, |
mode_t | mode | ||
) |
Definition at line 138 of file kde_file_win.cpp.
FILE* KDE::fopen | ( | const QString & | pathname, |
const char * | mode | ||
) |
Definition at line 143 of file kde_file_win.cpp.
void KDE::freeaddrinfo | ( | struct addrinfo * | ai | ) |
Definition at line 884 of file netsupp.cpp.
int KDE::getaddrinfo | ( | const char * | name, |
const char * | service, | ||
const struct addrinfo * | hint, | ||
struct addrinfo ** | result | ||
) |
Definition at line 784 of file netsupp.cpp.
int KDE::getnameinfo | ( | const struct sockaddr * | sa, |
kde_socklen_t | salen, | ||
char * | host, | ||
size_t | hostlen, | ||
char * | serv, | ||
size_t | servlen, | ||
int | flags | ||
) |
Definition at line 944 of file netsupp.cpp.
const char* KDE::inet_ntop | ( | int | af, |
const void * | cp, | ||
char * | buf, | ||
size_t | len | ||
) |
Definition at line 1040 of file netsupp.cpp.
int KDE::inet_pton | ( | int | af, |
const char * | cp, | ||
void * | buf | ||
) |
Definition at line 1142 of file netsupp.cpp.
int KDE::lstat | ( | const QString & | path, |
KDE_struct_stat * | buf | ||
) |
Definition at line 148 of file kde_file_win.cpp.
int KDE::mkdir | ( | const QString & | pathname, |
mode_t | |||
) |
Definition at line 153 of file kde_file_win.cpp.
int KDE::open | ( | const QString & | pathname, |
int | flags, | ||
mode_t | mode | ||
) |
Definition at line 158 of file kde_file_win.cpp.
Definition at line 163 of file kde_file_win.cpp.
int KDE::stat | ( | const QString & | path, |
KDE_struct_stat * | buf | ||
) |
Definition at line 175 of file kde_file_win.cpp.
int KDE::utime | ( | const QString & | filename, |
struct utimbuf * | buf | ||
) |
Definition at line 246 of file kde_file_win.cpp.
unsigned int KDE::version | ( | ) |
Returns the encoded number of KDE's version, see the KDE_VERSION macro.
In contrary to the macro KDE_VERSION this function returns the number of the actually 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
Definition at line 24 of file kdeversion.cpp.
unsigned int KDE::versionMajor | ( | ) |
Returns the major number of KDE's version, e.g.
4 for KDE 4.1.2.
- Returns
- the major version number
Definition at line 29 of file kdeversion.cpp.
unsigned int KDE::versionMinor | ( | ) |
Returns the minor number of KDE's version, e.g.
1 for KDE 4.1.2.
- Returns
- the minor version number
Definition at line 34 of file kdeversion.cpp.
unsigned int KDE::versionRelease | ( | ) |
Returns the release of KDE's version, e.g.
2 for KDE 4.1.2.
- Returns
- the release number
Definition at line 39 of file kdeversion.cpp.
const char * KDE::versionString | ( | ) |
Returns the KDE version as string, e.g.
"4.1.2".
On contrary to the macro KDE_VERSION_STRING this function returns the version number of KDE at runtime.
- Returns
- the KDE version. You can keep the string forever
Definition at line 44 of file kdeversion.cpp.
Variable Documentation
const int KDE::resolverFlags = KRF_getaddrinfo | KRF_resolver | KRF_afinet6 | KRF_inet_ntop | KRF_inet_pton |
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.