kradio4  r778
Macros | Functions
utils.h File Reference
#include <kconfig.h>
#include <klocale.h>
#include <kdebug.h>
#include <QtCore/QString>
#include <math.h>
Include dependency graph for utils.h:

Go to the source code of this file.

Macros

#define __USE_ISOC99   1
 

Functions

QString XMLEscape (const QString &s)
 
QString xmlOpenTag (const QString &tag, bool newline=true)
 
QString xmlTag (const QString &tag, const QString &s, bool newline=true)
 
QString xmlTag (const QString &tag, int i, bool newline=true)
 
QString xmlTag (const QString &tag, float f, bool newline=true)
 
QString xmlCloseTag (const QString &tag, bool newline=true)
 
template<class T1 , class T2 >
T1 min (T1 a, T2 b)
 
template<class T1 , class T2 >
T1 max (T1 a, T2 b)
 

Macro Definition Documentation

#define __USE_ISOC99   1

Definition at line 31 of file utils.h.

Function Documentation

template<class T1 , class T2 >
T1 max ( T1  a,
T2  b 
)
inline

Definition at line 45 of file utils.h.

template<class T1 , class T2 >
T1 min ( T1  a,
T2  b 
)
inline

Definition at line 44 of file utils.h.

QString xmlCloseTag ( const QString &  tag,
bool  newline = true 
)
QString XMLEscape ( const QString &  s)
QString xmlOpenTag ( const QString &  tag,
bool  newline = true 
)
QString xmlTag ( const QString &  tag,
const QString &  s,
bool  newline = true 
)
QString xmlTag ( const QString &  tag,
int  i,
bool  newline = true 
)
QString xmlTag ( const QString &  tag,
float  f,
bool  newline = true 
)