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

Kate

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

#include <spellingmenu.h>

Inheritance diagram for KateSpellingMenu:
Inheritance graph
[legend]

Public Slots

void setEnabled (bool b)
 
void setVisible (bool b)
 

Public Member Functions

 KateSpellingMenu (KateView *view)
 
virtual ~KateSpellingMenu ()
 
void createActions (KActionCollection *ac)
 
bool isEnabled () const
 
void setUseMouseForMisspelledRange (bool b)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Protected Slots

void addCurrentWordToDictionary ()
 
void ignoreCurrentWord ()
 
void populateSuggestionsMenu ()
 
void replaceWordBySuggestion (const QString &suggestion)
 

Protected Member Functions

void caretEnteredMisspelledRange (KTextEditor::MovingRange *range)
 
void caretExitedMisspelledRange (KTextEditor::MovingRange *range)
 
void mouseEnteredMisspelledRange (KTextEditor::MovingRange *range)
 
void mouseExitedMisspelledRange (KTextEditor::MovingRange *range)
 
void rangeDeleted (KTextEditor::MovingRange *range)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Protected Attributes

KAction * m_addToDictionaryAction
 
KTextEditor::MovingRange * m_currentCaretMisspelledRange
 
KTextEditor::MovingRange * m_currentMisspelledRange
 
KTextEditor::MovingRange * m_currentMouseMisspelledRange
 
QStringList m_currentSuggestions
 
KAction * m_ignoreWordAction
 
KMenu * m_spellingMenu
 
KActionMenu * m_spellingMenuAction
 
QSignalMapper * m_suggestionsSignalMapper
 
bool m_useMouseForMisspelledRange
 
KateView * m_view
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 40 of file spellingmenu.h.

Constructor & Destructor Documentation

KateSpellingMenu::KateSpellingMenu ( KateView *  view)

Definition at line 31 of file spellingmenu.cpp.

KateSpellingMenu::~KateSpellingMenu ( )
virtual

Definition at line 51 of file spellingmenu.cpp.

Member Function Documentation

void KateSpellingMenu::addCurrentWordToDictionary ( )
protectedslot

Definition at line 205 of file spellingmenu.cpp.

void KateSpellingMenu::caretEnteredMisspelledRange ( KTextEditor::MovingRange *  range)
protected

Definition at line 112 of file spellingmenu.cpp.

void KateSpellingMenu::caretExitedMisspelledRange ( KTextEditor::MovingRange *  range)
protected

Definition at line 122 of file spellingmenu.cpp.

void KateSpellingMenu::createActions ( KActionCollection *  ac)

Definition at line 95 of file spellingmenu.cpp.

void KateSpellingMenu::ignoreCurrentWord ( )
protectedslot

Definition at line 216 of file spellingmenu.cpp.

bool KateSpellingMenu::isEnabled ( ) const

Definition at line 61 of file spellingmenu.cpp.

void KateSpellingMenu::mouseEnteredMisspelledRange ( KTextEditor::MovingRange *  range)
protected

Definition at line 131 of file spellingmenu.cpp.

void KateSpellingMenu::mouseExitedMisspelledRange ( KTextEditor::MovingRange *  range)
protected

Definition at line 139 of file spellingmenu.cpp.

void KateSpellingMenu::populateSuggestionsMenu ( )
protectedslot

Definition at line 172 of file spellingmenu.cpp.

void KateSpellingMenu::rangeDeleted ( KTextEditor::MovingRange *  range)
protected

Definition at line 147 of file spellingmenu.cpp.

void KateSpellingMenu::replaceWordBySuggestion ( const QString &  suggestion)
protectedslot

Definition at line 199 of file spellingmenu.cpp.

void KateSpellingMenu::setEnabled ( bool  b)
slot

Definition at line 69 of file spellingmenu.cpp.

void KateSpellingMenu::setUseMouseForMisspelledRange ( bool  b)

This method has to be called before the menu is shown in response to a context menu event.

It will trigger that the misspelled range located under the mouse pointer is considered for the spelling suggestions.

Definition at line 161 of file spellingmenu.cpp.

void KateSpellingMenu::setVisible ( bool  b)
slot

Definition at line 82 of file spellingmenu.cpp.

Member Data Documentation

KAction * KateSpellingMenu::m_addToDictionaryAction
protected

Definition at line 66 of file spellingmenu.h.

KTextEditor::MovingRange* KateSpellingMenu::m_currentCaretMisspelledRange
protected

Definition at line 70 of file spellingmenu.h.

KTextEditor::MovingRange* KateSpellingMenu::m_currentMisspelledRange
protected

Definition at line 68 of file spellingmenu.h.

KTextEditor::MovingRange* KateSpellingMenu::m_currentMouseMisspelledRange
protected

Definition at line 69 of file spellingmenu.h.

QStringList KateSpellingMenu::m_currentSuggestions
protected

Definition at line 72 of file spellingmenu.h.

KAction* KateSpellingMenu::m_ignoreWordAction
protected

Definition at line 66 of file spellingmenu.h.

KMenu* KateSpellingMenu::m_spellingMenu
protected

Definition at line 67 of file spellingmenu.h.

KActionMenu* KateSpellingMenu::m_spellingMenuAction
protected

Definition at line 65 of file spellingmenu.h.

QSignalMapper* KateSpellingMenu::m_suggestionsSignalMapper
protected

Definition at line 73 of file spellingmenu.h.

bool KateSpellingMenu::m_useMouseForMisspelledRange
protected

Definition at line 71 of file spellingmenu.h.

KateView* KateSpellingMenu::m_view
protected

Definition at line 64 of file spellingmenu.h.


The documentation for this class was generated from the following files:
  • spellingmenu.h
  • spellingmenu.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

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