summaryrefslogtreecommitdiffstats
path: root/k9author/k9title.h
blob: 3a489b090a1ec26c9a35c1628adb33b5d64c1261 (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
58
//
// 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 <tqobject.h>
#include <tqptrlist.h>
#include "k9avifile.h"
#include "k9menubutton.h"
/**
	@author Jean-Michel PETIT <[email protected]>
*/
class k9NewDVD;
class k9Menu;

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

class k9Title : public TQObject {
    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