• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kalarm

Preferences Class Reference

#include <preferences.h>

Inheritance diagram for Preferences:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 40 of file preferences.h.


Public Types

enum  MailFrom { MAIL_FROM_KMAIL, MAIL_FROM_SYS_SETTINGS, MAIL_FROM_ADDR }

Signals

void holidaysChanged (const KHolidays &newHolidays)
void startOfDayChanged (const QTime &newStartOfDay, const QTime &oldStartOfDay)
void timeZoneChanged (const KTimeZone &newTz)
void workTimeChanged (const QTime &startTime, const QTime &endTime, const QBitArray &workDays)

Static Public Member Functions

static QString cmdXTermCommand ()
static bool confirmAlarmDeletion ()
static void connect (const char *signal, const QObject *receiver, const char *member)
static QColor defaultFgColour ()
static float defaultSoundVolume ()
static QString emailAddress ()
static QString emailBccAddress ()
static MailFrom emailBccFrom ()
static bool emailBccUseSystemSettings ()
static bool emailCopyToKMail ()
static MailFrom emailFrom ()
static bool emailQueuedNotify ()
static bool hasStartOfDayChanged ()
static const KHolidays & holidays ()
static ColourList messageColours ()
static bool quitWarn ()
static Preferences * self ()
static void setCmdXTermCommand (const QString &cmd)
static void setConfirmAlarmDeletion (bool yes)
static void setDefaultSoundVolume (float v)
static void setEmailAddress (MailFrom, const QString &address)
static void setEmailBccAddress (bool useSystemSettings, const QString &address)
static void setEmailCopyToKMail (bool yes)
static void setEmailQueuedNotify (bool yes)
static void setHolidayRegion (const QString &regionCode)
static void setMessageColours (const ColourList &)
static void setQuitWarn (bool yes)
static void setStartOfDay (const QTime &)
static void setTimeZone (const KTimeZone &)
static void setWorkDayEnd (const QTime &t)
static void setWorkDays (const QBitArray &)
static void setWorkDayStart (const QTime &t)
static QTime startOfDay ()
static KTimeZone timeZone (bool reload=false)
static void updateStartOfDayCheck (const QTime &)
static QTime workDayEnd ()
static QBitArray workDays ()
static QTime workDayStart ()

Static Public Attributes

static const char * CONFIRM_ALARM_DELETION = "ConfirmAlarmDeletion"
static const char * EMAIL_QUEUED_NOTIFY = "EmailQueuedNotify"
static const char * QUIT_WARN = "QuitWarn"

Member Enumeration Documentation

enum Preferences::MailFrom

Enumerator:
MAIL_FROM_KMAIL 
MAIL_FROM_SYS_SETTINGS 
MAIL_FROM_ADDR 

Definition at line 44 of file preferences.h.


Member Function Documentation

QString Preferences::cmdXTermCommand (  )  [static]

Definition at line 308 of file preferences.cpp.

static bool Preferences::confirmAlarmDeletion (  )  [inline, static]

Definition at line 69 of file preferences.h.

void Preferences::connect ( const char *  signal,
const QObject *  receiver,
const char *  member 
) [static]

Definition at line 319 of file preferences.cpp.

static QColor Preferences::defaultFgColour (  )  [inline, static]

Definition at line 56 of file preferences.h.

static float Preferences::defaultSoundVolume (  )  [inline, static]

Definition at line 84 of file preferences.h.

QString Preferences::emailAddress (  )  [static]

Definition at line 254 of file preferences.cpp.

QString Preferences::emailBccAddress (  )  [static]

Definition at line 285 of file preferences.cpp.

Preferences::MailFrom Preferences::emailBccFrom (  )  [static]

Definition at line 277 of file preferences.cpp.

bool Preferences::emailBccUseSystemSettings (  )  [static]

Definition at line 293 of file preferences.cpp.

static bool Preferences::emailCopyToKMail (  )  [inline, static]

Definition at line 71 of file preferences.h.

Preferences::MailFrom Preferences::emailFrom (  )  [static]

Definition at line 241 of file preferences.cpp.

static bool Preferences::emailQueuedNotify (  )  [inline, static]

Definition at line 73 of file preferences.h.

