summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvdchapter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/k9dvdchapter.h')
-rw-r--r--libk9copy/k9dvdchapter.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/libk9copy/k9dvdchapter.h b/libk9copy/k9dvdchapter.h
index b7e2826..9b8affc 100644
--- a/libk9copy/k9dvdchapter.h
+++ b/libk9copy/k9dvdchapter.h
@@ -14,7 +14,7 @@
#include "k9common.h"
#include "k9dvd.h"
-#include <qptrlist.h>
+#include <tqptrlist.h>
static int cptChapter=0;
@@ -22,9 +22,10 @@ static int cptChapter=0;
enum angleBlock_t {angleNone=0,angleInside=1,angleStart=3,angleEnd=5};
class k9DVDTitle;
-class k9ChapterCell :public QObject
+class k9ChapterCell :public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
k9ChapterCell(uint _id,uint _angle){ m_id=_id;m_angle=_angle;m_angleBlock=angleNone;};
virtual uint getid() {return m_id;};
@@ -43,9 +44,10 @@ private:
uint32_t m_startSector,m_lastSector;
};
-class k9DVDChapter : public QObject
+class k9DVDChapter : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
friend class k9DVDTitle;
friend class k9DVD;
private: // Private attributes
@@ -53,8 +55,8 @@ private: // Private attributes
int num;
int id;
/** */
- QTime length;
- QTime time;
+ TQTime length;
+ TQTime time;
/** */
int sectors;
unsigned long startSector;
@@ -67,13 +69,13 @@ public: // Public methods
k9DVDChapter();
/** Read property of int num. */
virtual const int& getnum();
- /** Read property of QTime length. */
- virtual const QTime& getlength();
+ /** Read property of TQTime length. */
+ virtual const TQTime& getlength();
/** Read property of int sectors. */
virtual const int& getsectors();
- QPtrList<k9ChapterCell> cells;
- QValueList<uint32_t> startSectors;
- virtual const QTime & gettime();
+ TQPtrList<k9ChapterCell> cells;
+ TQValueList<uint32_t> startSectors;
+ virtual const TQTime & gettime();
virtual k9DVDTitle * getTitle();
unsigned long getstartSector() { return startSector;};
unsigned long getendSector() {return endSector;};