kpilot

options.h File Reference

#include "config.h"
#include <qglobal.h>
#include <qnamespace.h>
#include <qstring.h>
#include <kdebug.h>
#include <kdeversion.h>
#include <klocale.h>
#include "pilotLinkVersion.h"
#include <iostream>

Include dependency graph for options.h:

Go to the source code of this file.


Classes

class  KPilotDepthCount

Defines

#define CSL1(a)   QString::fromLatin1(a "")
#define DEBUG   (1)
#define DEBUGKPILOT   std::cerr
#define FUNCTIONSETUP   KPILOT_FNAMEDEF(1)
#define FUNCTIONSETUPL(l)   KPILOT_FNAMEDEF(l)
#define KPILOT_DELETE(a)   { if (a) { delete a; a=0L; } }
#define KPILOT_FNAMEDEF(l)   KPilotDepthCount fname(l,__FILE__ ":" "__LINE__")
#define KPILOT_FREE(a)   { if (a) { ::free(a); a=0L; } }
#define KPILOT_VERSION   "4.9.4-3510 (elsewhere)"
#define SPACING   (10)
#define TODO_I18N(a)   QString::fromLatin1(a)
#define TODO_I18N_P(a, b, c)   ((c>1) ? a : b)
#define WARNINGKPILOT

Functions

std::ostream & operator<< (std::ostream &o, const KPilotDepthCount &d)
std::ostream & operator<< (std::ostream &o, const QCString &s)
std::ostream & operator<< (std::ostream &o, const QString &s)
KDE_EXPORT QDateTime readTm (const struct tm &t)
QString rtExpand (const QString &s, Qt::TextFormat richText)
KDE_EXPORT struct tm writeTm (const QDate &dt)
KDE_EXPORT struct tm writeTm (const QDateTime &dt)

Variables

KDE_EXPORT int debug_level

Define Documentation

#define CSL1 (  )     QString::fromLatin1(a "")

Definition at line 197 of file options.h.

#define DEBUG   (1)

Definition at line 71 of file options.h.

#define DEBUGKPILOT   std::cerr

Definition at line 107 of file options.h.

#define FUNCTIONSETUP   KPILOT_FNAMEDEF(1)

Definition at line 101 of file options.h.

#define FUNCTIONSETUPL (  )     KPILOT_FNAMEDEF(l)

Definition at line 102 of file options.h.

#define KPILOT_DELETE (  )     { if (a) { delete a; a=0L; } }

Definition at line 175 of file options.h.

#define KPILOT_FNAMEDEF (  )     KPilotDepthCount fname(l,__FILE__ ":" "__LINE__")

Definition at line 98 of file options.h.

#define KPILOT_FREE (  )     { if (a) { ::free(a); a=0L; } }

Definition at line 174 of file options.h.

#define KPILOT_VERSION   "4.9.4-3510 (elsewhere)"

Definition at line 143 of file options.h.

#define SPACING   (10)

Definition at line 168 of file options.h.

#define TODO_I18N (  )     QString::fromLatin1(a)

Definition at line 183 of file options.h.

#define TODO_I18N_P ( a,
b,
 )     ((c>1) ? a : b)

Definition at line 184 of file options.h.

#define WARNINGKPILOT

Value:

std::cerr.clear(std::ios_base::goodbit),\
    std::cerr << "! " << k_funcinfo << std::endl << "!   "

Definition at line 108 of file options.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const KPilotDepthCount d 
) [inline]

Definition at line 114 of file options.h.

std::ostream& operator<< ( std::ostream &  o,
const QCString s 
) [inline]

Definition at line 66 of file options.h.

std::ostream& operator<< ( std::ostream &  o,
const QString s 
) [inline]

Definition at line 64 of file options.h.

KDE_EXPORT QDateTime readTm ( const struct tm &  t  ) 

Convert a struct tm from the pilot-link package to a QDateTime.

Definition at line 72 of file options.cc.

QString rtExpand ( const QString s,
Qt::TextFormat  richText 
)

Definition at line 58 of file options.cc.

KDE_EXPORT struct tm writeTm ( const QDate dt  )  [read]

Definition at line 105 of file options.cc.

KDE_EXPORT struct tm writeTm ( const QDateTime dt  )  [read]

Convert a QDateTime to a struct tm for use with the pilot-link package.

Definition at line 82 of file options.cc.


Variable Documentation

KDE_EXPORT int debug_level

Definition at line 43 of file options.cc.