diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /libk9copy/k9dvdchapter.h | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk9copy/k9dvdchapter.h')
-rw-r--r-- | libk9copy/k9dvdchapter.h | 22 |
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;}; |