/*****************************************************************************
- * recents.cpp : Recents MRL (menu)
+ * recents.hpp : Recents MRL (menu)
*****************************************************************************
* Copyright © 2006-2008 the VideoLAN team
* $Id$
#include "qt4.hpp"
#include <QObject>
-#include <QList>
-#include <QString>
-#include <QRegExp>
-#include <QSignalMapper>
+class QStringList;
+class QRegExp;
+class QSignalMapper;
#define RECENTS_LIST_SIZE 10
}
void addRecent( const QString & );
- QList<QString> recents();
+ QStringList recents();
+
QSignalMapper *signalMapper;
private:
static RecentsMRL *instance;
+ intf_thread_t *p_intf;
+ QStringList *stack;
+ QRegExp *filter;
+ bool isActive;
+
void load();
void save();
- intf_thread_t* p_intf;
- QList<QString> *stack;
- bool isActive;
- QRegExp *filter;
-
public slots:
void clear();
};