blob: 81966aebc9a3b4b76a4ba87ae4c9d24382a55bd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef OPIE_FILE_SELECTOR_ITEM_H
#define OPIE_FILE_SELECTOR_ITEM_H
#include <qlistview.h>
class OFileSelectorItem : public QListViewItem {
public:
OFileSelectorItem( QListView* view,
const QPixmap&,
const QString& path,
const QString& date,
const QString& size,
const QString& dir,
bool isLocked,
const QString& extra,
bool isDir = false);
~OFileSelectorItem();
bool isLocked() const;
QString directory()const;
bool isDir()const;
QString path()const;
QString key(int id, bool );
QString extra()const;
private:
bool m_locked : 1;
bool m_dir : 1;
QString m_dirStr;
QString m_extra;
class Private;
Private* d;
};
#endif
|