From 736070f8e9a05845e4d7076a8c2293c21f57b134 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 9 May 2010 19:18:38 +0000 Subject: some api changes git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1728 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmodel.cpp | 4 ++-- src/qmmpui/playlistmodel.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 0c1a0ac33..17bfc7fd9 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -236,7 +236,7 @@ void PlayListModel::clearSelection() emit listChanged(); } -QList PlayListModel::getTitles(int b,int l) +QStringList PlayListModel::getTitles(int b,int l) { QList m_titles; for (int i = b;(i < b + l) &&(i < m_items.size()); ++i) @@ -244,7 +244,7 @@ QList PlayListModel::getTitles(int b,int l) return m_titles; } -QList PlayListModel::getTimes(int b,int l) +QStringList PlayListModel::getTimes(int b,int l) { QList m_times; int d = 0; diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index c02160267..5c9556fe8 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -175,13 +175,13 @@ public: * @param first First item. * @param last Last item. */ - QList getTitles(int first,int last); + QStringList getTitles(int first,int last); /*! * Returns a list of the formated durations. * @param first First item. * @param last Last item. */ - QList getTimes(int first,int last); + QStringList getTimes(int first,int last); /*! * Moves the item at index position \b from to index position \b to */ -- cgit v1.2.3-13-gbd6f