static bool Preferences::hasStartOfDayChanged (  )  [inline, static]

Definition at line 60 of file preferences.h.

const KHolidays & Preferences::holidays (  )  [static]

Definition at line 128 of file preferences.cpp.

void Preferences::holidaysChanged ( const KHolidays &  newHolidays  )  [signal]

ColourList Preferences::messageColours (  )  [static]

Definition at line 150 of file preferences.cpp.

static bool Preferences::quitWarn (  )  [inline, static]

Definition at line 67 of file preferences.h.

Preferences * Preferences::self (  )  [static]

Reimplemented from PreferencesBase.

Definition at line 72 of file preferences.cpp.

void Preferences::setCmdXTermCommand ( const QString &  cmd  )  [static]

Definition at line 313 of file preferences.cpp.

static void Preferences::setConfirmAlarmDeletion ( bool  yes  )  [inline, static]

Definition at line 70 of file preferences.h.

static void Preferences::setDefaultSoundVolume ( float  v  )  [inline, static]

Definition at line 85 of file preferences.h.

void Preferences::setEmailAddress ( Preferences::MailFrom  from,
const QString &  address 
) [static]

Definition at line 264 of file preferences.cpp.

void Preferences::setEmailBccAddress ( bool  useSystemSettings,
const QString &  address 
) [static]

Definition at line 298 of file preferences.cpp.

static void Preferences::setEmailCopyToKMail ( bool  yes  )  [inline, static]

Definition at line 72 of file preferences.h.

static void Preferences::setEmailQueuedNotify ( bool  yes  )  [inline, static]

Definition at line 74 of file preferences.h.

void Preferences::setHolidayRegion ( const QString &  regionCode  )  [static]

Definition at line 139 of file preferences.cpp.

void Preferences::setMessageColours ( const ColourList &  colours  )  [static]

Definition at line 163 of file preferences.cpp.

static void Preferences::setQuitWarn ( bool  yes  )  [inline, static]

Definition at line 68 of file preferences.h.

void Preferences::setStartOfDay ( const QTime &  t  )  [static]

Definition at line 179 of file preferences.cpp.

void Preferences::setTimeZone ( const KTimeZone &  tz  )  [static]

Definition at line 117 of file preferences.cpp.

static void Preferences::setWorkDayEnd ( const QTime &  t  )  [inline, static]

Definition at line 65 of file preferences.h.

void Preferences::setWorkDays ( const QBitArray &  dayBits  )  [static]

Definition at line 223 of file preferences.cpp.

static void Preferences::setWorkDayStart ( const QTime &  t  )  [inline, static]

Definition at line 64 of file preferences.h.

static QTime Preferences::startOfDay (  )  [inline, static]

Definition at line 57 of file preferences.h.

void Preferences::startOfDayChanged ( const QTime &  newStartOfDay,
const QTime &  oldStartOfDay 
) [signal]

KTimeZone Preferences::timeZone ( bool  reload = false  )  [static]

Definition at line 100 of file preferences.cpp.

void Preferences::timeZoneChanged ( const KTimeZone &  newTz  )  [signal]

void Preferences::updateStartOfDayCheck ( const QTime &  t  )  [static]

Definition at line 207 of file preferences.cpp.

static QTime Preferences::workDayEnd (  )  [inline, static]

Definition at line 62 of file preferences.h.

QBitArray Preferences::workDays (  )  [static]

Definition at line 214 of file preferences.cpp.

static QTime Preferences::workDayStart (  )  [inline, static]

Definition at line 61 of file preferences.h.

void Preferences::workTimeChanged ( const QTime &  startTime,
const QTime &  endTime,
const QBitArray &  workDays 
) [signal]


Member Data Documentation

const char * Preferences::CONFIRM_ALARM_DELETION = "ConfirmAlarmDeletion" [static]

Definition at line 89 of file preferences.h.

const char * Preferences::EMAIL_QUEUED_NOTIFY = "EmailQueuedNotify" [static]

Definition at line 90 of file preferences.h.

const char * Preferences::QUIT_WARN = "QuitWarn" [static]

Definition at line 88 of file preferences.h.


The documentation for this class was generated from the following files:
  • preferences.h
  • preferences.cpp

kalarm

Skip menu "kalarm"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal