Fix typo
[kdepim.git] / ktimetracker / historydialog.h
blob751081cf825c08a470d2b82021fe115356ae3f44
1 /*
2 * Copyright (C) 2009 by Thorsten Staerk and Mathias Soeken <msoeken@tzi.de>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the
16 * Free Software Foundation, Inc.
17 * 51 Franklin Street, Fifth Floor
18 * Boston, MA 02110-1301 USA.
22 #ifndef HISTORYDIALOG_H
23 #define HISTORYDIALOG_H
25 #include <QDialog>
26 #include "taskview.h"
28 namespace Ui
30 class historydialog;
33 class historydialog : public QDialog
35 Q_OBJECT
36 public:
37 explicit historydialog(TaskView *parent);
38 ~historydialog();
39 QString listallevents();
40 QString refresh();
42 protected:
43 void changeEvent(QEvent *e);
45 private:
46 Ui::historydialog *m_ui;
47 TaskView *mparent;
49 private Q_SLOTS:
50 /**
51 * The historywidget contains all events and can be shown with File | Edit History.
52 * The user can change dates and comments in there.
53 * A change triggers this procedure, it shall store the new values in the calendar.
55 void on_deletepushbutton_clicked();
56 void historyWidgetCellChanged( int row, int col );
57 void on_okpushbutton_clicked();
60 #endif // HISTORYDIALOG_H