LibIrcClient-Qt: include/ircbuffer_p.h Source File

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

# include/ircbuffer_p.h

    00001 /*
    00002 * Copyright (C) 2008-2009 J-P Nurmi jpnurmi@gmail.com
    00003 *
    00004 * This library is free software; you can redistribute it and/or modify it
    00005 * under the terms of the GNU Lesser General Public License as published by
    00006 * the Free Software Foundation; either version 2 of the License, or (at your
    00007 * option) any later version.
    00008 *
    00009 * This library is distributed in the hope that it will be useful, but WITHOUT
    00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    00011 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
    00012 * License for more details.
    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