summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit5660db4e68c904cc2dd01888775483189cda7a10 (patch)
treef8bb487ab12519611d3ddca1839a03396e954c77 /src
parent33e6166f7e62c479bad5d46ad240ea9704f848fd (diff)
downloadk9copy-5660db4e68c904cc2dd01888775483189cda7a10.tar.gz
k9copy-5660db4e68c904cc2dd01888775483189cda7a10.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/configDlg.cpp6
-rw-r--r--src/k9glwidget.cpp6
-rw-r--r--src/k9glwidget.h10
-rw-r--r--src/k9langselect.cpp4
-rw-r--r--src/k9langselect.h6
-rw-r--r--src/k9main.cpp26
-rw-r--r--src/k9main.h18
-rw-r--r--src/k9mainw.cpp6
-rw-r--r--src/k9mencodercmdgen.cpp48
-rw-r--r--src/k9mencodercmdgen.h2
-rw-r--r--src/k9mp4title.cpp4
-rw-r--r--src/k9mp4title.h2
-rw-r--r--src/k9playbackoptions.cpp4
-rw-r--r--src/k9playbackoptions.h2
-rw-r--r--src/k9prefauthor.cpp4
-rw-r--r--src/k9prefauthor.h2
-rw-r--r--src/k9prefdvd.cpp4
-rw-r--r--src/k9prefdvd.h2
-rw-r--r--src/k9prefmencoder.cpp4
-rw-r--r--src/k9prefmencoder.h2
-rw-r--r--src/k9prefmpeg4.cpp4
-rw-r--r--src/k9prefmpeg4.h2
-rw-r--r--src/k9prefpreview.cpp4
-rw-r--r--src/k9prefpreview.h2
-rw-r--r--src/k9settings.cpp2
-rw-r--r--src/k9settings.h2
-rw-r--r--src/k9titlefactor.cpp4
-rw-r--r--src/k9titlefactor.h2
-rw-r--r--src/k9updatefactor.cpp4
-rw-r--r--src/k9updatefactor.h2
-rw-r--r--src/kconfigdlg.cpp4
-rw-r--r--src/kconfigdlg.h2
-rwxr-xr-xsrc/kviewmpeg2.cpp2
-rw-r--r--src/langselectw.cpp6
-rw-r--r--src/mencoderCmdGen.cpp6
-rw-r--r--src/playbackoptionsw.cpp6
-rw-r--r--src/prefAuthor.cpp6
-rw-r--r--src/prefDVD.cpp6
-rw-r--r--src/prefMPEG4.cpp6
-rw-r--r--src/prefMencoder.cpp6
-rw-r--r--src/prefpreview.cpp6
-rw-r--r--src/titlefactor.cpp6
-rw-r--r--src/viewmpeg2.cpp6
43 files changed, 129 insertions, 129 deletions
diff --git a/src/configDlg.cpp b/src/configDlg.cpp
index 0df4a87..3a70e80 100644
--- a/src/configDlg.cpp
+++ b/src/configDlg.cpp
@@ -18,11 +18,11 @@
#include "kpushbutton.h"
/*
- * Constructs a configDlg as a child of 'tqparent', with the
+ * Constructs a configDlg as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-configDlg::configDlg( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+configDlg::configDlg( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "configDlg" );
diff --git a/src/k9glwidget.cpp b/src/k9glwidget.cpp
index 9594e62..2d536b1 100644
--- a/src/k9glwidget.cpp
+++ b/src/k9glwidget.cpp
@@ -20,7 +20,7 @@
#include "ac.h"
#include <X11/Xlib.h>
-k9GLWidget::k9GLWidget(TQWidget *tqparent, const char *name):TQGLWidget(tqparent, name) {
+k9GLWidget::k9GLWidget(TQWidget *parent, const char *name):TQGLWidget(parent, name) {
XMapRaised(x11Display(),winId());
m_buffer=NULL;
@@ -45,9 +45,9 @@ k9GLWidget::k9GLWidget(TQWidget *tqparent, const char *name):TQGLWidget(tqparent
glGetString=(glGetString_t)library->resolve("glGetString");
}
-k9GLWidget* k9GLWidget::createWidget(TQWidget *tqparent , const char *name ) {
+k9GLWidget* k9GLWidget::createWidget(TQWidget *parent , const char *name ) {
//XInitThreads();
- return new k9GLWidget(tqparent,name);
+ return new k9GLWidget(parent,name);
}
k9GLWidget::~k9GLWidget() {
diff --git a/src/k9glwidget.h b/src/k9glwidget.h
index e032ed8..f7be0e0 100644
--- a/src/k9glwidget.h
+++ b/src/k9glwidget.h
@@ -49,7 +49,7 @@ Q_OBJECT
TQ_OBJECT
public:
void setImage(uchar *_buffer,int _width,int _height,int _len);
- static k9GLWidget * createWidget(TQWidget *tqparent = 0, const char *name = 0);
+ static k9GLWidget * createWidget(TQWidget *parent = 0, const char *name = 0);
~k9GLWidget();
protected:
void draw();
@@ -57,7 +57,7 @@ protected:
void initializeGL();
void paintGL();
private:
- k9GLWidget(TQWidget *tqparent = 0, const char *name = 0);
+ k9GLWidget(TQWidget *parent = 0, const char *name = 0);
TQImage m_image;
TQMutex m_mutex;
int m_width,m_height;
@@ -89,12 +89,12 @@ private:
class k9GLWidget:public TQWidget
{
public:
- static k9GLWidget * createWidget(TQWidget *tqparent = 0, const char *name = 0) {
- return new k9GLWidget(tqparent,name);
+ static k9GLWidget * createWidget(TQWidget *parent = 0, const char *name = 0) {
+ return new k9GLWidget(parent,name);
}
void setImage(uchar *_buffer,int _width,int _height,int _len){};
private:
- k9GLWidget(TQWidget *tqparent = 0, const char *name = 0){};
+ k9GLWidget(TQWidget *parent = 0, const char *name = 0){};
};
diff --git a/src/k9langselect.cpp b/src/k9langselect.cpp
index 6dbe66a..3bf249c 100644
--- a/src/k9langselect.cpp
+++ b/src/k9langselect.cpp
@@ -16,8 +16,8 @@
#include "k9dvdtitle.h"
#include "k9main.h"
#include <kstandarddirs.h>
-k9LangSelect::k9LangSelect(k9Main *mainWindow,TQWidget* tqparent, const char* name, WFlags fl)
-: langSelect(tqparent,name,fl)
+k9LangSelect::k9LangSelect(k9Main *mainWindow,TQWidget* parent, const char* name, WFlags fl)
+: langSelect(parent,name,fl)
{
setMain( mainWindow);
m_main->setLangSelect( this);
diff --git a/src/k9langselect.h b/src/k9langselect.h
index 71697bb..6ed0d11 100644
--- a/src/k9langselect.h
+++ b/src/k9langselect.h
@@ -24,8 +24,8 @@ class k9DVD;
class ckLvLangItem : public TQCheckListItem {
public:
- ckLvLangItem( TQListViewItem *tqparent,k9Main *dlg)
- : TQCheckListItem( tqparent,"",TQCheckListItem::CheckBox) {
+ ckLvLangItem( TQListViewItem *parent,k9Main *dlg)
+ : TQCheckListItem( parent,"",TQCheckListItem::CheckBox) {
mainDlg=dlg;
streamType=NONE;
}
@@ -44,7 +44,7 @@ class k9LangSelect : public langSelect
TQ_OBJECT
public:
- k9LangSelect(k9Main *mainWindow,TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9LangSelect(k9Main *mainWindow,TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9LangSelect();
void setMain(k9Main* _value);
diff --git a/src/k9main.cpp b/src/k9main.cpp
index 20b35fc..74c1a0a 100644
--- a/src/k9main.cpp
+++ b/src/k9main.cpp
@@ -88,12 +88,12 @@ k9DVDListItem::k9DVDListItem(TQObject *DVD,ckLvItem *List,eStreamType type)
streamType=type;
}
-k9Main::k9Main(TQWidget* tqparent, const char* name, k9CdDrives *_drives)
- : MainDlg(tqparent,name),pxVideo((const char **) img_video), pxSound((const char **) img_sound),
+k9Main::k9Main(TQWidget* parent, const char* name, k9CdDrives *_drives)
+ : MainDlg(parent,name),pxVideo((const char **) img_video), pxSound((const char **) img_sound),
pxText((const char **) img_text)
{
drives=_drives;
- m_parent=(k9Copy*)tqparent;
+ m_parent=(k9Copy*)parent;
TQImage img;
img.loadFromData( img_chapter, sizeof( img_chapter ), "PNG" );
pxChapter.convertFromImage( img);
@@ -812,7 +812,7 @@ void k9Main::checkLang(TQString lang,eStreamType streamType,bool state)
checked=state;
k9DVDTitle *title=(k9DVDTitle*)litem->listItem->obj;
- ckLvItem * itemtitleset=(ckLvItem*)litem -> listItem->tqparent()->tqparent();
+ ckLvItem * itemtitleset=(ckLvItem*)litem -> listItem->parent()->parent();
itemtitleset->setOn(title->gettitleset()->getselected());
}
break;
@@ -826,7 +826,7 @@ void k9Main::checkLang(TQString lang,eStreamType streamType,bool state)
checked=state;
k9DVDTitle *title=(k9DVDTitle*)litem->listItem->obj;
- ckLvItem * itemtitleset=(ckLvItem*)litem -> listItem->tqparent()->tqparent();
+ ckLvItem * itemtitleset=(ckLvItem*)litem -> listItem->parent()->parent();
itemtitleset->setOn(title->gettitleset()->getselected());
}
break;
@@ -839,7 +839,7 @@ void k9Main::checkLang(TQString lang,eStreamType streamType,bool state)
for (uint j=0; j<items.count();j++)
{
k9DVDListItem *litem2=(k9DVDListItem*)items.at(j);
- if (litem2->listItem->tqparent()==litem->listItem->tqparent() && litem2->streamType==VID )
+ if (litem2->listItem->parent()==litem->listItem->parent() && litem2->streamType==VID )
{
litem2->title->setforceSelection(state);
litem2->listItem->setOn(state);
@@ -883,7 +883,7 @@ void k9Main::checkTitle(bool state, ckLvItem *_item)
for (uint i=0;i<items.count();i++)
{
litem=(k9DVDListItem*)items.at(i);
- if (litem->listItem->tqparent() == _item->tqparent())
+ if (litem->listItem->parent() == _item->parent())
{
//if current item is video and is unchecked, uncheck audio and subtitles
if (!state && _item->streamType==VID)
@@ -928,9 +928,9 @@ void k9Main::checkTitle(bool state, ckLvItem *_item)
{
ckLvItem * itemtitleset;
if (_item->streamType==CHAP)
- itemtitleset=(ckLvItem*)_item->tqparent()->tqparent()->tqparent();
+ itemtitleset=(ckLvItem*)_item->parent()->parent()->parent();
else
- itemtitleset=(ckLvItem*)_item->tqparent()->tqparent();
+ itemtitleset=(ckLvItem*)_item->parent()->parent();
itemtitleset->setOn(titleset->getselected());
}
@@ -964,7 +964,7 @@ void k9Main::checkAll(bool state)
litem->listItem->setOn(state);
// k9DVDTitle *title=(k9DVDTitle*)litem->listItem->obj;
- ckLvItem * itemtitleset=(ckLvItem*)litem -> listItem->tqparent()->tqparent();
+ ckLvItem * itemtitleset=(ckLvItem*)litem -> listItem->parent()->parent();
l_title->gettitleset()->setselected(state);
itemtitleset->setOn(l_title->gettitleset()->getselected());
}
@@ -992,7 +992,7 @@ void k9Main::checkTS( bool _state,ckLvItem *_item )
for (uint i=0;i<items.count();i++)
{
litem=(k9DVDListItem*)items.at(i);
- if (litem->listItem->tqparent ()->tqparent() == _item)
+ if (litem->listItem->parent ()->parent() == _item)
{
litem->listItem->setOn(_state);
}
@@ -1339,8 +1339,8 @@ void k9Main::listView1CurrentChanged( TQListViewItem *newItem )
ckLvItem *ckit = (ckLvItem*) newItem;
if (((ckLvItem*)newItem)->streamType==CHAP)
{
- LvItem *tqparent=(LvItem*)(ckit->tqparent()->tqparent());
- title=(k9DVDTitle*)tqparent->obj;
+ LvItem *parent=(LvItem*)(ckit->parent()->parent());
+ title=(k9DVDTitle*)parent->obj;
}
else
title=(k9DVDTitle*)ckit->obj;
diff --git a/src/k9main.h b/src/k9main.h
index 547cbdf..1c2f3da 100644
--- a/src/k9main.h
+++ b/src/k9main.h
@@ -34,12 +34,12 @@ enum eObjectType {TITLE,CHAPTER,TITLESET,STREAM,ROOT};
class LvItem : public TQListViewItem {
public:
- LvItem( TQListViewItem *tqparent,eObjectType _objectType)
- : TQListViewItem( tqparent), obj( NULL ) {
+ LvItem( TQListViewItem *parent,eObjectType _objectType)
+ : TQListViewItem( parent), obj( NULL ) {
objectType=_objectType;
}
- LvItem( TQListView *tqparent,eObjectType _objectType)
- : TQListViewItem( tqparent), obj( NULL ) {
+ LvItem( TQListView *parent,eObjectType _objectType)
+ : TQListViewItem( parent), obj( NULL ) {
objectType=_objectType;
}
eObjectType objectType;
@@ -61,8 +61,8 @@ class k9UpdateFactor;
class ckLvItem : public TQCheckListItem {
public:
- ckLvItem( TQListViewItem *tqparent,k9Main *dlg,eObjectType _objectType)
- : TQCheckListItem( tqparent,"",TQCheckListItem::CheckBox) {
+ ckLvItem( TQListViewItem *parent,k9Main *dlg,eObjectType _objectType)
+ : TQCheckListItem( parent,"",TQCheckListItem::CheckBox) {
mainDlg=dlg;
obj=NULL;
stream=NULL;
@@ -70,8 +70,8 @@ public:
language="";
objectType=_objectType;
}
- ckLvItem( TQListView *tqparent,k9Main *dlg,eObjectType _objectType)
- : TQCheckListItem( tqparent,"",TQCheckListItem::CheckBox) {
+ ckLvItem( TQListView *parent,k9Main *dlg,eObjectType _objectType)
+ : TQCheckListItem( parent,"",TQCheckListItem::CheckBox) {
mainDlg=dlg;
obj=NULL;
stream=NULL;
@@ -118,7 +118,7 @@ class k9Main : public MainDlg {
public:
- k9Main(TQWidget* tqparent = 0, const char* name = 0, k9CdDrives *_drives=0 );
+ k9Main(TQWidget* parent = 0, const char* name = 0, k9CdDrives *_drives=0 );
~k9Main();
/*$PUBLIC_FUNCTIONS$*/
void addTitle(k9DVDTitle *track);
diff --git a/src/k9mainw.cpp b/src/k9mainw.cpp
index f2e685c..24a9552 100644
--- a/src/k9mainw.cpp
+++ b/src/k9mainw.cpp
@@ -27,11 +27,11 @@
#include "kpushbutton.h"
/*
- * Constructs a MainDlg as a child of 'tqparent', with the
+ * Constructs a MainDlg as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-MainDlg::MainDlg( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "MainDlg" );
diff --git a/src/k9mencodercmdgen.cpp b/src/k9mencodercmdgen.cpp
index 6de1a67..941f37d 100644
--- a/src/k9mencodercmdgen.cpp
+++ b/src/k9mencodercmdgen.cpp
@@ -49,8 +49,8 @@ void _k9CheckListItem::stateChange(bool _state) {
}
-k9MencoderCmdGen::k9MencoderCmdGen(TQWidget* tqparent, const TQString &_cmd, bool modal, WFlags fl)
-: MyDialog1(tqparent,"", modal,fl)
+k9MencoderCmdGen::k9MencoderCmdGen(TQWidget* parent, const TQString &_cmd, bool modal, WFlags fl)
+: MyDialog1(parent,"", modal,fl)
{
setCaption(kapp->makeStdCaption(i18n("MEncoder options")));
m_row=0; m_page=1;
@@ -125,7 +125,7 @@ k9MencoderCmdGen::~k9MencoderCmdGen()
/*$SPECIALIZATION$*/
void k9MencoderCmdGen::listViewCurrentChanged(TQListViewItem *_item) {
- if (_item->tqparent() == NULL)
+ if (_item->parent() == NULL)
wsOptions->raiseWidget(0);
else if (_item->rtti()==1001) {
_k9CheckListItem *item=(_k9CheckListItem*) _item;
@@ -244,20 +244,20 @@ void k9MencoderCmdGen::addInt(TQDomElement _eOpt) {
int iMax=_eOpt.attributeNode("max").value().toInt();
int iDefault=_eOpt.attributeNode("default").value().toInt();
- TQWidget *tqparent;
+ TQWidget *parent;
if (!blist) {
- tqparent=m_grid;
+ parent=m_grid;
} else
- tqparent=m_hbox;
+ parent=m_hbox;
bool bSel=false;
TQDomAttr aSel=_eOpt.attributeNode("selected");
if (!aSel.isNull())
bSel=aSel.value()=="true";
- TQCheckBox *ckLabel=new TQCheckBox(sName,tqparent,TQString("ck%1").tqarg(m_row++) );
+ TQCheckBox *ckLabel=new TQCheckBox(sName,parent,TQString("ck%1").tqarg(m_row++) );
ckLabel->setChecked(bSel);
- ckLabel->setBackgroundColor(tqparent->backgroundColor());
+ ckLabel->setBackgroundColor(parent->backgroundColor());
if ( !_eOpt.attributeNode("description").isNull()) {
TQToolTip::add(ckLabel,_eOpt.attributeNode("description").value());
@@ -266,7 +266,7 @@ void k9MencoderCmdGen::addInt(TQDomElement _eOpt) {
_eOpt.setAttribute("checkbox",ckLabel->name());
- KIntSpinBox *sb= new KIntSpinBox(iMin,iMax,1,iDefault,10,tqparent,TQString("int%1").tqarg(m_row++));
+ KIntSpinBox *sb= new KIntSpinBox(iMin,iMax,1,iDefault,10,parent,TQString("int%1").tqarg(m_row++));
if (iMax <1000)
sb->setFixedWidth(50);
else
@@ -292,16 +292,16 @@ void k9MencoderCmdGen::addFloat(TQDomElement _eOpt) {
if (_eOpt.nodeName()=="subopt")
blist=true;
- TQWidget *tqparent;
+ TQWidget *parent;
if (!blist) {
- tqparent=m_grid;
+ parent=m_grid;
} else
- tqparent=m_hbox;
+ parent=m_hbox;
TQDomAttr aSel=_eOpt.attributeNode("selected");
if (!aSel.isNull())
bSel=aSel.value()=="true";
- TQCheckBox *ckLabel=new TQCheckBox(sName,tqparent,TQString("ck%1").tqarg(m_row++));
+ TQCheckBox *ckLabel=new TQCheckBox(sName,parent,TQString("ck%1").tqarg(m_row++));
ckLabel->setChecked(bSel);
if ( !_eOpt.attributeNode("description").isNull()) {
TQToolTip::add(ckLabel,_eOpt.attributeNode("description").value());
@@ -317,7 +317,7 @@ void k9MencoderCmdGen::addFloat(TQDomElement _eOpt) {
if (!_eOpt.attributeNode("precision").isNull()) {
iPrecision=_eOpt.attributeNode("precision").value().toInt();
}
- KDoubleSpinBox *sb= new KDoubleSpinBox(dMin,dMax,dStep,dDefault,iPrecision,tqparent,TQString("float%1").tqarg(m_row++));
+ KDoubleSpinBox *sb= new KDoubleSpinBox(dMin,dMax,dStep,dDefault,iPrecision,parent,TQString("float%1").tqarg(m_row++));
if (dMax <1000)
sb->setFixedWidth(80);
else
@@ -336,23 +336,23 @@ void k9MencoderCmdGen::addBool(TQDomElement _eOpt) {
blist=true;
bool bSel=false;
- TQWidget *tqparent;
+ TQWidget *parent;
if (!blist) {
- tqparent = m_grid;
+ parent = m_grid;
} else
- tqparent = m_hbox;
+ parent = m_hbox;
TQDomAttr aSel=_eOpt.attributeNode("selected");
if (!aSel.isNull())
bSel=aSel.value()=="true";
- TQCheckBox *ckLabel=new TQCheckBox(sName,tqparent,TQString("ck%1").tqarg(m_row++));
+ TQCheckBox *ckLabel=new TQCheckBox(sName,parent,TQString("ck%1").tqarg(m_row++));
if ( !_eOpt.attributeNode("description").isNull()) {
TQToolTip::add(ckLabel,_eOpt.attributeNode("description").value());
TQWhatsThis::add(ckLabel,_eOpt.attributeNode("description").value());
}
- TQWidget *w=new TQWidget(tqparent);
+ TQWidget *w=new TQWidget(parent);
if ((_eOpt.attributeNode("default").value()=="true") && bSel)
ckLabel->setChecked(true);
@@ -368,18 +368,18 @@ void k9MencoderCmdGen::addString(TQDomElement _eOpt) {
blist=true;
TQString sDefault=_eOpt.attributeNode("default").value();
- TQWidget *tqparent;
+ TQWidget *parent;
if( !blist) {
- tqparent=m_grid;
+ parent=m_grid;
} else
- tqparent=m_hbox;
+ parent=m_hbox;
bool bSel=false;
TQDomAttr aSel=_eOpt.attributeNode("selected");
if (!aSel.isNull())
bSel=aSel.value()=="true";
- TQCheckBox *ckLabel=new TQCheckBox(sName,tqparent,TQString("ck%1").tqarg(m_row++));
+ TQCheckBox *ckLabel=new TQCheckBox(sName,parent,TQString("ck%1").tqarg(m_row++));
ckLabel->setChecked(bSel);
if ( !_eOpt.attributeNode("description").isNull()) {
TQToolTip::add(ckLabel,_eOpt.attributeNode("description").value());
@@ -387,7 +387,7 @@ void k9MencoderCmdGen::addString(TQDomElement _eOpt) {
}
_eOpt.setAttribute("checkbox",ckLabel->name());
- TQComboBox *cb=new TQComboBox(tqparent,TQString("string%1").tqarg(m_row++));
+ TQComboBox *cb=new TQComboBox(parent,TQString("string%1").tqarg(m_row++));
TQDomNodeList values=_eOpt.elementsByTagName("value");
int def=0;
diff --git a/src/k9mencodercmdgen.h b/src/k9mencodercmdgen.h
index f13e3a0..37ae9cd 100644
--- a/src/k9mencodercmdgen.h
+++ b/src/k9mencodercmdgen.h
@@ -28,7 +28,7 @@ class k9MencoderCmdGen : public MyDialog1
TQ_OBJECT
public:
- k9MencoderCmdGen(TQWidget* tqparent, const TQString &_cmd, bool modal = FALSE, WFlags fl = 0 );
+ k9MencoderCmdGen(TQWidget* parent, const TQString &_cmd, bool modal = FALSE, WFlags fl = 0 );
~k9MencoderCmdGen();
/*$PUBLIC_FUNCTIONS$*/
static bool getMencoderOptions(TQString &_cmd);
diff --git a/src/k9mp4title.cpp b/src/k9mp4title.cpp
index e4cf7d6..606e508 100644
--- a/src/k9mp4title.cpp
+++ b/src/k9mp4title.cpp
@@ -26,8 +26,8 @@
#include <tqtabwidget.h>
#include <tqradiobutton.h>
-k9MP4Title::k9MP4Title(TQWidget* tqparent, const char* name, WFlags fl)
-: prefMPEG4(tqparent,name,fl)
+k9MP4Title::k9MP4Title(TQWidget* parent, const char* name, WFlags fl)
+: prefMPEG4(parent,name,fl)
{
m_titleEncOpt=NULL;
load();
diff --git a/src/k9mp4title.h b/src/k9mp4title.h
index 63bda0f..b54d793 100644
--- a/src/k9mp4title.h
+++ b/src/k9mp4title.h
@@ -25,7 +25,7 @@ class k9MP4Title : public prefMPEG4
TQ_OBJECT
public:
- k9MP4Title(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9MP4Title(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9MP4Title();
/*$PUBLIC_FUNCTIONS$*/
private:
diff --git a/src/k9playbackoptions.cpp b/src/k9playbackoptions.cpp
index 846daba..a4f197d 100644
--- a/src/k9playbackoptions.cpp
+++ b/src/k9playbackoptions.cpp
@@ -16,8 +16,8 @@
#include <kpushbutton.h>
#include <kiconloader.h>
-k9PlaybackOptions::k9PlaybackOptions(k9Main *mainWindow, TQWidget* tqparent, const char* name, WFlags fl)
-: PlaybackOptionsw(tqparent,name,fl)
+k9PlaybackOptions::k9PlaybackOptions(k9Main *mainWindow, TQWidget* parent, const char* name, WFlags fl)
+: PlaybackOptionsw(parent,name,fl)
{
setMain( mainWindow);
diff --git a/src/k9playbackoptions.h b/src/k9playbackoptions.h
index 2d5dba5..b356797 100644
--- a/src/k9playbackoptions.h
+++ b/src/k9playbackoptions.h
@@ -44,7 +44,7 @@ class k9PlaybackOptions : public PlaybackOptionsw
TQ_OBJECT
public:
- k9PlaybackOptions(k9Main *mainWindow,TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9PlaybackOptions(k9Main *mainWindow,TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9PlaybackOptions();
/*$PUBLIC_FUNCTIONS$*/
void fillTitleList();
diff --git a/src/k9prefauthor.cpp b/src/k9prefauthor.cpp
index 9dd14ea..a3f9f4c 100644
--- a/src/k9prefauthor.cpp
+++ b/src/k9prefauthor.cpp
@@ -17,8 +17,8 @@
#include <kcolorbutton.h>
#include <kfontdialog.h>
-k9prefAuthor::k9prefAuthor(TQWidget* tqparent, const char* name, WFlags fl)
-: prefAuthor(tqparent,name,fl)
+k9prefAuthor::k9prefAuthor(TQWidget* parent, const char* name, WFlags fl)
+: prefAuthor(parent,name,fl)
{
load();
}
diff --git a/src/k9prefauthor.h b/src/k9prefauthor.h
index 7581bf3..b59747d 100644
--- a/src/k9prefauthor.h
+++ b/src/k9prefauthor.h
@@ -22,7 +22,7 @@ class k9prefAuthor : public prefAuthor
TQ_OBJECT
public:
- k9prefAuthor(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9prefAuthor(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9prefAuthor();
/*$PUBLIC_FUNCTIONS$*/
void load();
diff --git a/src/k9prefdvd.cpp b/src/k9prefdvd.cpp
index 889a83f..03aca00 100644
--- a/src/k9prefdvd.cpp
+++ b/src/k9prefdvd.cpp
@@ -19,8 +19,8 @@
#include <tqspinbox.h>
#include <klocale.h>
-k9prefDVD::k9prefDVD(TQWidget* tqparent, const char* name, WFlags fl)
-: prefDVD(tqparent,name,fl)
+k9prefDVD::k9prefDVD(TQWidget* parent, const char* name, WFlags fl)
+: prefDVD(parent,name,fl)
{
k9Config config;
urOutput->setMode(2);
diff --git a/src/k9prefdvd.h b/src/k9prefdvd.h
index 3668d79..42b9f6d 100644
--- a/src/k9prefdvd.h
+++ b/src/k9prefdvd.h
@@ -21,7 +21,7 @@ class k9prefDVD : public prefDVD
TQ_OBJECT
public:
- k9prefDVD(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9prefDVD(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9prefDVD();
/*$PUBLIC_FUNCTIONS$*/
void save();
diff --git a/src/k9prefmencoder.cpp b/src/k9prefmencoder.cpp
index d4594fe..0bf4d21 100644
--- a/src/k9prefmencoder.cpp
+++ b/src/k9prefmencoder.cpp
@@ -19,8 +19,8 @@
#include <kiconloader.h>
#include <klocale.h>
-k9prefMencoder::k9prefMencoder(TQWidget* tqparent, const char* name, WFlags fl)
-: prefMencoder(tqparent,name,fl)
+k9prefMencoder::k9prefMencoder(TQWidget* parent, const char* name, WFlags fl)
+: prefMencoder(parent,name,fl)
{
m_update=false;
load();
diff --git a/src/k9prefmencoder.h b/src/k9prefmencoder.h
index 308ecf5..0e3456f 100644
--- a/src/k9prefmencoder.h
+++ b/src/k9prefmencoder.h
@@ -27,7 +27,7 @@ class k9prefMencoder : public prefMencoder
TQ_OBJECT
public:
- k9prefMencoder(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9prefMencoder(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9prefMencoder();
/*$PUBLIC_FUNCTIONS$*/
void save(void);
diff --git a/src/k9prefmpeg4.cpp b/src/k9prefmpeg4.cpp
index b61d40d..d716ffe 100644
--- a/src/k9prefmpeg4.cpp
+++ b/src/k9prefmpeg4.cpp
@@ -21,8 +21,8 @@
#include <klocale.h>
#include <tqradiobutton.h>
-k9prefMPEG4::k9prefMPEG4(TQWidget* tqparent, const char* name, WFlags fl)
-: prefMPEG4(tqparent,name,fl)
+k9prefMPEG4::k9prefMPEG4(TQWidget* parent, const char* name, WFlags fl)
+: prefMPEG4(parent,name,fl)
{
load();
}
diff --git a/src/k9prefmpeg4.h b/src/k9prefmpeg4.h
index 5ac285f..99a58c4 100644
--- a/src/k9prefmpeg4.h
+++ b/src/k9prefmpeg4.h
@@ -21,7 +21,7 @@ class k9prefMPEG4 : public prefMPEG4
TQ_OBJECT
public:
- k9prefMPEG4(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9prefMPEG4(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9prefMPEG4();
/*$PUBLIC_FUNCTIONS$*/
void save();
diff --git a/src/k9prefpreview.cpp b/src/k9prefpreview.cpp
index 19bff88..bff816b 100644
--- a/src/k9prefpreview.cpp
+++ b/src/k9prefpreview.cpp
@@ -19,8 +19,8 @@
#include <tqcheckbox.h>
#include <klocale.h>
-k9prefPreview::k9prefPreview(TQWidget* tqparent, const char* name, WFlags fl)
-: prefPreview(tqparent,name,fl)
+k9prefPreview::k9prefPreview(TQWidget* parent, const char* name, WFlags fl)
+: prefPreview(parent,name,fl)
{ load();
}
diff --git a/src/k9prefpreview.h b/src/k9prefpreview.h
index 264b5a6..4027fd9 100644
--- a/src/k9prefpreview.h
+++ b/src/k9prefpreview.h
@@ -22,7 +22,7 @@ class k9prefPreview : public prefPreview
TQ_OBJECT
public:
- k9prefPreview(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9prefPreview(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9prefPreview();
/*$PUBLIC_FUNCTIONS$*/
void save();
diff --git a/src/k9settings.cpp b/src/k9settings.cpp
index bbbb7bc..f3507aa 100644
--- a/src/k9settings.cpp
+++ b/src/k9settings.cpp
@@ -18,7 +18,7 @@
#include <klocale.h>
#include <tqlayout.h>
-k9settings::k9settings(TQWidget *tqparent,const TQString &caption): KDialogBase (IconList,caption,
+k9settings::k9settings(TQWidget *parent,const TQString &caption): KDialogBase (IconList,caption,
Ok|Apply|Cancel, Ok) {
setInitialSize(TQSize(750,350), false);
diff --git a/src/k9settings.h b/src/k9settings.h
index e86ae3c..f43939d 100644
--- a/src/k9settings.h
+++ b/src/k9settings.h
@@ -28,7 +28,7 @@ class k9settings:public KDialogBase{
Q_OBJECT
TQ_OBJECT
public:
- k9settings(TQWidget *tqparent,const TQString &caption);
+ k9settings(TQWidget *parent,const TQString &caption);
virtual ~k9settings();
diff --git a/src/k9titlefactor.cpp b/src/k9titlefactor.cpp
index ffb4add..fbbf337 100644
--- a/src/k9titlefactor.cpp
+++ b/src/k9titlefactor.cpp
@@ -22,8 +22,8 @@
-k9TitleFactor::k9TitleFactor(TQWidget* tqparent, const char* name, WFlags fl)
- : titleFactor(tqparent,name,fl) {
+k9TitleFactor::k9TitleFactor(TQWidget* parent, const char* name, WFlags fl)
+ : titleFactor(parent,name,fl) {
m_current=NULL;
m_slFactorPressed=false;
m_factor=-1;
diff --git a/src/k9titlefactor.h b/src/k9titlefactor.h
index 2c2e961..29466ab 100644
--- a/src/k9titlefactor.h
+++ b/src/k9titlefactor.h
@@ -25,7 +25,7 @@ class k9TitleFactor : public titleFactor
TQ_OBJECT
public:
- k9TitleFactor(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ k9TitleFactor(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~k9TitleFactor();
/*$PUBLIC_FUNCTIONS$*/
private :
diff --git a/src/k9updatefactor.cpp b/src/k9updatefactor.cpp
index 74dba8a..9bd9603 100644
--- a/src/k9updatefactor.cpp
+++ b/src/k9updatefactor.cpp
@@ -11,8 +11,8 @@
//
#include "k9updatefactor.h"
-k9UpdateFactor::k9UpdateFactor(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name), TQThread()
+k9UpdateFactor::k9UpdateFactor(TQObject *parent, const char *name)
+ : TQObject(parent, name), TQThread()
{
}
diff --git a/src/k9updatefactor.h b/src/k9updatefactor.h
index 6cec823..28df90d 100644
--- a/src/k9updatefactor.h
+++ b/src/k9updatefactor.h
@@ -31,7 +31,7 @@ private:
protected:
void run();
public:
- k9UpdateFactor(TQObject *tqparent = 0, const char *name = 0);
+ k9UpdateFactor(TQObject *parent = 0, const char *name = 0);
~k9UpdateFactor();
void updateFactor();
diff --git a/src/kconfigdlg.cpp b/src/kconfigdlg.cpp
index c5527e5..f0a39bb 100644
--- a/src/kconfigdlg.cpp
+++ b/src/kconfigdlg.cpp
@@ -28,8 +28,8 @@
#include <kguiitem.h>
#include "k9config.h"
-kConfigDlg::kConfigDlg(TQWidget *tqparent)
- : configDlg(tqparent)
+kConfigDlg::kConfigDlg(TQWidget *parent)
+ : configDlg(parent)
{
TQStringList ldev;
TQStringList llabels;
diff --git a/src/kconfigdlg.h b/src/kconfigdlg.h
index ce58a0f..6bf098e 100644
--- a/src/kconfigdlg.h
+++ b/src/kconfigdlg.h
@@ -32,7 +32,7 @@
class kConfigDlg : public configDlg
{
public:
- kConfigDlg(TQWidget *tqparent);
+ kConfigDlg(TQWidget *parent);
~kConfigDlg();
void bAddClick();
diff --git a/src/kviewmpeg2.cpp b/src/kviewmpeg2.cpp
index 84008e4..20ca88e 100755
--- a/src/kviewmpeg2.cpp
+++ b/src/kviewmpeg2.cpp
@@ -41,7 +41,7 @@
-k9Widget::k9Widget(TQWidget *tqparent):TQWidget(tqparent) {
+k9Widget::k9Widget(TQWidget *parent):TQWidget(parent) {
m_image=NULL;
}
diff --git a/src/langselectw.cpp b/src/langselectw.cpp
index 8faa67d..283bde1 100644
--- a/src/langselectw.cpp
+++ b/src/langselectw.cpp
@@ -74,11 +74,11 @@ static const unsigned char img0_langselectw[] = {
/*
- * Constructs a langSelect as a child of 'tqparent', with the
+ * Constructs a langSelect as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-langSelect::langSelect( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+langSelect::langSelect( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQImage img;
img.loadFromData( img0_langselectw, sizeof( img0_langselectw ), "PNG" );
diff --git a/src/mencoderCmdGen.cpp b/src/mencoderCmdGen.cpp
index 744e527..bd9addd 100644
--- a/src/mencoderCmdGen.cpp
+++ b/src/mencoderCmdGen.cpp
@@ -24,14 +24,14 @@
#include "kpushbutton.h"
/*
- * Constructs a MyDialog1 as a child of 'tqparent', with the
+ * Constructs a MyDialog1 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.
*/
-MyDialog1::MyDialog1( TQWidget* tqparent, const char* name, bool modal, WFlags fl )
- : TQDialog( tqparent, name, modal, fl )
+MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl )
+ : TQDialog( parent, name, modal, fl )
{
if ( !name )
setName( "MyDialog1" );
diff --git a/src/playbackoptionsw.cpp b/src/playbackoptionsw.cpp
index 66de7d4..56b0f43 100644
--- a/src/playbackoptionsw.cpp
+++ b/src/playbackoptionsw.cpp
@@ -100,11 +100,11 @@ static const unsigned char img0_playbackoptionsw[] = {
/*
- * Constructs a PlaybackOptionsw as a child of 'tqparent', with the
+ * Constructs a PlaybackOptionsw as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-PlaybackOptionsw::PlaybackOptionsw( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQImage img;
img.loadFromData( img0_playbackoptionsw, sizeof( img0_playbackoptionsw ), "PNG" );
diff --git a/src/prefAuthor.cpp b/src/prefAuthor.cpp
index 98d3d36..56f3657 100644
--- a/src/prefAuthor.cpp
+++ b/src/prefAuthor.cpp
@@ -25,11 +25,11 @@
#include "kcolorbutton.h"
/*
- * Constructs a prefAuthor as a child of 'tqparent', with the
+ * Constructs a prefAuthor as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-prefAuthor::prefAuthor( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+prefAuthor::prefAuthor( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "prefAuthor" );
diff --git a/src/prefDVD.cpp b/src/prefDVD.cpp
index 03c81dd..555c835 100644
--- a/src/prefDVD.cpp
+++ b/src/prefDVD.cpp
@@ -22,11 +22,11 @@
#include "kpushbutton.h"
/*
- * Constructs a prefDVD as a child of 'tqparent', with the
+ * Constructs a prefDVD as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-prefDVD::prefDVD( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+prefDVD::prefDVD( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "prefDVD" );
diff --git a/src/prefMPEG4.cpp b/src/prefMPEG4.cpp
index 05540d3..6b4c858 100644
--- a/src/prefMPEG4.cpp
+++ b/src/prefMPEG4.cpp
@@ -89,11 +89,11 @@ static const unsigned char img0_prefMPEG4[] = {
/*
- * Constructs a prefMPEG4 as a child of 'tqparent', with the
+ * Constructs a prefMPEG4 as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-prefMPEG4::prefMPEG4( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQImage img;
img.loadFromData( img0_prefMPEG4, sizeof( img0_prefMPEG4 ), "PNG" );
diff --git a/src/prefMencoder.cpp b/src/prefMencoder.cpp
index 63de9a1..fa9a857 100644
--- a/src/prefMencoder.cpp
+++ b/src/prefMencoder.cpp
@@ -23,11 +23,11 @@
#include "kpushbutton.h"
/*
- * Constructs a prefMencoder as a child of 'tqparent', with the
+ * Constructs a prefMencoder as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-prefMencoder::prefMencoder( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "prefMencoder" );
diff --git a/src/prefpreview.cpp b/src/prefpreview.cpp
index cb2fad6..872d86e 100644
--- a/src/prefpreview.cpp
+++ b/src/prefpreview.cpp
@@ -22,11 +22,11 @@
#include <tqwhatsthis.h>
/*
- * Constructs a prefPreview as a child of 'tqparent', with the
+ * Constructs a prefPreview as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-prefPreview::prefPreview( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "prefPreview" );
diff --git a/src/titlefactor.cpp b/src/titlefactor.cpp
index 0d48c28..774551e 100644
--- a/src/titlefactor.cpp
+++ b/src/titlefactor.cpp
@@ -243,11 +243,11 @@ static const unsigned char img0_titlefactor[] = {
/*
- * Constructs a titleFactor as a child of 'tqparent', with the
+ * Constructs a titleFactor as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-titleFactor::titleFactor( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQImage img;
img.loadFromData( img0_titlefactor, sizeof( img0_titlefactor ), "PNG" );
diff --git a/src/viewmpeg2.cpp b/src/viewmpeg2.cpp
index ae8c0f7..2313976 100644
--- a/src/viewmpeg2.cpp
+++ b/src/viewmpeg2.cpp
@@ -125,11 +125,11 @@ static const unsigned char img2_viewmpeg2[] = {
/*
- * Constructs a ViewMPEG2 as a child of 'tqparent', with the
+ * Constructs a ViewMPEG2 as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
-ViewMPEG2::ViewMPEG2( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+ViewMPEG2::ViewMPEG2( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQImage img;
img.loadFromData( img0_viewmpeg2, sizeof( img0_viewmpeg2 ), "PNG" );