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

class QListView;
class QListViewItem;


class TeaListItem : public QListViewItem
{

public:
	TeaListItem(QListView *parent);
	TeaListItem(QListView *parent, QListViewItem *after);
	~TeaListItem();

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

private:
	int tim;
	QString nam;
};


QString int2time(int t);
#endif