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