/*************************************************************************** * Copyright (C) 2007 by Anistratov Oleg * * ower86@gmail.com * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License version 2 * * as published by the Free Software Foundation; * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * ***************************************************************************/ #ifndef SINGLEMSGSHISTORYVIEW_H #define SINGLEMSGSHISTORYVIEW_H #include <QWidget> #include <QListWidget> class Message; /** @author Anistratov Oleg <ower86@gmail.com> */ 00025 class SingleMsgsHistoryView : public QWidget { Q_OBJECT private: QListWidget* m_listWgt; public: SingleMsgsHistoryView(QWidget *parent = 0); ~SingleMsgsHistoryView(); void appendItem(const QString & s){m_listWgt->addItem(s);} void appendMsg(const Message*); private slots: void slot_itemDoubleClicked(); signals: void wantViewMessage(int); }; #endif