X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtopia%2Fnicklistwidget.h;h=fe9a10e4af7f03cc33e72ecf34e13e9a097320d2;hb=fe1fec5e5f0799e03f6a3473dc56511bc00f26eb;hp=6f357164d33a90c8ca8b41c30901efb2464e4715;hpb=0208d04a0b8c25f3c77727a68eef94ce2d608690;p=quassel.git diff --git a/src/qtopia/nicklistwidget.h b/src/qtopia/nicklistwidget.h index 6f357164..fe9a10e4 100644 --- a/src/qtopia/nicklistwidget.h +++ b/src/qtopia/nicklistwidget.h @@ -5,7 +5,7 @@ * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -25,7 +25,8 @@ #include "ui_nicklistwidget.h" -class NickTreeModel; +class Buffer; +class NickView; class NickListWidget : public QDialog { Q_OBJECT @@ -35,10 +36,15 @@ class NickListWidget : public QDialog { ~NickListWidget(); public slots: - void setNickModel(NickTreeModel *model); + void setBuffer(Buffer *); + void reset(); + + private slots: + void bufferDestroyed(QObject *); private: Ui::NickListWidget ui; + QHash nickViews; };