summaryrefslogtreecommitdiffstats
path: root/k9author/k9title.h
blob: 8828a7d58e6273a0dab774297bb384b6d82def9e (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//
// C++ Interface: k9title
//
// Description:
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9TITLE_H
#define K9TITLE_H

#include "k9common.h"
#include <qobject.h>
#include <qptrlist.h>
#include "k9avifile.h"
#include "k9menubutton.h"
/**
	@author Jean-Michel PETIT <[email protected]>
*/
class k9NewDVD;
class k9Menu;

class k9TitleItems : public QPtrList<k9AviFile> {
protected:
    virtual int compareItems(QPtrCollection::Item item1,QPtrCollection::Item item2);
};

class k9Title : public QObject {
    Q_OBJECT
public:
    k9Title(k9NewDVD *parent = 0, const char *name = 0);
    ~k9Title();

    k9TitleItems *getFiles();

    int getNum() const;

    void setButton(k9MenuButton* _value);


    k9MenuButton* getButton() const;

	k9Menu* getMenu() const;
	


private:
    k9TitleItems m_files;
    int m_num;
    k9MenuButton *m_button;
    k9Menu *m_menu;
};

#endif