X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtopia%2Fnicklistwidget.h;h=fe9a10e4af7f03cc33e72ecf34e13e9a097320d2;hb=36b2b9680ff608f41c681b8c23865abb06a2464c;hp=d15743d5e588f83fccb16df0d0149247000ead2d;hpb=99c92e21b3b9eb5ed661632cdfb69aabfc6b2deb;p=quassel.git diff --git a/src/qtopia/nicklistwidget.h b/src/qtopia/nicklistwidget.h index d15743d5..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 NickModel; +class Buffer; +class NickView; class NickListWidget : public QDialog { Q_OBJECT @@ -35,10 +36,15 @@ class NickListWidget : public QDialog { ~NickListWidget(); public slots: - void setNickModel(NickModel *model); + void setBuffer(Buffer *); + void reset(); + + private slots: + void bufferDestroyed(QObject *); private: Ui::NickListWidget ui; + QHash nickViews; };