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/k9cell.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/k9cell.h')
-rwxr-xr-x | libk9copy/k9cell.h | 24 |
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); |