karm

#include <preferences.h>

Inherits KDialogBase.

Public Slots

void showDialog ()
 
void load ()
 
void save ()
 

Signals

void detectIdleness (bool on)
 
void idlenessTimeout (int minutes)
 
void iCalFile (TQString)
 
void autoSave (bool on)
 
void autoSavePeriod (int minutes)
 
void setupChanged ()
 

Public Member Functions

void disableIdleDetection ()
 
bool detectIdleness () const
 
int idlenessTimeout () const
 
TQString iCalFile () const
 
TQString activeCalendarFile () const
 
bool autoSave () const
 
bool logging () const
 
int autoSavePeriod () const
 
bool promptDelete () const
 
TQString setPromptDelete (bool prompt)
 
bool displayColumn (int n) const
 
TQString userRealName () const
 
void emitSignals ()
 
bool readBoolEntry (const TQString &uid)
 
void writeEntry (const TQString &key, bool value)
 
void deleteEntry (const TQString &key)
 

Static Public Member Functions

static Preferencesinstance (const TQString &icsfile="")
 

Protected Slots

virtual void slotOk ()
 
virtual void slotCancel ()
 
void idleDetectCheckBoxChanged ()
 
void autoSaveCheckBoxChanged ()
 

Detailed Description

Provide an interface to the configuration options for the program.

Definition at line 16 of file preferences.h.

Member Function Documentation

◆ activeCalendarFile()

TQString Preferences::activeCalendarFile ( ) const

Definition at line 239 of file preferences.cpp.

◆ autoSave()

bool Preferences::autoSave ( ) const

Definition at line 242 of file preferences.cpp.

◆ autoSaveCheckBoxChanged

void Preferences::autoSaveCheckBoxChanged ( )
protectedslot

Definition at line 222 of file preferences.cpp.

◆ autoSavePeriod()

int Preferences::autoSavePeriod ( ) const

Definition at line 243 of file preferences.cpp.

◆ deleteEntry()

void Preferences::deleteEntry ( const TQString &  key)

Definition at line 329 of file preferences.cpp.

◆ detectIdleness()

bool Preferences::detectIdleness ( ) const

Definition at line 240 of file preferences.cpp.

◆ disableIdleDetection()

void Preferences::disableIdleDetection ( )

Definition at line 145 of file preferences.cpp.

◆ displayColumn()

bool Preferences::displayColumn ( int  n) const

Definition at line 247 of file preferences.cpp.

◆ emitSignals()

void Preferences::emitSignals ( )

Definition at line 227 of file preferences.cpp.

◆ iCalFile()

TQString Preferences::iCalFile ( ) const

Definition at line 238 of file preferences.cpp.

◆ idleDetectCheckBoxChanged

void Preferences::idleDetectCheckBoxChanged ( )
protectedslot

Definition at line 217 of file preferences.cpp.

◆ idlenessTimeout()

int Preferences::idlenessTimeout ( ) const

Definition at line 241 of file preferences.cpp.

◆ instance()

Preferences * Preferences::instance ( const TQString &  icsfile = "")
static

Definition at line 39 of file preferences.cpp.

◆ load

void Preferences::load ( )
slot

Definition at line 253 of file preferences.cpp.

◆ logging()

bool Preferences::logging ( ) const

Definition at line 244 of file preferences.cpp.

◆ promptDelete()

bool Preferences::promptDelete ( ) const

Definition at line 245 of file preferences.cpp.

◆ readBoolEntry()

bool Preferences::readBoolEntry ( const TQString &  uid)

Definition at line 316 of file preferences.cpp.

◆ save

void Preferences::save ( )
slot

Definition at line 288 of file preferences.cpp.

◆ setPromptDelete()

TQString Preferences::setPromptDelete ( bool  prompt)

Definition at line 246 of file preferences.cpp.

◆ showDialog

void Preferences::showDialog ( )
slot

Definition at line 156 of file preferences.cpp.

◆ slotCancel

void Preferences::slotCancel ( )
protectedvirtualslot

Definition at line 211 of file preferences.cpp.

◆ slotOk

void Preferences::slotOk ( )
protectedvirtualslot

Definition at line 184 of file preferences.cpp.

◆ userRealName()

TQString Preferences::userRealName ( ) const

Definition at line 248 of file preferences.cpp.

◆ writeEntry()

void Preferences::writeEntry ( const TQString &  key,
bool  value 
)

Definition at line 322 of file preferences.cpp.


The documentation for this class was generated from the following files: