summaryrefslogtreecommitdiffstats
path: root/kteatime/tealist.h
blob: 7b65795348d7db2e53afff56f74fd9457d96c7ea (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 (teske@bigfoot.com)

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

#include <tqstring.h>

class TQListView;
class TQListViewItem;


class TeaListItem : public TQListViewItem
{

public:
	TeaListItem(TQListView *parent);
	TeaListItem(TQListView *parent, 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