MessageComposer::PluginEditorInterface

Search for usage in LXR

MessageComposer::PluginEditorInterface Class Reference

#include <plugineditorinterface.h>

Inherits PimCommon::AbstractGenericPluginInterface.

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::RichTextEditor * richTextEditor () 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

Definition at line 40 of file plugineditorinterface.h.

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

Definition at line 45 of file plugineditorinterface.cpp.

◆ applyOnFieldTypes()

PluginEditorInterface::ApplyOnFieldTypes PluginEditorInterface::applyOnFieldTypes ( ) const

Definition at line 96 of file plugineditorinterface.cpp.

◆ composerInterface()

PluginComposerInterface * PluginEditorInterface::composerInterface ( ) const

Definition at line 80 of file plugineditorinterface.cpp.

◆ needSelectedText()

bool PluginEditorInterface::needSelectedText ( ) const

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

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

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 Tue Mar 26 2024 11:12:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.