author | korovkin <korovkin> | 2006-03-20 21:43:19 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-03-20 21:43:19 (UTC) |
commit | 14fc21051eb3ff92527fd9ddeaf117009bd74af2 (patch) (unidiff) | |
tree | a4a949967e4452d8943ddfb04c92e5fbcd42b04e | |
parent | 39fedaa847ed64b2c0113a75d0f1de29da5876db (diff) | |
download | opie-14fc21051eb3ff92527fd9ddeaf117009bd74af2.zip opie-14fc21051eb3ff92527fd9ddeaf117009bd74af2.tar.gz opie-14fc21051eb3ff92527fd9ddeaf117009bd74af2.tar.bz2 |
Added file size.
-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 | |||
@@ -68,4 +68,9 @@ enum dtype FileListItem::gettype() | |||
68 | return type; | 68 | return type; |
69 | } | 69 | } |
70 | 70 | ||
71 | int FileListItem::getsize() | ||
72 | { | ||
73 | return m_size; | ||
74 | } | ||
75 | |||
71 | //eof | 76 | //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 { | |||
26 | FileListItem(QListViewItem * parent, stat_entry_t* ent, int size = 0); | 26 | FileListItem(QListViewItem * parent, stat_entry_t* ent, int size = 0); |
27 | virtual QString key ( int, bool ) const; | 27 | virtual QString key ( int, bool ) const; |
28 | virtual enum dtype gettype(); | 28 | virtual enum dtype gettype(); |
29 | virtual int getsize(); | ||
29 | protected: | 30 | protected: |
30 | void init(stat_entry_t* ent, int size); | 31 | void init(stat_entry_t* ent, int size); |
31 | protected: | 32 | protected: |