/* Linger
*
* Copyright 2009 Matt Rogers <mattr@kde.org>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 3 as published by the Free Software Foundation.
*
* This software 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.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtGui/QMainWindow>
class TaskModel;
class LingerMainWindow : public QMainWindow
{
Q_OBJECT
public:
LingerMainWindow(QWidget* parent = 0) :
QMainWindow(parent) { init(); }
virtual ~LingerMainWindow() {}
protected:
virtual void closeEvent(QCloseEvent*);
private Q_SLOTS:
void refresh();
private:
void init();
private:
TaskModel* m_model;
};
#endif
/* kate: indent-width 4; replace-tabs on; */