aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlistmodel.h')
-rw-r--r--src/qmmpui/playlistmodel.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h
index 3c2ca50f7..e90bc007c 100644
--- a/src/qmmpui/playlistmodel.h
+++ b/src/qmmpui/playlistmodel.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006-2008 by Ilya Kotov *
+ * Copyright (C) 2006-2009 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -90,14 +90,11 @@ public:
int count();
PlayListItem* currentItem();
- int row(PlayListItem* item)const
+ int row(PlayListItem* item) const
{
return m_items.indexOf(item);
}
- PlayListItem* item(int row)const
- {
- return m_items.at(row);
- }
+ PlayListItem* item(int row) const;
int currentRow();
bool setCurrent (int);
bool isSelected(int);