summaryrefslogtreecommitdiffstats
path: root/kteatime/tealist.h
blob: f526f9ad93e1d6d300efffc6df07a736a63c5fec (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 QListView;
class QListViewItem;


class TeaListItem : public QListViewItem
{

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