kopete/kopete
Go to the documentation of this file.
18 #ifndef CHATTEXTEDITPART_H
19 #define CHATTEXTEDITPART_H
20 #include <kparts/part.h>
21 #include <krichtextedit.h>
24 #include <QtGui/QFont>
25 #include <QtGui/QColor>
26 #include <QtCore/QFlags>
27 #include <QtCore/QStringList>
30 #include <kopete_export.h>
49 class PropertyContainer;
77 QString text( Qt::TextFormat format = Qt::AutoText )
const;
83 void setCheckSpellingEnabled(
bool enabled );
89 bool checkSpellingEnabled()
const;
91 static KAboutData *createAboutData();
109 bool isRichTextEnabled()
const;
116 Kopete::Message contents();
122 void setContents(
const Kopete::Message &message );
128 void addText(
const QString &text );
140 void readConfig( KConfigGroup& config );
141 void resetConfig( KConfigGroup& config );
142 void writeConfig( KConfigGroup& config );
165 void checkToolbarEnabled();
172 void messageSent( Kopete::Message &message );
178 void typing(
bool typing );
184 void canSendChanged(
bool canSend );
186 void toolbarToggled(
bool enabled);
187 void richTextChanged();
195 void slotContactAdded(
const Kopete::Contact *c );
202 void slotContactRemoved(
const Kopete::Contact *c );
209 void slotContactStatusChanged( Kopete::Contact *contact,
const Kopete::OnlineStatus &status,
const Kopete::OnlineStatus &oldstatus );
214 void slotTextChanged();
220 void slotRepeatTypingTimer();
225 void slotStoppedTypingTimer();
230 void slotDisplayNameChanged(
const QString &oldName,
const QString &newName );
235 void slotAppearanceChanged();
237 void slotRichTextSupportChanged();
240 void init( Kopete::ChatSession *session,
QWidget *parent);
242 Kopete::ChatSession *m_session;
255 KCompletion *mComplete;
258 QTimer *m_typingRepeatTimer;
259 QTimer *m_typingStopTimer;
virtual bool openFile()
Disable file open, because it's not used by this part.
A KopeteRichTextWidget with overridden behaviors.
An instant message composition part.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.