summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/k9cell.h')
-rwxr-xr-xlibk9copy/k9cell.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/libk9copy/k9cell.h b/libk9copy/k9cell.h
index c253415..f5a6d45 100755
--- a/libk9copy/k9cell.h
+++ b/libk9copy/k9cell.h
@@ -31,10 +31,11 @@ enum streamType_t {stAudio,stVideo,stSubpicture,stOther};
class k9CellList;
class k9Cell;
class k9DVDTitleset;
-class k9Vobu : public QObject {
+class k9Vobu : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- k9Vobu(k9Cell * parent,uint32_t _oldSector);
+ k9Vobu(k9Cell * tqparent,uint32_t _oldSector);
~k9Vobu();
uint32_t newSector;
uint32_t oldSector;
@@ -43,7 +44,7 @@ public:
int firstSubp[32];
int firstVideo;
bool empty;
- k9Cell *parent;
+ k9Cell *tqparent;
long vobPos;
int vobNum;
uchar frameType;
@@ -51,19 +52,20 @@ public:
bool firstRefOk,secondRefOk,thirdRefOk;
};
-class k9VobuList : public QPtrList <k9Vobu> {
+class k9VobuList : public TQPtrList <k9Vobu> {
public:
k9Vobu *findVobu(uint32_t sector);
private:
k9Vobu * findVobu(uint32_t sector, uint32_t start, uint32_t end);
protected:
- int compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 ) ;
+ int compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 ) ;
};
-class k9Cell : public QObject {
+class k9Cell : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- k9Cell(QObject *parent = 0, const char *name = 0);
+ k9Cell(TQObject *tqparent = 0, const char *name = 0);
~k9Cell();
k9Vobu * addVobu(uint32_t _sector);
void addNewVobus(char *_buffer,uint32_t _len,uint32_t _position,int _vobNum,long _vobPos);
@@ -91,18 +93,18 @@ public:
int id;
bool selected;
bool copied;
- QValueList<int> audio;
- QValueList<int> subpicture;
+ TQValueList<int> audio;
+ TQValueList<int> subpicture;
k9CellList *cellList;
private:
int numVobu;
void addRefStream(k9Vobu *_vobu,uchar *_buffer,uint32_t _position);
- QPtrList <k9DVDTitle> m_titles;
+ TQPtrList <k9DVDTitle> m_titles;
};
-class k9CellList : public QPtrList <k9Cell> {
+class k9CellList : public TQPtrList <k9Cell> {
private:
uint32_t m_position;
k9Cell * findCell(uint32_t sector);