summaryrefslogtreecommitdiffstats
path: root/kteatime/tealist.h
diff options
context:
space:
mode:
Diffstat (limited to 'kteatime/tealist.h')
-rw-r--r--kteatime/tealist.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/kteatime/tealist.h b/kteatime/tealist.h
new file mode 100644
index 0000000..8d025c8
--- /dev/null
+++ b/kteatime/tealist.h
@@ -0,0 +1,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