/***************************************************************************
 *   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 USERSSTATISTICSWGT_H
#define USERSSTATISTICSWGT_H

#include <QTableView>

class UsersList;

/**
	@author Anistratov Oleg <ower86@gmail.com>
*/
class UsersStatisticsWgt : public QTableView
{
  Q_OBJECT
  public:
    UsersStatisticsWgt(QWidget* = 0);
    ~UsersStatisticsWgt();

   QByteArray saveState();
   void restoreState(const QByteArray&);

  public slots:
    void sortByColumn(int);

  signals:
    void sorted();
};

#endif
