summaryrefslogtreecommitdiffstats
path: root/k9author/k9lvitemimport.h
diff options
context:
space:
mode:
Diffstat (limited to 'k9author/k9lvitemimport.h')
-rw-r--r--k9author/k9lvitemimport.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/k9author/k9lvitemimport.h b/k9author/k9lvitemimport.h
new file mode 100644
index 0000000..22aa3a2
--- /dev/null
+++ b/k9author/k9lvitemimport.h
@@ -0,0 +1,43 @@
+//
+// C++ Interface: k9lvitemimport
+//
+// Description:
+//
+//
+// Author: Jean-Michel PETIT <k9copy@free.fr>, (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 <k9copy@free.fr>
+*/
+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