You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
619 B
38 lines
619 B
/* -------------------------------------------------------------
|
|
|
|
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
|