summaryrefslogtreecommitdiffstats
path: root/kcron/ktlisttasks.h
blob: d413cc83e03842a22afa5b47f05a7c9f56370b71 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
/***************************************************************************
 *   KT list view item cron tasks folder.                                  *
 *   --------------------------------------------------------------------  *
 *   Copyright (C) 1999, Gary Meyer <gary@meyer.net>                       *
 *   --------------------------------------------------------------------  *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   * 
 ***************************************************************************/

#ifndef KTLISTTASKS_H
#define KTLISTTASKS_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif 

#include "ktlistitem.h"

class TQString;

/**
  * TQListViewItem of a "tasks" folder.
  */
class KTListTasks : public KTListItem
{
public:

/**
  * Construct tasks folder from branch.
  */
  KTListTasks(KTListItem* tqparent, CTCron* _ctcron);

/**
  * Construct tasks folder from root.
  */
  KTListTasks(TQListView* tqparent, CTCron* _ctcron);

 /**
  * Internationalized description.
  */
  static TQString getDescription();

/**
  * Create.
  */
  virtual void create();

/**
  * Refresh.
  */
  virtual void refresh();

/**
  * Print all tasks.
  */
  virtual void print(KTPrint &printer)const;

};

#endif // KTLISTTASKS_H