1 /***************************************************************************
2 * KT task editor window header *
3 * -------------------------------------------------------------------- *
4 * Copyright (C) 1999, Gary Meyer <gary@meyer.net> *
5 * -------------------------------------------------------------------- *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 ***************************************************************************/
30 class KTTask
: public KDialog
37 * Initialize from CTTask.
39 KTTask(CTTask
* _cttask
= 0, const QString
&_caption
="");
49 * Browse for command file.
54 * Command has been changed. Refresh icon.
56 void slotCommandChanged();
59 * Daily checkbox has been changed.
61 void slotDailyChanged();
64 * Override QDialog::accept ()
69 * Apply changes and close.
79 * Set or clear all month checkboxes
84 * A month checkbox has changed
86 void slotMonthChanged();
89 * Set or clear all day of month checkboxes
91 void slotAllDaysOfMonth();
94 * A day of month checkbox has changed
96 void slotDayOfMonthChanged();
99 * Set or clear all day of week checkboxes
101 void slotAllDaysOfWeek();
104 * A day of week checkbox has changed
106 void slotDayOfWeekChanged();
109 * Set or clear all hour checkboxes
114 * An hour checkbox has changed
116 void slotHourChanged();
119 * Set or clear all minute checkboxes
121 void slotAllMinutes();
124 * A minute checkbox has changed
126 void slotMinuteChanged();
144 QLineEdit
* leComment
;
147 QLineEdit
* leCommand
;
148 QPushButton
* pbBrowse
;
150 QCheckBox
* chkEnabled
;
151 QCheckBox
* chkSilent
;
153 Q3ButtonGroup
* bgMonth
;
154 QCheckBox
* cbMonth
[13];
155 QPushButton
* pbAllMonths
;
157 Q3ButtonGroup
* bgDayOfMonth
;
158 QPushButton
* pbDayOfMonth
[32];
159 QPushButton
* pbAllDaysOfMonth
;
161 Q3ButtonGroup
* bgDayOfWeek
;
162 QCheckBox
* cbDayOfWeek
[8];
163 QPushButton
* pbAllDaysOfWeek
;
165 Q3ButtonGroup
* bgEveryDay
;
166 QCheckBox
* cbEveryDay
;
168 Q3ButtonGroup
* bgHour
;
171 QPushButton
* pbHour
[25];
172 QPushButton
* pbAllHours
;
174 Q3ButtonGroup
* bgMinute
;
175 QPushButton
* pbMinute
[61];
176 QPushButton
* pbAllMinutes
;