21 #include "kdelibs_export.h" 22 #include <kinstance.h> 31 class KStaticDeleterList;
109 static const TQString &staticQString(
const char *str);
128 static const TQString &staticQString(
const TQString &str);
152 static void deleteStaticDeleters();
155 static KStringDict *_stringDict;
159 static KStaticDeleterList *_staticDeleters;
167 static void setActiveInstance(
KInstance *d);
168 static KInstance *activeInstance() {
return _activeInstance; }
177 #define KMIN(a,b) kMin(a,b) 182 #define KMAX(a,b) kMax(a,b) 187 #define KABS(a) kAbs(a) 193 #define KCLAMP(x,low,high) kClamp(x,low,high) 197 inline const T& kMin (
const T& a,
const T& b) {
return a < b ? a : b; }
200 inline const T& kMax (
const T& a,
const T& b) {
return b < a ? a : b; }
203 inline T kAbs (
const T& a) {
return a < 0 ? -a : a; }
206 inline const T& kClamp(
const T& x,
const T& low,
const T& high )
208 if ( x < low )
return low;
209 else if ( high < x )
return high;
219 int KDECORE_EXPORT kasciistricmp(
const char *str1,
const char *str2 );
KConfig variant using shared memory.
Charset font and encoder/decoder handling.
Site-independent access to standard KDE directories.
Access to KDE global objects for use in shared libraries.
Access to the KDE global objects.
Access KDE Configuration entries.
KLocale provides support for country specific stuff like the national language.
Static deleters are used to manage static resources.