2
This program is free software; you can redistribute it and/or modify
3
it under the terms of the GNU General Public License as published by
4
the Free Software Foundation; either version 2 of the License, or
5
(at your option) any later version.
9
Copyright (C) 2009 Bernd Buschinski <b.buschinski@web.de>
12
#ifndef CHATCONTAINER_H
13
#define CHATCONTAINER_H
15
#include "chatwindow.h"
21
namespace Konversation
27
class ChatContainer : public ChatWindow
32
ChatContainer(QWidget *parent, Chat *chat);
36
virtual QString getTextInLine();
37
virtual bool closeYourself(bool askForConfirmation=true);
38
virtual bool canBeFrontView();
39
virtual bool searchView();
41
virtual void setChannelEncoding(const QString &encoding);
42
virtual QString getChannelEncoding();
43
virtual QString getChannelEncodingDefaultDesc();
44
virtual void emitUpdateInfo();
46
virtual bool isInsertSupported();
47
QString ownNick() const;
50
/** Called from ChatWindow adjustFocus */
51
virtual void childAdjustFocus();
54
void updateAppearance();
55
void appendInputText(const QString &text, bool fromCursor);
59
void setPartnerNick(const QString &nick);
63
void textPasted(const QString &text);
65
void receivedLine(const QString &line);
66
void chatStatusChanged(Konversation::DCC::Chat *chat, Konversation::DCC::Chat::Status newstatus, Konversation::DCC::Chat::Status oldstatus);
69
void upnpError(const QString &errorMessage);
73
QSplitter *m_headerSplitter;
75
Konversation::TopicLabel *m_topicLabel;
76
IRCInput *m_dccChatInput;
83
#endif // CHATCONTAINER_H