kpilot

options.cc File Reference

#include "options.h"
#include <iostream>
#include <qsize.h>
#include <kconfig.h>
#include <kdebug.h>
#include <kcmdlineargs.h>

Include dependency graph for options.cc:

Go to the source code of this file.


Functions

QDateTime readTm (const struct tm &t)
QString rtExpand (const QString &s, Qt::TextFormat richText)
struct tm writeTm (const QDate &d)
struct tm writeTm (const QDateTime &dt)

Variables

int debug_level = 1
static const char debug_spaces [61]

Function Documentation

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.

struct tm writeTm ( const QDate d  )  [read]

Definition at line 105 of file options.cc.

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

int debug_level = 1

Definition at line 43 of file options.cc.

const char debug_spaces[61] [static]

Initial value:

    "                    "
    "                    "
    "                    "

Definition at line 52 of file options.cc.