summaryrefslogtreecommitdiffstats
path: root/kteatime/tealist.h
blob: 8012af9944cc0eb97d81973622836496c00e1d8e (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
/* -------------------------------------------------------------

   tealist.h

   (C) 2003 by Daniel Teske ([email protected])

 ------------------------------------------------------------- */
#ifndef TEALIST_H
#define TEALIST_H

#include <tqstring.h>

class TQListView;
class TQListViewItem;


class TeaListItem : public TQListViewItem
{

public:
	TeaListItem(TQListView *tqparent);
	TeaListItem(TQListView *tqparent, TQListViewItem *after);
	~TeaListItem();

	int time();
	TQString name();
	void setTime(int v);
	void setName(const TQString &n);

private:
	int tim;
	TQString nam;
};


TQString int2time(int t);
#endif