21 #include "tdelibs_export.h"
22 #include <kinstance.h>
28 #ifdef __TDE_HAVE_TDEHWLIB
29 class TDEHardwareDevices;
30 class TDEGlobalNetworkManager;
35 class KStaticDeleterList;
84 #ifdef __TDE_HAVE_TDEHWLIB
89 static TDEHardwareDevices *hardwareDevices();
95 static TDEGlobalNetworkManager *networkManager();
127 static const TQString &staticQString(
const char *str);
146 static const TQString &staticQString(
const TQString &str);
170 static void deleteStaticDeleters();
173 static KStringDict *_stringDict;
177 static KStaticDeleterList *_staticDeleters;
186 static TDEInstance *activeInstance() {
return _activeInstance; }
195 #define KMIN(a,b) kMin(a,b)
200 #define KMAX(a,b) kMax(a,b)
205 #define KABS(a) kAbs(a)
211 #define KCLAMP(x,low,high) kClamp(x,low,high)
215 inline const T& kMin (
const T& a,
const T& b) {
return a < b ? a : b; }
218 inline const T& kMax (
const T& a,
const T& b) {
return b < a ? a : b; }
221 inline T kAbs (
const T& a) {
return a < 0 ? -a : a; }
224 inline const T& kClamp(
const T& x,
const T& low,
const T& high )
226 if ( x < low )
return low;
227 else if ( high < x )
return high;
237 TDECORE_EXPORT
int kasciistricmp(
const char *str1,
const char *str2 );
246 TDECORE_EXPORT
char* kasciitolower(
char *str );
255 TDECORE_EXPORT
char* kasciitoupper(
char *str );
Charset font and encoder/decoder handling.
Static deleters are used to manage static resources.
Access KDE Configuration entries.
Access to the KDE global objects.
Access to KDE global objects for use in shared libraries.
TDELocale provides support for country specific stuff like the national language.
TDEConfig variant using shared memory.
Site-independent access to standard KDE directories.