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

knotes

Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KNoteEdit Class Reference

#include <knoteedit.h>

Inherits CustomTextEdit.

Public Slots

void setRichText (bool)
 
void setTextFontSize (int)
 
void slotInsertDate ()
 
void slotTextBackgroundColor ()
 
void slotTextColor ()
 
void textAlignBlock ()
 
void textAlignCenter ()
 
void textAlignLeft ()
 
void textAlignRight ()
 
void textBold (bool)
 
void textDecreaseIndent ()
 
void textIncreaseIndent ()
 
void textList ()
 
void textStrikeOut (bool)
 
void textSubScript ()
 
void textSuperScript ()
 

Public Member Functions

 KNoteEdit (const QString &configFile, KActionCollection *actions, QWidget *parent=0)
 
 ~KNoteEdit ()
 
int cursorPositionFromStart () const
 
void setAutoIndentMode (bool newmode)
 
void setColor (const QColor &fg, const QColor &bg)
 
void setCursorPositionFromStart (int pos)
 
void setNote (KNote *_note)
 
void setTabStop (int tabs)
 
void setText (const QString &text)
 
void setTextFont (const QFont &font)
 
QString text () const
 

Protected Slots

void mousePopupMenuImplementation (const QPoint &pos)
 

Protected Member Functions

void focusInEvent (QFocusEvent *)
 
void focusOutEvent (QFocusEvent *)
 
void keyPressEvent (QKeyEvent *)
 

Detailed Description

Definition at line 39 of file knoteedit.h.

Constructor & Destructor Documentation

KNoteEdit::KNoteEdit ( const QString &  configFile,
KActionCollection *  actions,
QWidget *  parent = 0 
)
explicit

Definition at line 47 of file knoteedit.cpp.

KNoteEdit::~KNoteEdit ( )

Definition at line 204 of file knoteedit.cpp.

Member Function Documentation

int KNoteEdit::cursorPositionFromStart ( ) const

Definition at line 704 of file knoteedit.cpp.

void KNoteEdit::focusInEvent ( QFocusEvent *  e)
protected

Definition at line 555 of file knoteedit.cpp.

void KNoteEdit::focusOutEvent ( QFocusEvent *  e)
protected

Definition at line 563 of file knoteedit.cpp.

void KNoteEdit::keyPressEvent ( QKeyEvent *  e)
protected

protected methods

Definition at line 545 of file knoteedit.cpp.

void KNoteEdit::mousePopupMenuImplementation ( const QPoint &  pos)
protectedslot

Definition at line 274 of file knoteedit.cpp.

void KNoteEdit::setAutoIndentMode ( bool  newmode)

Definition at line 342 of file knoteedit.cpp.

void KNoteEdit::setColor ( const QColor &  fg,
const QColor &  bg 
)

Definition at line 208 of file knoteedit.cpp.

void KNoteEdit::setCursorPositionFromStart ( int  pos)

Definition at line 693 of file knoteedit.cpp.

void KNoteEdit::setNote ( KNote *  _note)

Definition at line 248 of file knoteedit.cpp.

void KNoteEdit::setRichText ( bool  f)
slot

public slots

Definition at line 350 of file knoteedit.cpp.

void KNoteEdit::setTabStop ( int  tabs)

Definition at line 336 of file knoteedit.cpp.

void KNoteEdit::setText ( const QString &  text)

Definition at line 304 of file knoteedit.cpp.

void KNoteEdit::setTextFont ( const QFont &  font)

Definition at line 322 of file knoteedit.cpp.

void KNoteEdit::setTextFontSize ( int  size)
slot

Definition at line 331 of file knoteedit.cpp.

void KNoteEdit::slotInsertDate ( )
slot

Definition at line 680 of file knoteedit.cpp.

void KNoteEdit::slotTextBackgroundColor ( )
slot

Definition at line 415 of file knoteedit.cpp.

void KNoteEdit::slotTextColor ( )
slot

Definition at line 400 of file knoteedit.cpp.

QString KNoteEdit::text ( ) const

Definition at line 313 of file knoteedit.cpp.

void KNoteEdit::textAlignBlock ( )
slot

Definition at line 454 of file knoteedit.cpp.

void KNoteEdit::textAlignCenter ( )
slot

Definition at line 438 of file knoteedit.cpp.

void KNoteEdit::textAlignLeft ( )
slot

Definition at line 430 of file knoteedit.cpp.

void KNoteEdit::textAlignRight ( )
slot

Definition at line 446 of file knoteedit.cpp.

void KNoteEdit::textBold ( bool  b)
slot

Definition at line 380 of file knoteedit.cpp.

void KNoteEdit::textDecreaseIndent ( )
slot

Definition at line 529 of file knoteedit.cpp.

void KNoteEdit::textIncreaseIndent ( )
slot

Definition at line 520 of file knoteedit.cpp.

void KNoteEdit::textList ( )
slot

Definition at line 462 of file knoteedit.cpp.

void KNoteEdit::textStrikeOut ( bool  s)
slot

Definition at line 390 of file knoteedit.cpp.

void KNoteEdit::textSubScript ( )
slot

Definition at line 505 of file knoteedit.cpp.

void KNoteEdit::textSuperScript ( )
slot

Definition at line 490 of file knoteedit.cpp.


The documentation for this class was generated from the following files:
  • knoteedit.h
  • knoteedit.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

knotes

Skip menu "knotes"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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
  • pimprint

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