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

kjots

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KJotsSettings Class Reference

#include <KJotsSettings.h>

Inheritance diagram for KJotsSettings:
Inheritance graph
[legend]

Public Member Functions

 ~KJotsSettings ()
 

Static Public Member Functions

static bool autoSave ()
 
static int autoSaveInterval ()
 
static QString bookshelfOrder ()
 
static quint64 currentSelection ()
 
static QFont font ()
 
static quint64 lastId ()
 
static bool pageNamePrompt ()
 
static KJotsSettings * self ()
 
static void setBookshelfOrder (const QString &v)
 
static void setCurrentSelection (quint64 v)
 
static void setLastId (quint64 v)
 
static void setSplitterSizes (const QList< int > &v)
 
static QList< int > splitterSizes ()
 
static bool unicode ()
 

Protected Member Functions

 KJotsSettings ()
 

Protected Attributes

bool mAutoSave
 
int mAutoSaveInterval
 
QString mBookshelfOrder
 
quint64 mCurrentSelection
 
QFont mFont
 
quint64 mLastId
 
bool mPageNamePrompt
 
QList< int > mSplitterSizes
 
bool mUnicode
 

Detailed Description

Definition at line 10 of file KJotsSettings.h.

Constructor & Destructor Documentation

KJotsSettings::~KJotsSettings ( )

Definition at line 65 of file KJotsSettings.cpp.

KJotsSettings::KJotsSettings ( )
protected

Definition at line 27 of file KJotsSettings.cpp.

Member Function Documentation

static bool KJotsSettings::autoSave ( )
inlinestatic

Get Whether books should be saved automatically.

Definition at line 70 of file KJotsSettings.h.

static int KJotsSettings::autoSaveInterval ( )
inlinestatic

Get The interval in minutes at which books should be saved automatically.

Definition at line 90 of file KJotsSettings.h.

static QString KJotsSettings::bookshelfOrder ( )
inlinestatic

Get The IDs of the books in the bookshelf.

Definition at line 128 of file KJotsSettings.h.

static quint64 KJotsSettings::currentSelection ( )
inlinestatic

Get The book or page that is currently active.

Definition at line 50 of file KJotsSettings.h.

static QFont KJotsSettings::font ( )
inlinestatic

Get The font used to display the contents of books.

Definition at line 60 of file KJotsSettings.h.

static quint64 KJotsSettings::lastId ( )
inlinestatic

Get The last ID that was used for a book or page.

Definition at line 109 of file KJotsSettings.h.

static bool KJotsSettings::pageNamePrompt ( )
inlinestatic

Get Ask for a name when creating a new page?

Definition at line 138 of file KJotsSettings.h.

KJotsSettings * KJotsSettings::self ( )
static

Definition at line 17 of file KJotsSettings.cpp.

static void KJotsSettings::setBookshelfOrder ( const QString &  v)
inlinestatic

Set The IDs of the books in the bookshelf.

Definition at line 118 of file KJotsSettings.h.

static void KJotsSettings::setCurrentSelection ( quint64  v)
inlinestatic

Set The book or page that is currently active.

Definition at line 40 of file KJotsSettings.h.

static void KJotsSettings::setLastId ( quint64  v)
inlinestatic

Set The last ID that was used for a book or page.

Definition at line 99 of file KJotsSettings.h.

static void KJotsSettings::setSplitterSizes ( const QList< int > &  v)
inlinestatic

Set How the main window is divided.

Definition at line 21 of file KJotsSettings.h.

static QList<int> KJotsSettings::splitterSizes ( )
inlinestatic

Get How the main window is divided.

Definition at line 31 of file KJotsSettings.h.

static bool KJotsSettings::unicode ( )
inlinestatic

Get Whether UTF-8 encoding should be forced for saving and loading.

Definition at line 80 of file KJotsSettings.h.

Member Data Documentation

bool KJotsSettings::mAutoSave
protected

Definition at line 152 of file KJotsSettings.h.

int KJotsSettings::mAutoSaveInterval
protected

Definition at line 154 of file KJotsSettings.h.

QString KJotsSettings::mBookshelfOrder
protected

Definition at line 156 of file KJotsSettings.h.

quint64 KJotsSettings::mCurrentSelection
protected

Definition at line 150 of file KJotsSettings.h.

QFont KJotsSettings::mFont
protected

Definition at line 151 of file KJotsSettings.h.

quint64 KJotsSettings::mLastId
protected

Definition at line 155 of file KJotsSettings.h.

bool KJotsSettings::mPageNamePrompt
protected

Definition at line 157 of file KJotsSettings.h.

QList<int> KJotsSettings::mSplitterSizes
protected

Definition at line 149 of file KJotsSettings.h.

bool KJotsSettings::mUnicode
protected

Definition at line 153 of file KJotsSettings.h.


The documentation for this class was generated from the following files:
  • KJotsSettings.h
  • KJotsSettings.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kjots

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal