Kate
katemessagewidget.cpp
Go to the documentation of this file.
65 m_animation = new KateAnimation(m_messageWidget, applyFadeEffect ? KateAnimation::FadeEffect : KateAnimation::GrowEffect);
72 connect(m_messageWidget, SIGNAL(linkHovered(const QString&)), SLOT(linkHovered(const QString&))); // FIXME: TODO: this?
136 connect(m_autoHideTimer, SIGNAL(timeout()), m_currentMessage, SLOT(deleteLater()), Qt::UniqueConnection);
203 connect(message, SIGNAL(closed(KTextEditor::Message*)), SLOT(messageDestroyed(KTextEditor::Message*)));
219 // a bit unnice: disconnect textChanged() and iconChanged() signals of previously visible message
void setWordWrap(bool wordWrap)
void setCloseButtonVisible(bool visible)
int priority() const
bool hideAnimationActive() const
Returns true, if the hide animation is running, otherwise false.
Definition: kateanimation.cpp:54
void linkHovered(const QString &link)
User hovers on a link in the message widget.
Definition: katemessagewidget.cpp:285
KateMessageWidget(QWidget *parent, bool applyFadeEffect=false)
Constructor.
Definition: katemessagewidget.cpp:39
bool showAnimationActive() const
Returns true, if the how animation is running, otherwise false.
Definition: kateanimation.cpp:59
int timeout
bool wordWrap
void addAction(QAction *action)
QString text
void setIcon(const QIcon &icon)
bool wordWrap() const
This class provides a fade in/out effect for KMessageWidgets.
Definition: kateanimation.h:41
void removeAction(QAction *action)
void setWordWrap(KTextEditor::Message *message)
Helper that enables word wrap to avoid breaking the layout.
Definition: katemessagewidget.cpp:147
void postMessage(KTextEditor::Message *message, QList< QSharedPointer< QAction > > actions)
Post a new incoming message.
Definition: katemessagewidget.cpp:186
void messageDestroyed(KTextEditor::Message *message)
catch when a message is deleted, then show next one, if applicable.
Definition: katemessagewidget.cpp:233
void setMessageType(KMessageWidget::MessageType type)
void setText(const QString &text)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.