21 #include "tdelibs_export.h" 22 #include <kinstance.h> 28 class TDEHardwareDevices;
29 class TDEGlobalNetworkManager;
33 class KStaticDeleterList;
86 static TDEHardwareDevices *hardwareDevices();
92 static TDEGlobalNetworkManager *networkManager();
123 static const TQString &staticQString(
const char *str);
142 static const TQString &staticQString(
const TQString &str);
166 static void deleteStaticDeleters();
169 static KStringDict *_stringDict;
173 static KStaticDeleterList *_staticDeleters;
182 static TDEInstance *activeInstance() {
return _activeInstance; }
191 #define KMIN(a,b) kMin(a,b) 196 #define KMAX(a,b) kMax(a,b) 201 #define KABS(a) kAbs(a) 207 #define KCLAMP(x,low,high) kClamp(x,low,high) 211 inline const T& kMin (
const T& a,
const T& b) {
return a < b ? a : b; }
214 inline const T& kMax (
const T& a,
const T& b) {
return b < a ? a : b; }
217 inline T kAbs (
const T& a) {
return a < 0 ? -a : a; }
220 inline const T& kClamp(
const T& x,
const T& low,
const T& high )
222 if ( x < low )
return low;
223 else if ( high < x )
return high;
233 int TDECORE_EXPORT kasciistricmp(
const char *str1,
const char *str2 );
250 #endif // _TDEGLOBAL_H Access KDE Configuration entries.
Charset font and encoder/decoder handling.
Access to the KDE global objects.
Site-independent access to standard KDE directories.
TDELocale provides support for country specific stuff like the national language. ...
TDEConfig variant using shared memory.
Static deleters are used to manage static resources.
Access to KDE global objects for use in shared libraries.