Diffstat (limited to 'noncore/net/opietooth/manager/filelistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/filelistitem.cpp | 5 |
1 files changed, 5 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 @@ -55,17 +55,22 @@ void FileListItem::init(stat_entry_t* ent, int size) QString FileListItem::key(int, bool) const { QString str; //resulting string if (type == IS_DIR) str = "0"; else str = "1"; str += m_name; return str; } enum dtype FileListItem::gettype() { return type; } +int FileListItem::getsize() +{ + return m_size; +} + //eof |