9
|
1 |
/*
|
|
2 |
* BookmarkResultsList.h
|
|
3 |
*
|
|
4 |
* Created on: Aug 13, 2010
|
|
5 |
* Author: mmoretti
|
|
6 |
*/
|
|
7 |
|
|
8 |
#ifndef BOOKMARKRESULTSLIST_H_
|
|
9 |
#define BOOKMARKRESULTSLIST_H_
|
|
10 |
|
|
11 |
#include <QList>
|
|
12 |
|
|
13 |
template <class T>
|
|
14 |
class BookmarkResultsList : public QList<T>
|
|
15 |
{
|
|
16 |
/*
|
|
17 |
public:
|
|
18 |
inline QQueue() {}
|
|
19 |
inline ~QQueue() {}
|
|
20 |
inline void enqueue(const T &t) { QList<T>::append(t); }
|
|
21 |
inline T dequeue() { return QList<T>::takeFirst(); }
|
|
22 |
inline T &head() { return QList<T>::first(); }
|
|
23 |
inline const T &head() const { return QList<T>::first(); }
|
|
24 |
*/
|
|
25 |
};
|
|
26 |
|
|
27 |
#endif /* BOOKMARKRESULTSLIST_H_ */
|