KTextEditor
messageinterface.cpp
void setWordWrap(bool wordWrap)
Enabled word wrap according to wordWrap.
Definition messageinterface.cpp:110
MessagePosition
Message position used to place the message either above or below of the KTextEditor::View.
Definition message.h:117
KTextEditor::View * view() const
This function returns the view you set by setView().
Definition messageinterface.cpp:135
void setAutoHide(int delay=0)
Set the auto hide time to delay milliseconds.
Definition messageinterface.cpp:90
void setAutoHideMode(KTextEditor::Message::AutoHideMode mode)
Sets the auto hide mode to mode.
Definition messageinterface.cpp:100
void addAction(QAction *action, bool closeOnTrigger=true)
Adds an action to the message.
Definition messageinterface.cpp:73
void closed(KTextEditor::Message *message)
This signal is emitted before the message is deleted.
KTextEditor::Message::AutoHideMode autoHideMode() const
Get the Message's auto hide mode.
Definition messageinterface.cpp:105
MessageType messageType() const
Returns the message type set in the constructor.
Definition messageinterface.cpp:68
void textChanged(const QString &text)
This signal is emitted whenever setText() was called.
MessagePosition position() const
Returns the message position of this message.
Definition messageinterface.cpp:155
void setIcon(const QIcon &icon)
Add an optional icon for this notification which will be shown next to the message text.
Definition messageinterface.cpp:57
void setDocument(KTextEditor::Document *document)
Set the document pointer to document.
Definition messageinterface.cpp:140
@ AfterUserInteraction
auto-hide is triggered only after the user interacted with the view
Definition message.h:137
Message(const QString &richtext, MessageType type=Message::Information)
Constructor for new messages.
Definition messageinterface.cpp:30
void setPriority(int priority)
Set the priority of this message to priority.
Definition messageinterface.cpp:120
void setView(KTextEditor::View *view)
Set the associated view of the message.
Definition messageinterface.cpp:130
void setPosition(MessagePosition position)
Sets the position of the message to position.
Definition messageinterface.cpp:150
void setText(const QString &richtext)
Sets the notification contents to richtext.
Definition messageinterface.cpp:49
void iconChanged(const QIcon &icon)
This signal is emitted whenever setIcon() was called.
QList< QAction * > actions() const
Accessor to all actions, mainly used in the internal implementation to add the actions into the gui.
Definition messageinterface.cpp:85
KTextEditor::Document * document() const
Returns the document pointer this message was posted in.
Definition messageinterface.cpp:145
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition katetextblock.h:18
void triggered(bool checked)
void append(QList< T > &&value)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
void setParent(QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:17:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:17:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.