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.cpp | |
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.cpp')
-rwxr-xr-x | libk9copy/k9cell.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libk9copy/k9cell.cpp b/libk9copy/k9cell.cpp index d757e26..4de41d8 100755 --- a/libk9copy/k9cell.cpp +++ b/libk9copy/k9cell.cpp @@ -20,7 +20,7 @@ #include "k9cell.h" #include "k9dvdtitleset.h" -int k9VobuList::compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 ) { +int k9VobuList::compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 ) { return(((k9Vobu*)item1)->oldSector- ((k9Vobu*)item2)->oldSector); } @@ -164,8 +164,8 @@ int k9Cell::isNavPack (uchar *_ptr) { -k9Cell::k9Cell(QObject *parent, const char *name) - : QObject(parent, name) { +k9Cell::k9Cell(TQObject *tqparent, const char *name) + : TQObject(tqparent, name) { vobus.setAutoDelete(true); numVobu=0; @@ -280,7 +280,7 @@ void k9Cell::addNewVobus(char *_buffer,uint32_t _len,uint32_t _position,int _vob numVobu++; vobu->vobNum=_vobNum; vobu->vobPos=_vobPos; - //QString c; + //TQString c; //c.sprintf("vobu : %d old: %d new :%d",numVobu-1,vobu->oldSector,vobu->newSector); //qDebug (c.latin1()); @@ -322,8 +322,8 @@ void k9Cell::addNewVobus(char *_buffer,uint32_t _len,uint32_t _position,int _vob } k9Vobu::k9Vobu(k9Cell *_parent,uint32_t _oldSector) - : QObject(_parent,"") { - parent=_parent; + : TQObject(_parent,"") { + tqparent=_parent; oldSector = _oldSector; newSector = 0; size=0; |