- typedef struct KKey
- KKey [NB_KEYS] KKeys
- typedef unsigned long XID
- typedef unsigned long Atom
- typedef XID Window
- void kchdebug (const char *msg,...)
- inline void kchdebug (const char *,...)
- typedef struct KKey
- extern KKey [NB_KEYS] KKeys
- typedef QDict<KEntryDictEntry> KEntryDict
- typedef QDict<KEntryDict> KGroupDict
- typedef QDictIterator<KEntryDict> KGroupIterator
- typedef QDictIterator<KEntryDictEntry> KEntryIterator
- void kdebug ( unsigned short level, unsigned short area, const char *fmt, ... )
- void kdebug_null (unsigned short level, unsigned short area, const char *fmt, ...)
- enum DebugLevels {KDEBUG_INFO= 0, KDEBUG_WARN= 1, KDEBUG_ERROR= 2, KDEBUG_FATAL= 3 }
- const int KColorMode_Mask
- const int WebOnly
- const int LowOnly
- extern KProcessController * theKProcessController
- QString& operator<< ( QString&, short )
- QString& operator<< ( QString&, ushort )
- QString& operator<< ( QString&, int )
- QString& operator<< ( QString&, uint )
- QString& operator<< ( QString&, long )
- QString& operator<< ( QString&, ulong )
- QString& operator<< ( QString&, float )
- QString& operator<< ( QString&, double )
- QString& operator<< ( QString&, const char* )
- void ksprintf (QString *str, const char *fmt, ...)
uint stringToKey ( const char * sKey )
|
#include <kaccel.h>
Returns the key code corresponding to the string sKey or zero if the string
is not recognized. The string must be something like "SHIFT+A",
"F1+CTRL+ALT" or "Backspace" for example. That is, a key plus a combination
of SHIFT, CTRL and ALT.
const QString keyToString ( uint keyCode, bool i18_n = false )
|
#include <kaccel.h>
Returns a string corresponding to the key code keyCode, which is empty if
keyCode is not recognized or zero.
bool checkAccess (const char *pathname, int mode)
|
#include <kapp.h>
Check, if a file may be accessed in a given mode.
This is a wrapper around the access() system call.
checkAccess() calls access() with the given parameters.
If this is OK, checkAccess() returns true. If not, and W_OK
is part of mode, it is checked if there is write access to
the directory. If yes, checkAccess() returns true.
In all other cases checkAccess() returns false.
Other than access() this function EXPLICITELY ignores non-existant
files if checking for write access.
Parameters:
pathname | The full path of the file you want to test
|
mode | The access mode, as in the access() system call.
|
Returns: Whether the access is allowed, true = Access allowed
uint keyToXMod ( uint keyCode )
|
#include <kglobalaccel.h>
Returns the X key modifier for the key code keyCode.
uint keyToXSym ( uint keyCode )
|
#include <kglobalaccel.h>
Returns the X key sym for the key code keyCode.
Generated by: tasin@pcw-home on Sun Feb 13 22:01:56 2000, using kdoc 2.0a35. |