1 #ifndef EDITTASKDIALOG_H
2 #define EDITTASKDIALOG_H
4 #include <QtGui/QDialog>
5 #include "desktoplist.h"
14 * Class to show a dialog in ktimetracker to enter data about a task.
16 * Holds task name and auto-tracking virtual desktops.
18 * Typically this class will be called by a taskview object to enter a new task
19 * or to edit an existing task. After quitting, you can read out task name and all
20 * properties till you delete the object.
22 * @short Class to show a dialog to enter data about a task
23 * @author Thorsten Staerk
26 class EditTaskDialog
: public QDialog
30 EditTaskDialog( TaskView
*parent
, const QString
&caption
, DesktopList
* desktopList
= 0 );
34 void setTask( const QString
&name
);
35 void status( DesktopList
*desktopList
) const;
38 void changeEvent(QEvent
*e
);
41 Ui::EditTaskDialog
*m_ui
;
45 void on_autotrackinggroupbox_clicked();
46 void on_edittimespushbutton_clicked();
49 #endif // EDITTASKDIALOG_H