blob: 22aa3a2a76866f096201c3b56c4c78a1d2304a8b (
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
36
37
38
39
40
41
42
43
|
//
// C++ Interface: k9lvitemimport
//
// Description:
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9LVITEMIMPORT_H
#define K9LVITEMIMPORT_H
#include "k9common.h"
#include <qlistview.h>
#include "k9avifile.h"
#include "k9title.h"
/**
@author Jean-Michel PETIT <[email protected]>
*/
class k9LvItemImport: public QListViewItem {
public:
enum eObjectType {ROOT,TITLE,CHAPTER};
k9LvItemImport( QListViewItem *parent,eObjectType _objectType);
~k9LvItemImport();
virtual int rtti () const;
eObjectType getObjectType() { return m_objectType;};
void setAviFile ( k9AviFile* _value ){m_aviFile = _value;}
k9AviFile* getAviFile() const { return m_aviFile;}
void setTitle(k9Title* _value);
k9Title* getTitle() const { return m_title;}
virtual int compare (QListViewItem *i,int col,bool ascending) const;
private:
eObjectType m_objectType;
k9AviFile *m_aviFile;
k9Title *m_title;
};
#endif
|