From 5660db4e68c904cc2dd01888775483189cda7a10 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libk9copy/backupdlg.cpp | 6 +++--- libk9copy/dvdprogress.cpp | 6 +++--- libk9copy/k9audiocodecs.cpp | 4 ++-- libk9copy/k9audiocodecs.h | 2 +- libk9copy/k9backupdlg.cpp | 4 ++-- libk9copy/k9backupdlg.h | 2 +- libk9copy/k9cell.cpp | 6 +++--- libk9copy/k9cell.h | 6 +++--- libk9copy/k9drawimage.cpp | 4 ++-- libk9copy/k9drawimage.h | 2 +- libk9copy/k9dvd.cpp | 2 +- libk9copy/k9dvd.h | 2 +- libk9copy/k9dvdbackup.cpp | 18 +++++++++--------- libk9copy/k9dvdprogress.cpp | 4 ++-- libk9copy/k9dvdprogress.h | 2 +- libk9copy/k9dvdsize.cpp | 2 +- libk9copy/k9dvdsize.h | 2 +- libk9copy/k9ifo2.cpp | 2 +- libk9copy/k9mp4dlg.cpp | 4 ++-- libk9copy/k9mp4dlg.h | 2 +- libk9copy/k9mp4enc.cpp | 4 ++-- libk9copy/k9mp4enc.h | 2 +- libk9copy/k9process.cpp | 4 ++-- libk9copy/k9process.h | 2 +- libk9copy/k9processlist.cpp | 2 +- libk9copy/k9processlist.h | 2 +- libk9copy/k9progress.cpp | 4 ++-- libk9copy/k9progress.h | 2 +- libk9copy/k9titleencopt.cpp | 6 +++--- libk9copy/k9titleencopt.h | 4 ++-- libk9copy/k9videocodecs.cpp | 4 ++-- libk9copy/k9videocodecs.h | 2 +- libk9copy/mp4dlg.cpp | 6 +++--- libk9copy/processList.cpp | 6 +++--- libk9copy/progress.cpp | 6 +++--- 35 files changed, 69 insertions(+), 69 deletions(-) (limited to 'libk9copy') diff --git a/libk9copy/backupdlg.cpp b/libk9copy/backupdlg.cpp index 1cc01d2..e760dfa 100644 --- a/libk9copy/backupdlg.cpp +++ b/libk9copy/backupdlg.cpp @@ -21,14 +21,14 @@ #include "kpushbutton.h" /* - * Constructs a backupDlg as a child of 'tqparent', with the + * Constructs a backupDlg as a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -backupDlg::backupDlg( TQWidget* tqparent, const char* name, bool modal, WFlags fl ) - : TQDialog( tqparent, name, modal, fl ) +backupDlg::backupDlg( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : TQDialog( parent, name, modal, fl ) { if ( !name ) setName( "backupDlg" ); diff --git a/libk9copy/dvdprogress.cpp b/libk9copy/dvdprogress.cpp index 83e37a5..3c85363 100644 --- a/libk9copy/dvdprogress.cpp +++ b/libk9copy/dvdprogress.cpp @@ -18,14 +18,14 @@ #include /* - * Constructs a DVDProgress as a child of 'tqparent', with the + * Constructs a DVDProgress as a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -DVDProgress::DVDProgress( TQWidget* tqparent, const char* name, bool modal, WFlags fl ) - : TQDialog( tqparent, name, modal, fl ) +DVDProgress::DVDProgress( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : TQDialog( parent, name, modal, fl ) { if ( !name ) setName( "DVDProgress" ); diff --git a/libk9copy/k9audiocodecs.cpp b/libk9copy/k9audiocodecs.cpp index 23098f2..b3323d5 100644 --- a/libk9copy/k9audiocodecs.cpp +++ b/libk9copy/k9audiocodecs.cpp @@ -26,8 +26,8 @@ public: }; -k9AudioCodecs::k9AudioCodecs(TQObject *tqparent, const char *name) - : TQObject(tqparent, name) +k9AudioCodecs::k9AudioCodecs(TQObject *parent, const char *name) + : TQObject(parent, name) { m_config=new k9Config(); TQStringList slLabels=m_config->getCodecLabelsAudio(); diff --git a/libk9copy/k9audiocodecs.h b/libk9copy/k9audiocodecs.h index 9727629..007bd7c 100644 --- a/libk9copy/k9audiocodecs.h +++ b/libk9copy/k9audiocodecs.h @@ -26,7 +26,7 @@ class k9AudioCodecs : public TQObject Q_OBJECT TQ_OBJECT public: - k9AudioCodecs(TQObject *tqparent = 0, const char *name = 0); + k9AudioCodecs(TQObject *parent = 0, const char *name = 0); ~k9AudioCodecs(); void save(); diff --git a/libk9copy/k9backupdlg.cpp b/libk9copy/k9backupdlg.cpp index e71033d..71d2507 100644 --- a/libk9copy/k9backupdlg.cpp +++ b/libk9copy/k9backupdlg.cpp @@ -34,8 +34,8 @@ #include #include "k9drawimage.h" -k9BackupDlg::k9BackupDlg(TQWidget* tqparent, const char* name, bool modal, WFlags fl) - : backupDlg(tqparent,name, modal,fl) { +k9BackupDlg::k9BackupDlg(TQWidget* parent, const char* name, bool modal, WFlags fl) + : backupDlg(parent,name, modal,fl) { Abort=false; timer = new TQTimer( this ); time = new TQTime(0,0); diff --git a/libk9copy/k9backupdlg.h b/libk9copy/k9backupdlg.h index 3e7a7f4..6e92ce5 100644 --- a/libk9copy/k9backupdlg.h +++ b/libk9copy/k9backupdlg.h @@ -34,7 +34,7 @@ class k9BackupDlg : public backupDlg TQ_OBJECT public: - k9BackupDlg(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + k9BackupDlg(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~k9BackupDlg(); /*$PUBLIC_FUNCTIONS$*/ void setTotalSteps(uint32_t _totalSteps); diff --git a/libk9copy/k9cell.cpp b/libk9copy/k9cell.cpp index 4de41d8..c7a6433 100755 --- a/libk9copy/k9cell.cpp +++ b/libk9copy/k9cell.cpp @@ -164,8 +164,8 @@ int k9Cell::isNavPack (uchar *_ptr) { -k9Cell::k9Cell(TQObject *tqparent, const char *name) - : TQObject(tqparent, name) { +k9Cell::k9Cell(TQObject *parent, const char *name) + : TQObject(parent, name) { vobus.setAutoDelete(true); numVobu=0; @@ -323,7 +323,7 @@ void k9Cell::addNewVobus(char *_buffer,uint32_t _len,uint32_t _position,int _vob k9Vobu::k9Vobu(k9Cell *_parent,uint32_t _oldSector) : TQObject(_parent,"") { - tqparent=_parent; + parent=_parent; oldSector = _oldSector; newSector = 0; size=0; diff --git a/libk9copy/k9cell.h b/libk9copy/k9cell.h index f5a6d45..d62a870 100755 --- a/libk9copy/k9cell.h +++ b/libk9copy/k9cell.h @@ -35,7 +35,7 @@ class k9Vobu : public TQObject { Q_OBJECT TQ_OBJECT public: - k9Vobu(k9Cell * tqparent,uint32_t _oldSector); + k9Vobu(k9Cell * parent,uint32_t _oldSector); ~k9Vobu(); uint32_t newSector; uint32_t oldSector; @@ -44,7 +44,7 @@ public: int firstSubp[32]; int firstVideo; bool empty; - k9Cell *tqparent; + k9Cell *parent; long vobPos; int vobNum; uchar frameType; @@ -65,7 +65,7 @@ class k9Cell : public TQObject { Q_OBJECT TQ_OBJECT public: - k9Cell(TQObject *tqparent = 0, const char *name = 0); + k9Cell(TQObject *parent = 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); diff --git a/libk9copy/k9drawimage.cpp b/libk9copy/k9drawimage.cpp index 4103df9..25593c5 100644 --- a/libk9copy/k9drawimage.cpp +++ b/libk9copy/k9drawimage.cpp @@ -12,8 +12,8 @@ #include "k9drawimage.h" #include -k9DrawImage::k9DrawImage(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +k9DrawImage::k9DrawImage(TQWidget *parent, const char *name) + : TQWidget(parent, name) { } diff --git a/libk9copy/k9drawimage.h b/libk9copy/k9drawimage.h index ebe0d9f..dc51c67 100644 --- a/libk9copy/k9drawimage.h +++ b/libk9copy/k9drawimage.h @@ -23,7 +23,7 @@ class k9DrawImage : public TQWidget Q_OBJECT TQ_OBJECT public: - k9DrawImage(TQWidget *tqparent = 0, const char *name = 0); + k9DrawImage(TQWidget *parent = 0, const char *name = 0); void setImage(TQString _fileName); void setImage(const TQImage &_image); ~k9DrawImage(); diff --git a/libk9copy/k9dvd.cpp b/libk9copy/k9dvd.cpp index ded75c9..c9beed3 100755 --- a/libk9copy/k9dvd.cpp +++ b/libk9copy/k9dvd.cpp @@ -82,7 +82,7 @@ int k9DVD::getmenuSize() { return m_menuSize; } -k9DVD::k9DVD(TQObject *tqparent, const char *name,const TQStringList args) { +k9DVD::k9DVD(TQObject *parent, const char *name,const TQStringList args) { m_error=false; m_opened=false; m_titles.setAutoDelete(true); diff --git a/libk9copy/k9dvd.h b/libk9copy/k9dvd.h index 94ca07c..e8c7d2e 100755 --- a/libk9copy/k9dvd.h +++ b/libk9copy/k9dvd.h @@ -81,7 +81,7 @@ private: k9DVDTitle* m_start; int m_titlesetCount; public: - k9DVD(TQObject *tqparent=0,const char *name=0,const TQStringList args=0) ; + k9DVD(TQObject *parent=0,const char *name=0,const TQStringList args=0) ; ~k9DVD(); /** diff --git a/libk9copy/k9dvdbackup.cpp b/libk9copy/k9dvdbackup.cpp index e261038..a365efb 100755 --- a/libk9copy/k9dvdbackup.cpp +++ b/libk9copy/k9dvdbackup.cpp @@ -368,7 +368,7 @@ void k9DVDBackup::getOutput(uchar * buffer, uint32_t buflen) { k9Vobu * vobu = vobuQueue.dequeue(); - cellOut=vobu->tqparent; + cellOut=vobu->parent; dsi_t dsiPack; navRead_DSI (&dsiPack, (uchar*)(temp+itemp) + DSI_START_BYTE); @@ -817,13 +817,13 @@ uint32_t k9DVDBackup::copyVobu(k9DVDFile *_fileHandle,uint32_t _startSector,k9V k9Vobu * k9DVDBackup::remapVobu(uint32_t *value) { k9Vobu *vobu=NULL; - uint32_t sector,tqmask; + uint32_t sector,mask; if ( (*value & 0x80000000) == 0x80000000) { sector = *value & 0x7FFFFFFF; - tqmask=0x80000000; + mask=0x80000000; } else { sector =*value; - tqmask=0; + mask=0; } *value=0; k9CellList *lstCell; @@ -837,7 +837,7 @@ k9Vobu * k9DVDBackup::remapVobu(uint32_t *value) { } vobu=lstCell->findVobu(sector); if (vobu !=NULL) { - *value = vobu->newSector | tqmask; + *value = vobu->newSector | mask; return vobu; } @@ -1099,7 +1099,7 @@ void k9DVDBackup::update4Menu(ifo_handle_t *_hifo) { qDebug ("Error : could not find startSector"); else { if (remapVobu(&lastSect)==NULL) - lastSect=vobu->tqparent->lastSector; + lastSect=vobu->parent->lastSector; else lastSect--; ptr[i].start_sector = startSect; @@ -1312,7 +1312,7 @@ void k9DVDBackup::updateIfo() { qDebug ("Error : could not find startSector"); else { if (remapVobu(&lastSect)==NULL) - lastSect= vobu->tqparent->lastSector; + lastSect= vobu->parent->lastSector; else lastSect--; ptr[i].start_sector = startSect; @@ -1347,10 +1347,10 @@ void k9DVDBackup::updateIfo() { newPos=0; for(uint32_t j = 0; j < vts_tmapt->tmap[i].nr_of_entries; j++) { //bit 31 indicates whether VOBU time codes are discontinous with previous - uint32_t tqmask=map_ent[j] & 0x80000000 ; + uint32_t mask=map_ent[j] & 0x80000000 ; uint32_t value=map_ent[j] & 0x7FFFFFFF; if (remapVobu(&value) !=NULL) { - map_ent[j]=value | tqmask; + map_ent[j]=value | mask; map_ent[newPos]=map_ent[j]; newPos++; } else diff --git a/libk9copy/k9dvdprogress.cpp b/libk9copy/k9dvdprogress.cpp index 08e8a70..9a35821 100755 --- a/libk9copy/k9dvdprogress.cpp +++ b/libk9copy/k9dvdprogress.cpp @@ -22,8 +22,8 @@ #include #include -k9DVDProgress::k9DVDProgress(TQWidget* tqparent, const char* name, bool modal, WFlags fl) - : DVDProgress( tqparent, name, modal, fl ) +k9DVDProgress::k9DVDProgress(TQWidget* parent, const char* name, bool modal, WFlags fl) + : DVDProgress( parent, name, modal, fl ) { } diff --git a/libk9copy/k9dvdprogress.h b/libk9copy/k9dvdprogress.h index 6d4ebc3..98ab463 100755 --- a/libk9copy/k9dvdprogress.h +++ b/libk9copy/k9dvdprogress.h @@ -31,7 +31,7 @@ class k9DVDProgress : public DVDProgress { Q_OBJECT TQ_OBJECT public: - k9DVDProgress(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + k9DVDProgress(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~k9DVDProgress(); /** No descriptions */ void setpbTitleTotalSteps(unsigned int total); diff --git a/libk9copy/k9dvdsize.cpp b/libk9copy/k9dvdsize.cpp index ae872ed..0e671b3 100644 --- a/libk9copy/k9dvdsize.cpp +++ b/libk9copy/k9dvdsize.cpp @@ -13,7 +13,7 @@ int DVD_MAX_SIZE=4400; -k9DVDSize::k9DVDSize(TQObject *tqparent,const char *name,const TQStringList args) +k9DVDSize::k9DVDSize(TQObject *parent,const char *name,const TQStringList args) { } diff --git a/libk9copy/k9dvdsize.h b/libk9copy/k9dvdsize.h index ddb6aad..ab6c73c 100644 --- a/libk9copy/k9dvdsize.h +++ b/libk9copy/k9dvdsize.h @@ -23,7 +23,7 @@ Q_OBJECT private: static int m_size; public: - k9DVDSize(TQObject *tqparent=0,const char *name=0,const TQStringList args=0) ; + k9DVDSize(TQObject *parent=0,const char *name=0,const TQStringList args=0) ; static int getMaxSize(); static void setMaxSize(int _size); virtual int getMaxSizeDyn(); diff --git a/libk9copy/k9ifo2.cpp b/libk9copy/k9ifo2.cpp index 2fb8dbb..a4b7fef 100644 --- a/libk9copy/k9ifo2.cpp +++ b/libk9copy/k9ifo2.cpp @@ -511,7 +511,7 @@ void k9Ifo2::updatePGCIT_internal(uchar *_buffer, pgcit_t *_pgcit, int _offset) m_position+=_pgcit->nr_of_pgci_srp*PGCI_SRP_SIZE; for(int i = 0; i < _pgcit->nr_of_pgci_srp; i++) { - B2N_16(pgci_srp[i].ptl_id_tqmask); + B2N_16(pgci_srp[i].ptl_id_mask); pgci_srp[i].pgc_start_byte=m_position-_offset; B2N_32(pgci_srp[i].pgc_start_byte); //JMP:faux updatePGC(_buffer,_pgcit->pgci_srp[i].pgc,m_position); diff --git a/libk9copy/k9mp4dlg.cpp b/libk9copy/k9mp4dlg.cpp index 407d4e9..30dc6b9 100644 --- a/libk9copy/k9mp4dlg.cpp +++ b/libk9copy/k9mp4dlg.cpp @@ -20,8 +20,8 @@ #include "k9drawimage.h" -k9MP4Dlg::k9MP4Dlg(TQWidget* tqparent, const char* name) -: MP4Dlg(tqparent,name, true) +k9MP4Dlg::k9MP4Dlg(TQWidget* parent, const char* name) +: MP4Dlg(parent,name, true) { m_wimage=new k9DrawImage(image,0); TQGridLayout *l=new TQGridLayout(image,1,1); diff --git a/libk9copy/k9mp4dlg.h b/libk9copy/k9mp4dlg.h index 2b2e1b3..1de9c2f 100644 --- a/libk9copy/k9mp4dlg.h +++ b/libk9copy/k9mp4dlg.h @@ -24,7 +24,7 @@ class k9MP4Dlg : public MP4Dlg TQ_OBJECT public: - k9MP4Dlg(TQWidget* tqparent = 0, const char* name = 0); + k9MP4Dlg(TQWidget* parent = 0, const char* name = 0); ~k9MP4Dlg(); /*$PUBLIC_FUNCTIONS$*/ void setfps(TQString _fps); diff --git a/libk9copy/k9mp4enc.cpp b/libk9copy/k9mp4enc.cpp index dd23076..a59c37f 100644 --- a/libk9copy/k9mp4enc.cpp +++ b/libk9copy/k9mp4enc.cpp @@ -27,8 +27,8 @@ #include "k9videocodecs.h" #include -k9MP4Enc::k9MP4Enc ( TQObject *tqparent, const char *name,const TQStringList& ) - : TQObject ( tqparent, name ) +k9MP4Enc::k9MP4Enc ( TQObject *parent, const char *name,const TQStringList& ) + : TQObject ( parent, name ) { m_fourcc=m_height=m_width=m_audioBitrate=m_videoBitrate=m_filename=""; m_codec=0; //lavc_mp4; diff --git a/libk9copy/k9mp4enc.h b/libk9copy/k9mp4enc.h index 346a88d..e75446e 100644 --- a/libk9copy/k9mp4enc.h +++ b/libk9copy/k9mp4enc.h @@ -70,7 +70,7 @@ private slots: void slotCancel(); public: - k9MP4Enc(TQObject *tqparent = 0, const char *name = 0,const TQStringList& args=0); + k9MP4Enc(TQObject *parent = 0, const char *name = 0,const TQStringList& args=0); ~k9MP4Enc(); virtual void execute(k9DVDTitle *_title ); diff --git a/libk9copy/k9process.cpp b/libk9copy/k9process.cpp index d358656..060f6cf 100644 --- a/libk9copy/k9process.cpp +++ b/libk9copy/k9process.cpp @@ -14,8 +14,8 @@ #include #include -k9Process::k9Process(TQObject *tqparent, const char *name) - : KProcess(tqparent, name),m_waitSync(false) +k9Process::k9Process(TQObject *parent, const char *name) + : KProcess(parent, name),m_waitSync(false) { connect(this,TQT_SIGNAL(processExited( KProcess* )),this,TQT_SLOT(slotProcessExited( KProcess* ))); diff --git a/libk9copy/k9process.h b/libk9copy/k9process.h index 2512822..47f577e 100644 --- a/libk9copy/k9process.h +++ b/libk9copy/k9process.h @@ -22,7 +22,7 @@ class k9Process : public KProcess Q_OBJECT TQ_OBJECT public: - k9Process(TQObject *tqparent = 0, const char *name = 0); + k9Process(TQObject *parent = 0, const char *name = 0); void sync(); const TQString & debug(); ~k9Process(); diff --git a/libk9copy/k9processlist.cpp b/libk9copy/k9processlist.cpp index 4441548..baa7af5 100644 --- a/libk9copy/k9processlist.cpp +++ b/libk9copy/k9processlist.cpp @@ -46,7 +46,7 @@ private: }; -k9ProcessList::k9ProcessList(TQWidget* tqparent, const char* name, WFlags fl) : processList(tqparent,name,fl) +k9ProcessList::k9ProcessList(TQWidget* parent, const char* name, WFlags fl) : processList(parent,name,fl) { m_processes.setAutoDelete(true); m_maxProcess=4; diff --git a/libk9copy/k9processlist.h b/libk9copy/k9processlist.h index bd18119..5ee0c31 100644 --- a/libk9copy/k9processlist.h +++ b/libk9copy/k9processlist.h @@ -22,7 +22,7 @@ class k9ProcessList : public processList { TQ_OBJECT public: - k9ProcessList(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + k9ProcessList(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~k9ProcessList(); /*$PUBLIC_FUNCTIONS$*/ void execute(); diff --git a/libk9copy/k9progress.cpp b/libk9copy/k9progress.cpp index 9a8bb95..6a29fd5 100644 --- a/libk9copy/k9progress.cpp +++ b/libk9copy/k9progress.cpp @@ -24,8 +24,8 @@ -k9Progress::k9Progress(TQWidget* tqparent, const char* name,const TQStringList &args) - : Progress(tqparent,name,0) { +k9Progress::k9Progress(TQWidget* parent, const char* name,const TQStringList &args) + : Progress(parent,name,0) { m_process=new k9Process(TQT_TQOBJECT(this),0); m_wimage=new k9DrawImage(image,0); TQGridLayout *l=new TQGridLayout(image,1,1); diff --git a/libk9copy/k9progress.h b/libk9copy/k9progress.h index bf6c9d7..a39a298 100644 --- a/libk9copy/k9progress.h +++ b/libk9copy/k9progress.h @@ -25,7 +25,7 @@ class k9Progress : public Progress { TQ_OBJECT public: - k9Progress(TQWidget* tqparent = 0, const char* name = 0, const TQStringList &args=0); + k9Progress(TQWidget* parent = 0, const char* name = 0, const TQStringList &args=0); ~k9Progress(); virtual k9Process * getProcess() const; virtual void setProgress(long _position,long _total); diff --git a/libk9copy/k9titleencopt.cpp b/libk9copy/k9titleencopt.cpp index c9bb1be..451eea2 100644 --- a/libk9copy/k9titleencopt.cpp +++ b/libk9copy/k9titleencopt.cpp @@ -14,10 +14,10 @@ #include "k9config.h" #include "k9dvdtitle.h" -k9TitleEncOpt::k9TitleEncOpt(k9DVDTitle *tqparent) - : TQObject(tqparent, "") +k9TitleEncOpt::k9TitleEncOpt(k9DVDTitle *parent) + : TQObject(parent, "") { - connect (tqparent,TQT_SIGNAL(selectionChanged()),this,TQT_SLOT(load())); + connect (parent,TQT_SIGNAL(selectionChanged()),this,TQT_SLOT(load())); load(); } diff --git a/libk9copy/k9titleencopt.h b/libk9copy/k9titleencopt.h index faf72c1..71e4aa5 100644 --- a/libk9copy/k9titleencopt.h +++ b/libk9copy/k9titleencopt.h @@ -26,9 +26,9 @@ class k9TitleEncOpt : public TQObject Q_OBJECT TQ_OBJECT public: - k9TitleEncOpt(k9DVDTitle *tqparent ); + k9TitleEncOpt(k9DVDTitle *parent ); ~k9TitleEncOpt(); - k9DVDTitle *getTitle() { return (k9DVDTitle*)tqparent();}; + k9DVDTitle *getTitle() { return (k9DVDTitle*)parent();}; public: int getMaxSize(); diff --git a/libk9copy/k9videocodecs.cpp b/libk9copy/k9videocodecs.cpp index 306b1da..ff3a87e 100644 --- a/libk9copy/k9videocodecs.cpp +++ b/libk9copy/k9videocodecs.cpp @@ -31,8 +31,8 @@ public: }; -k9VideoCodecs::k9VideoCodecs(TQObject *tqparent, const char *name) - : TQObject(tqparent, name) +k9VideoCodecs::k9VideoCodecs(TQObject *parent, const char *name) + : TQObject(parent, name) { m_config=new k9Config(); TQStringList slLabels=m_config->getCodecLabels(); diff --git a/libk9copy/k9videocodecs.h b/libk9copy/k9videocodecs.h index 21422d2..163f3b9 100644 --- a/libk9copy/k9videocodecs.h +++ b/libk9copy/k9videocodecs.h @@ -27,7 +27,7 @@ class k9VideoCodecs : public TQObject Q_OBJECT TQ_OBJECT public: - k9VideoCodecs(TQObject *tqparent = 0, const char *name = 0); + k9VideoCodecs(TQObject *parent = 0, const char *name = 0); ~k9VideoCodecs(); void save(); diff --git a/libk9copy/mp4dlg.cpp b/libk9copy/mp4dlg.cpp index 252c9f0..59f0571 100644 --- a/libk9copy/mp4dlg.cpp +++ b/libk9copy/mp4dlg.cpp @@ -22,11 +22,11 @@ #include "kpushbutton.h" /* - * Constructs a MP4Dlg as a child of 'tqparent', with the + * Constructs a MP4Dlg as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ -MP4Dlg::MP4Dlg( TQWidget* tqparent, const char* name, WFlags fl ) - : TQWidget( tqparent, name, fl ) +MP4Dlg::MP4Dlg( TQWidget* parent, const char* name, WFlags fl ) + : TQWidget( parent, name, fl ) { if ( !name ) setName( "MP4Dlg" ); diff --git a/libk9copy/processList.cpp b/libk9copy/processList.cpp index c95df4f..35551c1 100644 --- a/libk9copy/processList.cpp +++ b/libk9copy/processList.cpp @@ -19,11 +19,11 @@ #include "kpushbutton.h" /* - * Constructs a processList as a child of 'tqparent', with the + * Constructs a processList as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ -processList::processList( TQWidget* tqparent, const char* name, WFlags fl ) - : TQWidget( tqparent, name, fl ) +processList::processList( TQWidget* parent, const char* name, WFlags fl ) + : TQWidget( parent, name, fl ) { if ( !name ) setName( "processList" ); diff --git a/libk9copy/progress.cpp b/libk9copy/progress.cpp index 24f5c68..e71faf9 100644 --- a/libk9copy/progress.cpp +++ b/libk9copy/progress.cpp @@ -20,11 +20,11 @@ #include "kprogress.h" /* - * Constructs a Progress as a child of 'tqparent', with the + * Constructs a Progress as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ -Progress::Progress( TQWidget* tqparent, const char* name, WFlags fl ) - : TQWidget( tqparent, name, fl ) +Progress::Progress( TQWidget* parent, const char* name, WFlags fl ) + : TQWidget( parent, name, fl ) { if ( !name ) setName( "Progress" ); -- cgit v1.2.1