|
|
typedef QMap<QString, KKeyEntry> KKeyEntryMap | KKeyEntryMap |
#include <kaccel.h>
typedef unsigned long Atom | Atom |
#include <kapp.h>
bool checkAccess (const QString& pathname, int mode)
| checkAccess |
#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
typedef struct -- | -- |
#include <kckey.h>
typedef QValueList<QCString> QCStringList | QCStringList |
#include <kcmdlineargs.h>
typedef QValueList<KCompTreeNode *> KCompTreeChildren | KCompTreeChildren |
#include <kcompletion_private.h>
inline bool operator < (const KEntryKey &k1, const KEntryKey &k2)
| operator < |
#include <kconfigdata.h>
compares two KEntryKeys (needed for QMap).
typedef QMap<KEntryKey, KEntry> KEntryMap | KEntryMap |
#include <kconfigdata.h>
type specifying a map of entries (key,value pairs). The keys are actually a key in a particular config file group together with the group name.
typedef QMap<KEntryKey, KEntry>::Iterator KEntryMapIterator | KEntryMapIterator |
#include <kconfigdata.h>
type for iterating over keys in a KEntryMap in sorted order.
typedef QMap<KEntryKey, KEntry>::ConstIterator KEntryMapConstIterator | KEntryMapConstIterator |
#include <kconfigdata.h>
type for iterating over keys in a KEntryMap in sorted order. It is const, thus you cannot change the entries in the iterator, only examine them.
inline QDataStream & operator << (QDataStream & str, bool b)
| operator << |
#include <kdatastream.h>
inline QDataStream & operator >> (QDataStream & str, bool & b)
| operator >> |
#include <kdatastream.h>
void * operator new (size_t size, const char *file, const int line)
| operator new |
#include <kde_dmalloc.h>
These operators are used in conjunction with the dmalloc memory debugging library.
void * operator new[] (size_t size, const char *file, const int line)
| operator new[] |
#include <kde_dmalloc.h>
void kDebugFatal ( const char* fmt, ... )
| kDebugFatal |
#include <kdebug.h>
void kDebugFatal ( unsigned short area, const char* fmt, ... )
| kDebugFatal |
#include <kdebug.h>
typedef kdbgstream & (*KDBGFUNC) (kdbgstream &) | (*KDBGFUNC) |
#include <kdebug.h>
typedef kndbgstream & (*KNDBGFUNC) (kndbgstream &) | (*KNDBGFUNC) |
#include <kdebug.h>
inline kdbgstream & endl ( kdbgstream &s)
| endl |
#include <kdebug.h>
inline kdbgstream & flush ( kdbgstream &s)
| flush |
#include <kdebug.h>
kdbgstream & perror ( kdbgstream &s)
| perror |
#include <kdebug.h>
inline kndbgstream & endl ( kndbgstream & s)
| endl |
#include <kdebug.h>
inline kndbgstream & flush ( kndbgstream & s)
| flush |
#include <kdebug.h>
inline kndbgstream & perror ( kndbgstream & s)
| perror |
#include <kdebug.h>
kdbgstream kdDebug (int area = 0)
| kdDebug |
#include <kdebug.h>
kdbgstream kdDebug (bool cond, int area = 0)
| kdDebug |
#include <kdebug.h>
inline kndbgstream kdDebug (int = 0)
| kdDebug |
#include <kdebug.h>
inline kndbgstream kdDebug (bool , int = 0)
| kdDebug |
#include <kdebug.h>
kdbgstream kdWarning (int area = 0)
| kdWarning |
#include <kdebug.h>
kdbgstream kdWarning (bool cond, int area = 0)
| kdWarning |
#include <kdebug.h>
kdbgstream kdError (int area = 0)
| kdError |
#include <kdebug.h>
kdbgstream kdError (bool cond, int area = 0)
| kdError |
#include <kdebug.h>
kdbgstream kdFatal (int area = 0)
| kdFatal |
#include <kdebug.h>
kdbgstream kdFatal (bool cond, int area = 0)
| kdFatal |
#include <kdebug.h>
template<class T>
inline const T& kMin (const T& a, const T& b)
| kMin |
#include <kglobal.h>
A typesafe function to find the maximum of the two arguments.
template<class T>
inline const T& kMax (const T& a, const T& b)
| kMax |
#include <kglobal.h>
uint keyToXMod ( int keyCode )
| keyToXMod |
#include <kglobalaccel.h>
Returns the X key modifier for the key code keyCode.
uint keyToXSym ( int keyCode )
| keyToXSym |
#include <kglobalaccel.h>
Returns the X key sym for the key code keyCode.
QPixmap DesktopIcon (const QString& name, int size=0,
int state=KIcon::DefaultState,
KInstance *instance=KGlobal::instance())
| DesktopIcon |
#include <kiconloader.h>
QPixmap DesktopIcon (const QString& name, KInstance *instance)
| DesktopIcon |
#include <kiconloader.h>
QIconSet DesktopIconSet (const QString& name, int size=0,
KInstance *instance=KGlobal::instance())
| DesktopIconSet |
#include <kiconloader.h>
QPixmap BarIcon (const QString& name, int size=0, int state=KIcon::DefaultState,
KInstance *instance=KGlobal::instance())
| BarIcon |
#include <kiconloader.h>
QPixmap BarIcon (const QString& name, KInstance *instance)
| BarIcon |
#include <kiconloader.h>
QIconSet BarIconSet (const QString& name, int size=0,
KInstance *instance=KGlobal::instance())
| BarIconSet |
#include <kiconloader.h>
QPixmap SmallIcon (const QString& name, int size=0,
int state=KIcon::DefaultState,
KInstance *instance=KGlobal::instance())
| SmallIcon |
#include <kiconloader.h>
QPixmap SmallIcon (const QString& name, KInstance *instance)
| SmallIcon |
#include <kiconloader.h>
QIconSet SmallIconSet (const QString& name, int size=0,
KInstance *instance=KGlobal::instance())
| SmallIconSet |
#include <kiconloader.h>
QPixmap MainBarIcon (const QString& name, int size=0,
int state=KIcon::DefaultState,
KInstance *instance=KGlobal::instance())
| MainBarIcon |
#include <kiconloader.h>
QPixmap MainBarIcon (const QString& name, KInstance *instance)
| MainBarIcon |
#include <kiconloader.h>
QIconSet MainBarIconSet (const QString& name, int size=0,
KInstance *instance=KGlobal::instance())
| MainBarIconSet |
#include <kiconloader.h>
QPixmap UserIcon (const QString& name, int state=KIcon::DefaultState,
KInstance *instance=KGlobal::instance())
| UserIcon |
#include <kiconloader.h>
QPixmap UserIcon (const QString& name, KInstance *instance)
| UserIcon |
#include <kiconloader.h>
QIconSet UserIconSet (const QString& name,
KInstance *instance=KGlobal::instance())
| UserIconSet |
#include <kiconloader.h>
int IconSize (int group, KInstance *instance=KGlobal::instance())
| IconSize |
#include <kiconloader.h>
QString i18n (const char *text)
| i18n |
#include <klocale.h>
i18n is the function that does everything you need to translate a string. You just wrap around every user visible string a i18n call to get a QString with the string in the user's prefered language.
QString i18n (const char *index, const char *text)
| i18n |
#include <klocale.h>
If the string is too ambigious to be translated well to a non-english language, use this form of i18n to separate lookup string and english text
See also: translate
typedef unsigned long Atom | Atom |
#include <krootprop.h>
typedef sockaddr_in6 ksockaddr_in | ksockaddr_in |
#include <ksock.h>
typedef sockaddr_in ksockaddr_in | ksockaddr_in |
#include <ksock.h>
QString locate ( const char *type, const QString& filename, const KInstance* instance = KGlobal::instance() )
| locate |
#include <kstddirs.h>
This function is just for convience. It simply calls instance->dirs()->findResource(type, filename).
QString locateLocal ( const char *type, const QString& filename, const KInstance* instance = KGlobal::instance() )
| locateLocal |
#include <kstddirs.h>
This function is much like locate. However it returns a filename suitable for writing to. No check is made if the specified filename actually exists. Missing directories are created. If filename is only a directory, without a specific file, filename must have a trailing slash.
bool urlcmp ( const QString& _url1, const QString& _url2 )
| urlcmp |
#include <kurl.h>
Compares URLs. They are parsed, split and compared. Two malformed URLs with the same string representation are nevertheless considered to be unequal. That means no malformed URL equals anything else.
bool urlcmp ( const QString& _url1, const QString& _url2, bool _ignore_trailing, bool _ignore_ref )
| urlcmp |
#include <kurl.h>
Compares URLs. They are parsed, split and compared. Two malformed URLs with the same string representation are nevertheless considered to be unequal. That means no malformed URL equals anything else.
Parameters:
_ignore_trailing | Described in KURL::cmp |
_ignore_ref | If true , disables comparison of HTML-style references.
|
QDataStream & operator<< (QDataStream & s, const KURL & a)
| operator<< |
#include <kurl.h>
QDataStream & operator>> (QDataStream & s, KURL & a)
| operator>> |
#include <kurl.h>
Generated by: faure on ftp.kde.com on Wed Jun 20 14:22:19 2001, using kdoc 2.0a53. |