[go: up one dir, main page]

Menu

[f00de9]: / src / app / mainwindow.h  Maximize  Restore  History

Download this file

51 lines (40 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* 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; */