-rw-r--r-- | noncore/net/opietooth/manager/filelistitem.cpp | 5 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/filelistitem.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/filelistitem.cpp b/noncore/net/opietooth/manager/filelistitem.cpp index 86fcc54..a6d6bb5 100644 --- a/noncore/net/opietooth/manager/filelistitem.cpp +++ b/noncore/net/opietooth/manager/filelistitem.cpp @@ -69,3 +69,8 @@ enum dtype FileListItem::gettype() } +int FileListItem::getsize() +{ + return m_size; +} + //eof diff --git a/noncore/net/opietooth/manager/filelistitem.h b/noncore/net/opietooth/manager/filelistitem.h index a45d196..d4019bf 100644 --- a/noncore/net/opietooth/manager/filelistitem.h +++ b/noncore/net/opietooth/manager/filelistitem.h @@ -27,4 +27,5 @@ namespace OpieTooth { virtual QString key ( int, bool ) const; virtual enum dtype gettype(); + virtual int getsize(); protected: void init(stat_entry_t* ent, int size); |