MessageComposer::PluginEditorInterface

Search for usage in LXR

MessageComposer::PluginEditorInterface Class Reference

#include <plugineditorinterface.h>

Public Types

enum  ApplyOnFieldType { Composer = 1 , EmailFields = 2 , SubjectField = 4 , All = Composer | EmailFields | SubjectField }
 
typedef QFlags< ApplyOnFieldType > ApplyOnFieldTypes
 

Signals

void emitPluginActivated (MessageComposer::PluginEditorInterface *interface)
 
void errorMessage (const QString &message)
 
void insertText (const QString &str)
 
void successMessage (const QString &message)
 

Public Member Functions

 PluginEditorInterface (QObject *parent=nullptr)
 
PluginActionType actionType () const
 
PluginEditorInterface::ApplyOnFieldTypes applyOnFieldTypes () const
 
MessageComposer::PluginComposerInterfacecomposerInterface () const
 
bool needSelectedText () const
 
virtual bool processProcessKeyEvent (QKeyEvent *event)
 
TextCustomEditor::RichTextEditorrichTextEditor () const
 
void setActionType (PluginActionType type)
 
void setApplyOnFieldTypes (PluginEditorInterface::ApplyOnFieldTypes types)
 
void setComposerInterface (MessageComposer::PluginComposerInterface *w)
 
void setNeedSelectedText (bool b)
 
void setRichTextEditor (TextCustomEditor::RichTextEditor *richTextEditor)
 
void setStatusBarWidget (QWidget *w)
 
QWidgetstatusBarWidget () const
 

Detailed Description

The PluginEditorInterface class.

Author
Laurent Montel monte.nosp@m.l@kd.nosp@m.e.org

Definition at line 29 of file plugineditorinterface.h.

Member Typedef Documentation

◆ ApplyOnFieldTypes

Member Enumeration Documentation

◆ ApplyOnFieldType

enum MessageComposer::PluginEditorInterface::ApplyOnFieldType

Definition at line 33 of file plugineditorinterface.h.

Constructor & Destructor Documentation

◆ PluginEditorInterface()

PluginEditorInterface::PluginEditorInterface ( QObject * parent = nullptr)
explicit

Definition at line 32 of file plugineditorinterface.cpp.

Member Function Documentation

◆ actionType()

PluginActionType PluginEditorInterface::actionType ( ) const
nodiscard

Definition at line 45 of file plugineditorinterface.cpp.

◆ applyOnFieldTypes()

PluginEditorInterface::ApplyOnFieldTypes PluginEditorInterface::applyOnFieldTypes ( ) const
nodiscard

Definition at line 96 of file plugineditorinterface.cpp.

◆ composerInterface()

PluginComposerInterface * PluginEditorInterface::composerInterface ( ) const
nodiscard

Definition at line 80 of file plugineditorinterface.cpp.

◆ needSelectedText()

bool PluginEditorInterface::needSelectedText ( ) const
nodiscard

Definition at line 65 of file plugineditorinterface.cpp.

◆ processProcessKeyEvent()

bool PluginEditorInterface::processProcessKeyEvent ( QKeyEvent * event)
virtual

Definition at line 90 of file plugineditorinterface.cpp.

◆ richTextEditor()

TextCustomEditor::RichTextEditor * PluginEditorInterface::richTextEditor ( ) const
nodiscard

Definition at line 50 of file plugineditorinterface.cpp.

◆ setActionType()

void PluginEditorInterface::setActionType ( PluginActionType type)

Definition at line 40 of file plugineditorinterface.cpp.

◆ setApplyOnFieldTypes()

void PluginEditorInterface::setApplyOnFieldTypes ( PluginEditorInterface::ApplyOnFieldTypes types)

Definition at line 101 of file plugineditorinterface.cpp.

◆ setComposerInterface()

void PluginEditorInterface::setComposerInterface ( MessageComposer::PluginComposerInterface * w)

Definition at line 85 of file plugineditorinterface.cpp.

◆ setNeedSelectedText()

void PluginEditorInterface::setNeedSelectedText ( bool b)

Definition at line 60 of file plugineditorinterface.cpp.

◆ setRichTextEditor()

void PluginEditorInterface::setRichTextEditor ( TextCustomEditor::RichTextEditor * richTextEditor)

Definition at line 55 of file plugineditorinterface.cpp.

◆ setStatusBarWidget()

void PluginEditorInterface::setStatusBarWidget ( QWidget * w)

Definition at line 70 of file plugineditorinterface.cpp.

◆ statusBarWidget()

QWidget * PluginEditorInterface::statusBarWidget ( ) const
nodiscard

Definition at line 75 of file plugineditorinterface.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.