summaryrefslogtreecommitdiffstats
path: root/qtools/qstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qstack.h')
-rw-r--r--qtools/qstack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtools/qstack.h b/qtools/qstack.h
index c23215c..c84d8d2 100644
--- a/qtools/qstack.h
+++ b/qtools/qstack.h
@@ -59,6 +59,7 @@ public:
type *pop() { return (type *)QGList::takeFirst(); }
bool remove() { return QGList::removeFirst(); }
void clear() { QGList::clear(); }
+ type *bottom() const { return (type *)QGList::clast(); }
type *top() const { return (type *)QGList::cfirst(); }
operator type *() const { return (type *)QGList::cfirst(); }
type *current() const { return (type *)QGList::cfirst(); }