From 14fc21051eb3ff92527fd9ddeaf117009bd74af2 Mon Sep 17 00:00:00 2001 From: korovkin Date: Mon, 20 Mar 2006 21:43:19 +0000 Subject: Added file size. --- 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 @@ -68,4 +68,9 @@ enum dtype FileListItem::gettype() return type; } +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 @@ -26,6 +26,7 @@ namespace OpieTooth { FileListItem(QListViewItem * parent, stat_entry_t* ent, int size = 0); virtual QString key ( int, bool ) const; virtual enum dtype gettype(); + virtual int getsize(); protected: void init(stat_entry_t* ent, int size); protected: -- cgit v0.9.0.2