Diffstat (limited to 'libopie/ofileselector/ofileselectoritem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofileselectoritem.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libopie/ofileselector/ofileselectoritem.h b/libopie/ofileselector/ofileselectoritem.h new file mode 100644 index 0000000..21460c4 --- a/dev/null +++ b/libopie/ofileselector/ofileselectoritem.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef OPIE_FILE_SELECTOR_ITEM_H | ||
2 | #define OPIE_FILE_SELECTOR_ITEM_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | |||
6 | class OFileSelectorItem : public QListViewItem { | ||
7 | public: | ||
8 | OFileSelectorItem( QListView* view, | ||
9 | const QPixmap&, | ||
10 | const QString& path, | ||
11 | const QString& date, | ||
12 | const QString& size, | ||
13 | const QString& dir, | ||
14 | bool isLocked, | ||
15 | bool isDir = false); | ||
16 | ~OFileSelectorItem(); | ||
17 | bool isLocked() const; | ||
18 | QString directory()const; | ||
19 | bool isDir()const; | ||
20 | QString path()const; | ||
21 | QString key(int id, bool ); | ||
22 | |||
23 | private: | ||
24 | bool m_locked : 1; | ||
25 | bool m_dir : 1; | ||
26 | QString m_dirStr; | ||
27 | |||
28 | }; | ||
29 | |||
30 | #endif | ||