00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef IRC_BUFFER_P_H
00016 #define IRC_BUFFER_P_H
00017
00018 #include <QHash>
00019
00020 namespace Irc
00021 {
00022 class Buffer;
00023
00024 class BufferPrivate
00025 {
00026 Q_DECLARE_PUBLIC(Buffer)
00027
00028 public:
00029 BufferPrivate();
00030
00031 void addName(QString name);
00032 void removeName(const QString& name);
00033 void setReceiver(const QString& rec, bool replace = true);
00034 void updateMode(const QString& name, const QString& mode);
00035
00036 Buffer* q_ptr;
00037 QString receiver;
00038 QString topic;
00039 QHash<QString, QString> names;
00040 };
00041 }
00042
00043 #endif // IRC_BUFFER_P_H