OTHER: Update to c++ iterators and uint remove

This commit is contained in:
Thomas Frauendorfer 2009-03-01 15:22:11 +01:00
parent 58693f9421
commit 6d271f221c
4 changed files with 45 additions and 1 deletions

View file

@ -19,6 +19,7 @@
#define __PLAYLIST_MODEL_H__
#include <xmmsclient/xmmsclient++.h>
#include "compat.h"
class XClient;
@ -123,7 +124,7 @@ class PlaylistModel : public QAbstractItemModel
QList < uint32_t > getPosById (uint32_t id);
QList < QString > m_columns;
QList < QString > m_colfallback;
signals:
void entryMoved (const QModelIndex &, const QModelIndex &);
void currentPosChanged (QModelIndex);
@ -134,7 +135,11 @@ class PlaylistModel : public QAbstractItemModel
void entry_changed (uint32_t);
private:
#if HAVE_XMMSV
bool handle_list (const Xmms::List< int > &list);
#else
bool handle_list (const Xmms::List< unsigned int > &list);
#endif
bool handle_change (const Xmms::Dict &chg);
#if (XMMS_IPC_PROTOCOL_VERSION > 10)
bool handle_update_pos (const Xmms::Dict &pos);