diff options
Diffstat (limited to 'src')
254 files changed, 688 insertions, 688 deletions
diff --git a/src/k3b.cpp b/src/k3b.cpp index f11780b..33fa52a 100644 --- a/src/k3b.cpp +++ b/src/k3b.cpp @@ -776,10 +776,10 @@ bool K3bMainWindow::queryClose() // // // // now here we have the problem that due to the whole TQt event thing the exec call (or // // in this case most likely the startJob call) does not return until we leave this method. -// // That means that the progress dialog might be deleted by it's tqparent below (when we +// // That means that the progress dialog might be deleted by it's parent below (when we // // close docs) before it is deleted by the creator (most likely a projectburndialog). // // That would result in a double deletion and thus a crash. -// // So we just reparent the dialog to 0 here so it's (former) tqparent won't delete it. +// // So we just reparent the dialog to 0 here so it's (former) parent won't delete it. // // // progressDialog->reparent( 0, TQPoint(0,0) ); // } diff --git a/src/k3bappdevicemanager.cpp b/src/k3bappdevicemanager.cpp index 1cf13ae..776df75 100644 --- a/src/k3bappdevicemanager.cpp +++ b/src/k3bappdevicemanager.cpp @@ -31,8 +31,8 @@ #include <kpopupmenu.h> -K3bAppDeviceManager::K3bAppDeviceManager( TQObject* tqparent, const char* name ) - : K3bDevice::DeviceManager( tqparent, name ), +K3bAppDeviceManager::K3bAppDeviceManager( TQObject* parent, const char* name ) + : K3bDevice::DeviceManager( parent, name ), m_currentDevice(0), m_ejectRequested(false) { diff --git a/src/k3bappdevicemanager.h b/src/k3bappdevicemanager.h index 2fe7925..280b271 100644 --- a/src/k3bappdevicemanager.h +++ b/src/k3bappdevicemanager.h @@ -43,7 +43,7 @@ class K3bAppDeviceManager : public K3bDevice::DeviceManager TQ_OBJECT public: - K3bAppDeviceManager( TQObject* tqparent = 0, const char* name = 0 ); + K3bAppDeviceManager( TQObject* parent = 0, const char* name = 0 ); ~K3bAppDeviceManager(); K3bDevice::Device* currentDevice() const; diff --git a/src/k3bapplication.cpp b/src/k3bapplication.cpp index 73fd5fb..b9640bc 100644 --- a/src/k3bapplication.cpp +++ b/src/k3bapplication.cpp @@ -315,8 +315,8 @@ void K3bApplication::slotShutDown() -K3bApplication::Core::Core( TQObject* tqparent ) - : K3bCore( tqparent ), +K3bApplication::Core::Core( TQObject* parent ) + : K3bCore( parent ), m_appDeviceManager(0), m_mediaCache(0) { @@ -424,7 +424,7 @@ bool K3bApplication::Core::internalBlockDevice( K3bDevice::Device* dev ) // // Check if the device is in use // - // FIXME: Use the top level widget as tqparent + // FIXME: Use the top level widget as parent K3bLsofWrapperDialog::checkDevice( dev ); return true; diff --git a/src/k3bapplication.h b/src/k3bapplication.h index 0f64201..ffee2b0 100644 --- a/src/k3bapplication.h +++ b/src/k3bapplication.h @@ -79,7 +79,7 @@ class K3bApplication::Core : public K3bCore TQ_OBJECT public: - Core( TQObject* tqparent ); + Core( TQObject* parent ); ~Core(); void init(); diff --git a/src/k3baudioplayer.cpp b/src/k3baudioplayer.cpp index 6f44693..5832940 100644 --- a/src/k3baudioplayer.cpp +++ b/src/k3baudioplayer.cpp @@ -49,16 +49,16 @@ using namespace std; -K3bPlayListViewItem::K3bPlayListViewItem( const TQString& filename, TQListView* tqparent ) - : KListViewItem( tqparent ), m_filename( filename ) +K3bPlayListViewItem::K3bPlayListViewItem( const TQString& filename, TQListView* parent ) + : KListViewItem( parent ), m_filename( filename ) { m_length = 0; m_bActive = false; } -K3bPlayListViewItem::K3bPlayListViewItem( const TQString& filename, TQListView* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ), m_filename( filename ) +K3bPlayListViewItem::K3bPlayListViewItem( const TQString& filename, TQListView* parent, TQListViewItem* after ) + : KListViewItem( parent, after ), m_filename( filename ) { m_length = 0; m_bActive = false; @@ -110,8 +110,8 @@ void K3bPlayListViewItem::paintCell( TQPainter* p, const TQColorGroup& cg, int c } -K3bPlayListView::K3bPlayListView( TQWidget* tqparent, const char* name ) - : KListView( tqparent, name ) +K3bPlayListView::K3bPlayListView( TQWidget* parent, const char* name ) + : KListView( parent, name ) { addColumn( i18n("Filename") ); addColumn( i18n("Length") ); @@ -154,8 +154,8 @@ TQDragObject* K3bPlayListView::dragObject() } -K3bAudioPlayer::K3bAudioPlayer( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ) +K3bAudioPlayer::K3bAudioPlayer( TQWidget* parent, const char* name ) + : TQWidget( parent, name ) #ifdef WITH_ARTS , m_playObject( Arts::PlayObject::null() ) #endif diff --git a/src/k3baudioplayer.h b/src/k3baudioplayer.h index 9a4f0f0..1e32602 100644 --- a/src/k3baudioplayer.h +++ b/src/k3baudioplayer.h @@ -45,8 +45,8 @@ class KActionMenu; class K3bPlayListViewItem : public KListViewItem { public: - K3bPlayListViewItem( const TQString&, TQListView* tqparent ); - K3bPlayListViewItem( const TQString&, TQListView* tqparent, TQListViewItem* after ); + K3bPlayListViewItem( const TQString&, TQListView* parent ); + K3bPlayListViewItem( const TQString&, TQListView* parent, TQListViewItem* after ); ~K3bPlayListViewItem(); /** @returns the filename for the first column and the @@ -88,7 +88,7 @@ Q_OBJECT TQ_OBJECT public: - K3bPlayListView( TQWidget* tqparent = 0, const char* name = 0 ); + K3bPlayListView( TQWidget* parent = 0, const char* name = 0 ); ~K3bPlayListView(); protected: @@ -108,7 +108,7 @@ Q_OBJECT TQ_OBJECT public: - K3bAudioPlayer( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioPlayer( TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioPlayer(); bool supportsMimetype( const TQString& mimetype ); diff --git a/src/k3bburnprogressdialog.cpp b/src/k3bburnprogressdialog.cpp index 32be32c..e6dcc55 100644 --- a/src/k3bburnprogressdialog.cpp +++ b/src/k3bburnprogressdialog.cpp @@ -33,9 +33,9 @@ #include <tqframe.h> -K3bBurnProgressDialog::K3bBurnProgressDialog( TQWidget *tqparent, const char *name, bool showSubProgress, +K3bBurnProgressDialog::K3bBurnProgressDialog( TQWidget *parent, const char *name, bool showSubProgress, bool modal, WFlags wf ) - : K3bJobProgressDialog(tqparent,name, showSubProgress, modal, wf) + : K3bJobProgressDialog(parent,name, showSubProgress, modal, wf) { m_labelWritingSpeed = new TQLabel( m_frameExtraInfo, "m_labelWritingSpeed" ); // m_labelWritingSpeed->tqsetAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) ); diff --git a/src/k3bburnprogressdialog.h b/src/k3bburnprogressdialog.h index 11a0afb..2b7efb0 100644 --- a/src/k3bburnprogressdialog.h +++ b/src/k3bburnprogressdialog.h @@ -33,7 +33,7 @@ class K3bBurnProgressDialog : public K3bJobProgressDialog { TQ_OBJECT public: - K3bBurnProgressDialog( TQWidget* tqparent = 0, const char* name = 0, bool showSubProgress = true, + K3bBurnProgressDialog( TQWidget* parent = 0, const char* name = 0, bool showSubProgress = true, bool modal = true, WFlags = 0 ); ~K3bBurnProgressDialog(); diff --git a/src/k3bcontentsview.cpp b/src/k3bcontentsview.cpp index 536fa53..2cafbf2 100644 --- a/src/k3bcontentsview.cpp +++ b/src/k3bcontentsview.cpp @@ -23,9 +23,9 @@ K3bContentsView::K3bContentsView( bool withHeader, - TQWidget* tqparent, + TQWidget* parent, const char* name ) - : TQWidget( tqparent, name ), + : TQWidget( parent, name ), m_header(0), m_centerWidget(0) { diff --git a/src/k3bcontentsview.h b/src/k3bcontentsview.h index 48c4751..dabc80a 100644 --- a/src/k3bcontentsview.h +++ b/src/k3bcontentsview.h @@ -33,7 +33,7 @@ class K3bContentsView : public TQWidget protected: K3bContentsView( bool withHeader, - TQWidget* tqparent = 0, + TQWidget* parent = 0, const char* name = 0 ); TQWidget* mainWidget(); diff --git a/src/k3bdatamodewidget.cpp b/src/k3bdatamodewidget.cpp index 6072ebd..7b10ff6 100644 --- a/src/k3bdatamodewidget.cpp +++ b/src/k3bdatamodewidget.cpp @@ -28,8 +28,8 @@ static const int s_mode1Index = 1; static const int s_mode2Index = 2; -K3bDataModeWidget::K3bDataModeWidget( TQWidget* tqparent, const char* name ) - : TQComboBox( false, tqparent, name ) +K3bDataModeWidget::K3bDataModeWidget( TQWidget* parent, const char* name ) + : TQComboBox( false, parent, name ) { insertItem( i18n("Auto"), s_autoIndex ); insertItem( i18n("Mode1"), s_mode1Index ); diff --git a/src/k3bdatamodewidget.h b/src/k3bdatamodewidget.h index e5277c9..b072675 100644 --- a/src/k3bdatamodewidget.h +++ b/src/k3bdatamodewidget.h @@ -29,7 +29,7 @@ class K3bDataModeWidget : public TQComboBox TQ_OBJECT public: - K3bDataModeWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataModeWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bDataModeWidget(); /** diff --git a/src/k3bdataprojectinterface.cpp b/src/k3bdataprojectinterface.cpp index d1773e4..3a115e5 100644 --- a/src/k3bdataprojectinterface.cpp +++ b/src/k3bdataprojectinterface.cpp @@ -38,9 +38,9 @@ bool K3bDataProjectInterface::createFolder( const TQString& name ) } -bool K3bDataProjectInterface::createFolder( const TQString& name, const TQString& tqparent ) +bool K3bDataProjectInterface::createFolder( const TQString& name, const TQString& parent ) { - K3bDataItem* p = m_dataDoc->root()->findByPath( tqparent ); + K3bDataItem* p = m_dataDoc->root()->findByPath( parent ); if( p && p->isDir() && !static_cast<K3bDirItem*>(p)->find( name ) ) { m_dataDoc->addEmptyDir( name, static_cast<K3bDirItem*>(p) ); return true; @@ -49,15 +49,15 @@ bool K3bDataProjectInterface::createFolder( const TQString& name, const TQString } -void K3bDataProjectInterface::addUrl( const TQString& url, const TQString& tqparent ) +void K3bDataProjectInterface::addUrl( const TQString& url, const TQString& parent ) { - addUrls( TQStringList(url), tqparent ); + addUrls( TQStringList(url), parent ); } -void K3bDataProjectInterface::addUrls( const TQStringList& urls, const TQString& tqparent ) +void K3bDataProjectInterface::addUrls( const TQStringList& urls, const TQString& parent ) { - K3bDataItem* p = m_dataDoc->root()->findByPath( tqparent ); + K3bDataItem* p = m_dataDoc->root()->findByPath( parent ); if( p && p->isDir() ) m_dataDoc->addUrls( KURL::List(urls), static_cast<K3bDirItem*>(p) ); } diff --git a/src/k3bdataprojectinterface.h b/src/k3bdataprojectinterface.h index c4edfd8..0cc9229 100644 --- a/src/k3bdataprojectinterface.h +++ b/src/k3bdataprojectinterface.h @@ -41,16 +41,16 @@ class K3bDataProjectInterface : public K3bProjectInterface /** * Create a new folder with name @p name in the folder with the - * absolute path @p tqparent. + * absolute path @p parent. * * \return true if the folder was created successfully, false if - * an item with the same name already exists or the tqparent + * an item with the same name already exists or the parent * directory could not be found. * * Example: createFolder( "test", "/foo/bar" ) will create the * folder /foo/bar/test. */ - bool createFolder( const TQString& name, const TQString& tqparent ); + bool createFolder( const TQString& name, const TQString& parent ); /** * Add urls to a specific folder in the project. @@ -58,9 +58,9 @@ class K3bDataProjectInterface : public K3bProjectInterface * Example: addUrl( "test.txt", "/foo/bar" ) will add the file test.txt * to folder /foo/bar. */ - void addUrl( const TQString& url, const TQString& tqparent ); + void addUrl( const TQString& url, const TQString& parent ); - void addUrls( const TQStringList& urls, const TQString& tqparent ); + void addUrls( const TQStringList& urls, const TQString& parent ); /** * Remove an item diff --git a/src/k3bdebuggingoutputdialog.cpp b/src/k3bdebuggingoutputdialog.cpp index b497654..956f927 100644 --- a/src/k3bdebuggingoutputdialog.cpp +++ b/src/k3bdebuggingoutputdialog.cpp @@ -35,8 +35,8 @@ #include <kmessagebox.h> -K3bDebuggingOutputDialog::K3bDebuggingOutputDialog( TQWidget* tqparent ) - : KDialogBase( tqparent, "debugViewDialog", true, i18n("Debugging Output"), Close|User1|User2, Close, +K3bDebuggingOutputDialog::K3bDebuggingOutputDialog( TQWidget* parent ) + : KDialogBase( parent, "debugViewDialog", true, i18n("Debugging Output"), Close|User1|User2, Close, false, KStdGuiItem::saveAs(), KGuiItem( i18n("Copy"), "editcopy" ) ) diff --git a/src/k3bdebuggingoutputdialog.h b/src/k3bdebuggingoutputdialog.h index 6f335a6..485e4c2 100644 --- a/src/k3bdebuggingoutputdialog.h +++ b/src/k3bdebuggingoutputdialog.h @@ -27,7 +27,7 @@ class K3bDebuggingOutputDialog : public KDialogBase TQ_OBJECT public: - K3bDebuggingOutputDialog( TQWidget* tqparent ); + K3bDebuggingOutputDialog( TQWidget* parent ); public slots: void setOutput( const TQMap<TQString, TQStringList>& ); diff --git a/src/k3bdiroperator.cpp b/src/k3bdiroperator.cpp index 0f0b739..c498285 100644 --- a/src/k3bdiroperator.cpp +++ b/src/k3bdiroperator.cpp @@ -31,8 +31,8 @@ #include <tqdir.h> -K3bDirOperator::K3bDirOperator(const KURL& url, TQWidget* tqparent, const char* name ) - : KDirOperator( url, tqparent, name ) +K3bDirOperator::K3bDirOperator(const KURL& url, TQWidget* parent, const char* name ) + : KDirOperator( url, parent, name ) { setViewConfig( k3bcore->config(), "file view" ); setMode( KFile::Files ); diff --git a/src/k3bdiroperator.h b/src/k3bdiroperator.h index eb695d7..37034f1 100644 --- a/src/k3bdiroperator.h +++ b/src/k3bdiroperator.h @@ -36,7 +36,7 @@ class K3bDirOperator : public KDirOperator, public KBookmarkOwner TQ_OBJECT public: - K3bDirOperator( const KURL& urlName = KURL(), TQWidget* tqparent = 0, const char* name = 0 ); + K3bDirOperator( const KURL& urlName = KURL(), TQWidget* parent = 0, const char* name = 0 ); ~K3bDirOperator(); /** diff --git a/src/k3bdirview.cpp b/src/k3bdirview.cpp index d2ab1e4..50c69b0 100644 --- a/src/k3bdirview.cpp +++ b/src/k3bdirview.cpp @@ -90,8 +90,8 @@ public: -K3bDirView::K3bDirView(K3bFileTreeView* treeView, TQWidget *tqparent, const char *name ) - : TQVBox(tqparent, name), +K3bDirView::K3bDirView(K3bFileTreeView* treeView, TQWidget *parent, const char *name ) + : TQVBox(parent, name), m_fileTreeView(treeView), m_bViewDiskInfo(false) { diff --git a/src/k3bdirview.h b/src/k3bdirview.h index e13899c..c818f82 100644 --- a/src/k3bdirview.h +++ b/src/k3bdirview.h @@ -55,7 +55,7 @@ class K3bDirView : public TQVBox TQ_OBJECT public: - K3bDirView(K3bFileTreeView* tree, TQWidget *tqparent=0, const char *name=0); + K3bDirView(K3bFileTreeView* tree, TQWidget *parent=0, const char *name=0); ~K3bDirView(); public slots: diff --git a/src/k3bdiskinfoview.cpp b/src/k3bdiskinfoview.cpp index bb32911..028e020 100644 --- a/src/k3bdiskinfoview.cpp +++ b/src/k3bdiskinfoview.cpp @@ -51,22 +51,22 @@ class K3bDiskInfoView::HeaderViewItem : public KListViewItem { public: - HeaderViewItem( TQListView* tqparent ) - : KListViewItem( tqparent ) {} - HeaderViewItem( TQListViewItem* tqparent ) - : KListViewItem( tqparent ) {} - HeaderViewItem( TQListView* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ) {} - HeaderViewItem( TQListViewItem* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ) {} - HeaderViewItem( TQListView* tqparent, const TQString& t1 ) - : KListViewItem( tqparent, t1 ) {} - HeaderViewItem( TQListViewItem* tqparent, const TQString& t1 ) - : KListViewItem( tqparent, t1 ) {} - HeaderViewItem( TQListView* tqparent, TQListViewItem* after, const TQString& t1 ) - : KListViewItem( tqparent, after, t1 ) {} - HeaderViewItem( TQListViewItem* tqparent, TQListViewItem* after, const TQString& t1 ) - : KListViewItem( tqparent, after, t1 ) {} + HeaderViewItem( TQListView* parent ) + : KListViewItem( parent ) {} + HeaderViewItem( TQListViewItem* parent ) + : KListViewItem( parent ) {} + HeaderViewItem( TQListView* parent, TQListViewItem* after ) + : KListViewItem( parent, after ) {} + HeaderViewItem( TQListViewItem* parent, TQListViewItem* after ) + : KListViewItem( parent, after ) {} + HeaderViewItem( TQListView* parent, const TQString& t1 ) + : KListViewItem( parent, t1 ) {} + HeaderViewItem( TQListViewItem* parent, const TQString& t1 ) + : KListViewItem( parent, t1 ) {} + HeaderViewItem( TQListView* parent, TQListViewItem* after, const TQString& t1 ) + : KListViewItem( parent, after, t1 ) {} + HeaderViewItem( TQListViewItem* parent, TQListViewItem* after, const TQString& t1 ) + : KListViewItem( parent, after, t1 ) {} void paintCell( TQPainter* p, const TQColorGroup & cg, int column, int width, int align ) { @@ -81,22 +81,22 @@ public: class K3bDiskInfoView::TwoColumnViewItem : public KListViewItem { public: - TwoColumnViewItem( TQListView* tqparent ) - : KListViewItem( tqparent ) {} - TwoColumnViewItem( TQListViewItem* tqparent ) - : KListViewItem( tqparent ) {} - TwoColumnViewItem( TQListView* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ) {} - TwoColumnViewItem( TQListViewItem* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ) {} - TwoColumnViewItem( TQListView* tqparent, const TQString& t1 ) - : KListViewItem( tqparent, t1 ) {} - TwoColumnViewItem( TQListViewItem* tqparent, const TQString& t1 ) - : KListViewItem( tqparent, t1 ) {} - TwoColumnViewItem( TQListView* tqparent, TQListViewItem* after, const TQString& t1 ) - : KListViewItem( tqparent, after, t1 ) {} - TwoColumnViewItem( TQListViewItem* tqparent, TQListViewItem* after, const TQString& t1 ) - : KListViewItem( tqparent, after, t1 ) {} + TwoColumnViewItem( TQListView* parent ) + : KListViewItem( parent ) {} + TwoColumnViewItem( TQListViewItem* parent ) + : KListViewItem( parent ) {} + TwoColumnViewItem( TQListView* parent, TQListViewItem* after ) + : KListViewItem( parent, after ) {} + TwoColumnViewItem( TQListViewItem* parent, TQListViewItem* after ) + : KListViewItem( parent, after ) {} + TwoColumnViewItem( TQListView* parent, const TQString& t1 ) + : KListViewItem( parent, t1 ) {} + TwoColumnViewItem( TQListViewItem* parent, const TQString& t1 ) + : KListViewItem( parent, t1 ) {} + TwoColumnViewItem( TQListView* parent, TQListViewItem* after, const TQString& t1 ) + : KListViewItem( parent, after, t1 ) {} + TwoColumnViewItem( TQListViewItem* parent, TQListViewItem* after, const TQString& t1 ) + : KListViewItem( parent, after, t1 ) {} void paintCell( TQPainter* p, const TQColorGroup & cg, int column, int width, int align ) { @@ -124,12 +124,12 @@ public: -K3bDiskInfoView::K3bDiskInfoView( TQWidget* tqparent, const char* name ) +K3bDiskInfoView::K3bDiskInfoView( TQWidget* parent, const char* name ) : K3bMediaContentsView( true, K3bMedium::CONTENT_ALL, K3bDevice::MEDIA_ALL|K3bDevice::MEDIA_UNKNOWN, K3bDevice::STATE_EMPTY|K3bDevice::STATE_INCOMPLETE|K3bDevice::STATE_COMPLETE|K3bDevice::STATE_UNKNOWN, - tqparent, name ) + parent, name ) { m_infoView = new KListView( this ); setMainWidget( m_infoView ); @@ -247,7 +247,7 @@ void K3bDiskInfoView::reloadMedium() lastSession = track.session(); trackItem->setOpen(true); trackItem = new HeaderViewItem( trackHeaderItem, - m_infoView->lastItem()->tqparent(), + m_infoView->lastItem()->parent(), i18n("Session %1").tqarg(lastSession) ); } diff --git a/src/k3bdiskinfoview.h b/src/k3bdiskinfoview.h index d5cf3a8..e86588c 100644 --- a/src/k3bdiskinfoview.h +++ b/src/k3bdiskinfoview.h @@ -36,7 +36,7 @@ class K3bDiskInfoView : public K3bMediaContentsView TQ_OBJECT public: - K3bDiskInfoView( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDiskInfoView( TQWidget* parent = 0, const char* name = 0 ); ~K3bDiskInfoView(); void enableInteraction( bool enable ); diff --git a/src/k3bemptydiscwaiter.cpp b/src/k3bemptydiscwaiter.cpp index a361994..619db8c 100644 --- a/src/k3bemptydiscwaiter.cpp +++ b/src/k3bemptydiscwaiter.cpp @@ -84,10 +84,10 @@ public: -K3bEmptyDiscWaiter::K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* tqparent, const char* name ) +K3bEmptyDiscWaiter::K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* parent, const char* name ) : KDialogBase( KDialogBase::Plain, i18n("Waiting for Disk"), KDialogBase::Cancel|KDialogBase::User1|KDialogBase::User2|KDialogBase::User3, - KDialogBase::User3, tqparent, name, true, true, i18n("Force"), i18n("Eject"), i18n("Load") ) + KDialogBase::User3, parent, name, true, true, i18n("Force"), i18n("Eject"), i18n("Load") ) { d = new Private(); d->device = device; @@ -683,9 +683,9 @@ void K3bEmptyDiscWaiter::slotReloadingAfterErasingFinished( K3bDevice::DeviceHan } -int K3bEmptyDiscWaiter::wait( K3bDevice::Device* device, bool appendable, int mediaType, TQWidget* tqparent ) +int K3bEmptyDiscWaiter::wait( K3bDevice::Device* device, bool appendable, int mediaType, TQWidget* parent ) { - K3bEmptyDiscWaiter d( device, tqparent ? tqparent : TQT_TQWIDGET(tqApp->activeWindow()) ); + K3bEmptyDiscWaiter d( device, parent ? parent : TQT_TQWIDGET(tqApp->activeWindow()) ); int mediaState = K3bDevice::STATE_EMPTY; if( appendable ) mediaState |= K3bDevice::STATE_INCOMPLETE; return d.waitForDisc( mediaState, mediaType ); @@ -696,16 +696,16 @@ int K3bEmptyDiscWaiter::wait( K3bDevice::Device* device, int mediaState, int mediaType, const TQString& message, - TQWidget* tqparent ) + TQWidget* parent ) { - K3bEmptyDiscWaiter d( device, tqparent ? tqparent : TQT_TQWIDGET(tqApp->activeWindow()) ); + K3bEmptyDiscWaiter d( device, parent ? parent : TQT_TQWIDGET(tqApp->activeWindow()) ); return d.waitForDisc( mediaState, mediaType, message ); } void K3bEmptyDiscWaiter::prepareErasingDialog() { - // we hide the emptydiskwaiter so the info dialog needs to have the same tqparent + // we hide the emptydiskwaiter so the info dialog needs to have the same parent if( !d->erasingInfoDialog ) d->erasingInfoDialog = new K3bProgressDialog( TQString(), parentWidget() ); diff --git a/src/k3bemptydiscwaiter.h b/src/k3bemptydiscwaiter.h index 3d3f55c..865ff12 100644 --- a/src/k3bemptydiscwaiter.h +++ b/src/k3bemptydiscwaiter.h @@ -84,7 +84,7 @@ class K3bEmptyDiscWaiter : public KDialogBase, public K3bJobHandler static int wait( K3bDevice::Device* device, bool appendable = false, int mediaType = K3bDevice::MEDIA_WRITABLE_CD, - TQWidget* tqparent = 0 ); + TQWidget* parent = 0 ); /** * Starts the emptydiskwaiter. @@ -97,7 +97,7 @@ class K3bEmptyDiscWaiter : public KDialogBase, public K3bJobHandler int mediaState, int mediaType = K3bDevice::MEDIA_WRITABLE_CD, const TQString& message = TQString(), - TQWidget* tqparent = 0 ); + TQWidget* parent = 0 ); protected slots: void slotCancel(); @@ -114,7 +114,7 @@ class K3bEmptyDiscWaiter : public KDialogBase, public K3bJobHandler /** * Use the static wait methods. */ - explicit K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* tqparent = 0, const char* name = 0 ); + explicit K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* parent = 0, const char* name = 0 ); int waitForDisc( int mediaState = K3bDevice::STATE_EMPTY, int mediaType = K3bDevice::MEDIA_WRITABLE_CD, diff --git a/src/k3bfiletreecombobox.cpp b/src/k3bfiletreecombobox.cpp index 50b58d4..a4b3d3a 100644 --- a/src/k3bfiletreecombobox.cpp +++ b/src/k3bfiletreecombobox.cpp @@ -53,8 +53,8 @@ public: }; -K3bFileTreeComboBox::K3bFileTreeComboBox( TQWidget* tqparent, const char* name ) - : KComboBox( true, tqparent, name ) +K3bFileTreeComboBox::K3bFileTreeComboBox( TQWidget* parent, const char* name ) + : KComboBox( true, parent, name ) { d = new Private; diff --git a/src/k3bfiletreecombobox.h b/src/k3bfiletreecombobox.h index 9e4af1f..e19569a 100644 --- a/src/k3bfiletreecombobox.h +++ b/src/k3bfiletreecombobox.h @@ -34,7 +34,7 @@ class K3bFileTreeComboBox : public KComboBox TQ_OBJECT public: - K3bFileTreeComboBox( TQWidget* tqparent = 0, const char* name = 0 ); + K3bFileTreeComboBox( TQWidget* parent = 0, const char* name = 0 ); ~K3bFileTreeComboBox(); void popup(); diff --git a/src/k3bfiletreeview.cpp b/src/k3bfiletreeview.cpp index 9ffdbd6..c56d1e5 100644 --- a/src/k3bfiletreeview.cpp +++ b/src/k3bfiletreeview.cpp @@ -151,10 +151,10 @@ K3bFileTreeBranch::K3bFileTreeBranch( KFileTreeView* view, -K3bDeviceBranchViewItem::K3bDeviceBranchViewItem( KFileTreeViewItem* tqparent, +K3bDeviceBranchViewItem::K3bDeviceBranchViewItem( KFileTreeViewItem* parent, K3bDevice::Device* dev, K3bDeviceBranch* branch ) - : KFileTreeViewItem( tqparent, + : KFileTreeViewItem( parent, new KFileItem( KURL( "media:/" + dev->blockDeviceName() ), "inode/directory", S_IFDIR ), @@ -165,10 +165,10 @@ K3bDeviceBranchViewItem::K3bDeviceBranchViewItem( KFileTreeViewItem* tqparent, } -K3bDeviceBranchViewItem::K3bDeviceBranchViewItem( KFileTreeView* tqparent, +K3bDeviceBranchViewItem::K3bDeviceBranchViewItem( KFileTreeView* parent, K3bDevice::Device* dev, K3bDeviceBranch* branch ) - : KFileTreeViewItem( tqparent, + : KFileTreeViewItem( parent, new KFileItem( KURL( "media:/" + dev->blockDeviceName() ), "inode/directory", S_IFDIR ), @@ -279,14 +279,14 @@ TQString K3bDeviceBranchViewItem::key( int column, bool ascending ) const -K3bFileTreeViewItem::K3bFileTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* item, KFileTreeBranch* branch ) - : KFileTreeViewItem( tqparent, item, branch ) +K3bFileTreeViewItem::K3bFileTreeViewItem( KFileTreeViewItem* parent, KFileItem* item, KFileTreeBranch* branch ) + : KFileTreeViewItem( parent, item, branch ) { } -K3bFileTreeViewItem::K3bFileTreeViewItem( KFileTreeView* tqparent, KFileItem* item, KFileTreeBranch* branch ) - : KFileTreeViewItem( tqparent, item, branch ) +K3bFileTreeViewItem::K3bFileTreeViewItem( KFileTreeView* parent, KFileItem* item, KFileTreeBranch* branch ) + : KFileTreeViewItem( parent, item, branch ) { } @@ -300,7 +300,7 @@ TQString K3bFileTreeViewItem::key( int column, bool ascending ) const class K3bDeviceTreeToolTip : public K3bToolTip { public: - K3bDeviceTreeToolTip( TQWidget* tqparent, K3bFileTreeView* lv ); + K3bDeviceTreeToolTip( TQWidget* parent, K3bFileTreeView* lv ); void maybeTip( const TQPoint &pos ); @@ -309,8 +309,8 @@ private: }; -K3bDeviceTreeToolTip::K3bDeviceTreeToolTip( TQWidget* tqparent, K3bFileTreeView* lv ) - : K3bToolTip( tqparent ), +K3bDeviceTreeToolTip::K3bDeviceTreeToolTip( TQWidget* parent, K3bFileTreeView* lv ) + : K3bToolTip( parent ), m_view( lv ) { setTipTimeout( 500 ); @@ -396,8 +396,8 @@ public: K3bDeviceTreeToolTip* toolTip; }; -K3bFileTreeView::K3bFileTreeView( TQWidget *tqparent, const char *name ) - : KFileTreeView( tqparent, name ) +K3bFileTreeView::K3bFileTreeView( TQWidget *parent, const char *name ) + : KFileTreeView( parent, name ) { d = new Private(); diff --git a/src/k3bfiletreeview.h b/src/k3bfiletreeview.h index b44af66..03d0f87 100644 --- a/src/k3bfiletreeview.h +++ b/src/k3bfiletreeview.h @@ -120,7 +120,7 @@ class K3bFileTreeView : public KFileTreeView TQ_OBJECT public: - K3bFileTreeView( TQWidget *tqparent = 0, const char *name = 0 ); + K3bFileTreeView( TQWidget *parent = 0, const char *name = 0 ); ~K3bFileTreeView(); diff --git a/src/k3bfileview.cpp b/src/k3bfileview.cpp index 910dc60..556bab3 100644 --- a/src/k3bfileview.cpp +++ b/src/k3bfileview.cpp @@ -43,8 +43,8 @@ #include <kprogress.h> -K3bFileView::K3bFileView(TQWidget *tqparent, const char *name ) - : K3bContentsView( false, tqparent, name) +K3bFileView::K3bFileView(TQWidget *parent, const char *name ) + : K3bContentsView( false, parent, name) { setupGUI(); } diff --git a/src/k3bfileview.h b/src/k3bfileview.h index 923125a..67af808 100644 --- a/src/k3bfileview.h +++ b/src/k3bfileview.h @@ -40,7 +40,7 @@ class K3bFileView : public K3bContentsView TQ_OBJECT public: - K3bFileView(TQWidget *tqparent=0, const char *name=0); + K3bFileView(TQWidget *parent=0, const char *name=0); ~K3bFileView(); void setUrl( const KURL &url, bool forward = true ); diff --git a/src/k3bfirstrun.cpp b/src/k3bfirstrun.cpp index 37eee7a..f27d927 100644 --- a/src/k3bfirstrun.cpp +++ b/src/k3bfirstrun.cpp @@ -26,7 +26,7 @@ #include <tqlabel.h> -void K3bFirstRun::run( TQWidget* tqparent ) +void K3bFirstRun::run( TQWidget* parent ) { if( !k3bcore->config()->readBoolEntry( "First run", true ) ) return; @@ -41,18 +41,18 @@ void K3bFirstRun::run( TQWidget* tqparent ) if( si.allInstalled() ) return; - K3bFirstRun dlg( tqparent ); + K3bFirstRun dlg( parent ); if( dlg.exec() == TQDialog::Accepted ) - si.install( tqparent ); + si.install( parent ); } -K3bFirstRun::K3bFirstRun( TQWidget* tqparent ) +K3bFirstRun::K3bFirstRun( TQWidget* parent ) : KDialogBase( Plain, i18n("First Run"), Ok|Cancel, Ok, - tqparent, + parent, 0, true, true ) diff --git a/src/k3bfirstrun.h b/src/k3bfirstrun.h index d67f688..b3b8fe0 100644 --- a/src/k3bfirstrun.h +++ b/src/k3bfirstrun.h @@ -25,10 +25,10 @@ class K3bFirstRun : public KDialogBase TQ_OBJECT public: - static void run( TQWidget* tqparent = 0 ); + static void run( TQWidget* parent = 0 ); private: - K3bFirstRun( TQWidget* tqparent ); + K3bFirstRun( TQWidget* parent ); ~K3bFirstRun(); }; diff --git a/src/k3bflatbutton.cpp b/src/k3bflatbutton.cpp index b30104e..8d68f6f 100644 --- a/src/k3bflatbutton.cpp +++ b/src/k3bflatbutton.cpp @@ -27,16 +27,16 @@ #include <tqpixmap.h> -K3bFlatButton::K3bFlatButton( TQWidget *tqparent, const char *name ) - : TQFrame( tqparent, name/*, WNoAutoErase*/ ), +K3bFlatButton::K3bFlatButton( TQWidget *parent, const char *name ) + : TQFrame( parent, name/*, WNoAutoErase*/ ), m_pressed(false) { init(); } -K3bFlatButton::K3bFlatButton( const TQString& text, TQWidget *tqparent, const char *name ) - : TQFrame( tqparent, name/*, WNoAutoErase*/ ), +K3bFlatButton::K3bFlatButton( const TQString& text, TQWidget *parent, const char *name ) + : TQFrame( parent, name/*, WNoAutoErase*/ ), m_pressed(false) { init(); @@ -44,8 +44,8 @@ K3bFlatButton::K3bFlatButton( const TQString& text, TQWidget *tqparent, const ch } -K3bFlatButton::K3bFlatButton( KAction* a, TQWidget *tqparent, const char *name ) - : TQFrame( tqparent, name/*, WNoAutoErase*/ ), +K3bFlatButton::K3bFlatButton( KAction* a, TQWidget *parent, const char *name ) + : TQFrame( parent, name/*, WNoAutoErase*/ ), m_pressed(false) { init(); diff --git a/src/k3bflatbutton.h b/src/k3bflatbutton.h index b3f97cf..171476d 100644 --- a/src/k3bflatbutton.h +++ b/src/k3bflatbutton.h @@ -35,9 +35,9 @@ class K3bFlatButton : public TQFrame TQ_OBJECT public: - K3bFlatButton( TQWidget *tqparent = 0, const char *name = 0 ); - K3bFlatButton( const TQString& text, TQWidget *tqparent = 0, const char *name = 0 ); - K3bFlatButton( KAction*, TQWidget *tqparent = 0, const char *name = 0 ); + K3bFlatButton( TQWidget *parent = 0, const char *name = 0 ); + K3bFlatButton( const TQString& text, TQWidget *parent = 0, const char *name = 0 ); + K3bFlatButton( KAction*, TQWidget *parent = 0, const char *name = 0 ); ~K3bFlatButton(); diff --git a/src/k3binteractiondialog.cpp b/src/k3binteractiondialog.cpp index 1dc7a0f..88ab150 100644 --- a/src/k3binteractiondialog.cpp +++ b/src/k3binteractiondialog.cpp @@ -49,7 +49,7 @@ #include <kdeversion.h> -K3bInteractionDialog::K3bInteractionDialog( TQWidget* tqparent, +K3bInteractionDialog::K3bInteractionDialog( TQWidget* parent, const char* name, const TQString& title, const TQString& subTitle, @@ -58,7 +58,7 @@ K3bInteractionDialog::K3bInteractionDialog( TQWidget* tqparent, const TQString& configGroup, bool modal, WFlags fl ) - : KDialog( tqparent, name, modal, fl ), + : KDialog( parent, name, modal, fl ), m_mainWidget(0), m_defaultButton(defaultButton), m_configGroup(configGroup), diff --git a/src/k3binteractiondialog.h b/src/k3binteractiondialog.h index 7e06465..f6978ed 100644 --- a/src/k3binteractiondialog.h +++ b/src/k3binteractiondialog.h @@ -51,7 +51,7 @@ class K3bInteractionDialog : public KDialog * @param defaultButton may also be null to deactivate the feature * @param configgroup The config group used for the loadUserDefaults and saveUserDefaults methods */ - K3bInteractionDialog( TQWidget* tqparent = 0, + K3bInteractionDialog( TQWidget* parent = 0, const char* name = 0, const TQString& title = TQString(), const TQString& subTitle = TQString(), diff --git a/src/k3bjobinterface.cpp b/src/k3bjobinterface.cpp index 2f524ac..1037968 100644 --- a/src/k3bjobinterface.cpp +++ b/src/k3bjobinterface.cpp @@ -21,8 +21,8 @@ #include <tqdatastream.h> -K3bJobInterface::K3bJobInterface( TQObject* tqparent ) - : TQObject( tqparent ), +K3bJobInterface::K3bJobInterface( TQObject* parent ) + : TQObject( parent ), DCOPObject( "K3bJobInterface" ), m_job( 0 ) { diff --git a/src/k3bjobinterface.h b/src/k3bjobinterface.h index e62d465..54b5924 100644 --- a/src/k3bjobinterface.h +++ b/src/k3bjobinterface.h @@ -35,7 +35,7 @@ class K3bJobInterface : public TQObject, public DCOPObject K_DCOP public: - K3bJobInterface( TQObject* tqparent ); + K3bJobInterface( TQObject* parent ); void setJob( K3bJob* ); diff --git a/src/k3bjobprogressdialog.cpp b/src/k3bjobprogressdialog.cpp index e74a0d5..c179fd9 100644 --- a/src/k3bjobprogressdialog.cpp +++ b/src/k3bjobprogressdialog.cpp @@ -78,11 +78,11 @@ public: -K3bJobProgressDialog::K3bJobProgressDialog( TQWidget* tqparent, +K3bJobProgressDialog::K3bJobProgressDialog( TQWidget* parent, const char* name, bool showSubProgress, bool modal, WFlags fl ) - : KDialog( tqparent, name, modal, fl ), + : KDialog( parent, name, modal, fl ), in_loop(false), m_osd(0) { diff --git a/src/k3bjobprogressdialog.h b/src/k3bjobprogressdialog.h index dc58501..e0f33ea 100644 --- a/src/k3bjobprogressdialog.h +++ b/src/k3bjobprogressdialog.h @@ -52,7 +52,7 @@ class K3bJobProgressDialog : public KDialog, public K3bJobHandler TQ_OBJECT public: - K3bJobProgressDialog( TQWidget* tqparent = 0, + K3bJobProgressDialog( TQWidget* parent = 0, const char* name = 0, bool showSubProgress = true, bool modal = FALSE, diff --git a/src/k3bjobprogressosd.cpp b/src/k3bjobprogressosd.cpp index 99a8f0b..966b604 100644 --- a/src/k3bjobprogressosd.cpp +++ b/src/k3bjobprogressosd.cpp @@ -33,8 +33,8 @@ #include <X11/Xlib.h> -K3bJobProgressOSD::K3bJobProgressOSD( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name, WType_TopLevel | WNoAutoErase | WStyle_Customize | WX11BypassWM | WStyle_StaysOnTop ), +K3bJobProgressOSD::K3bJobProgressOSD( TQWidget* parent, const char* name ) + : TQWidget( parent, name, WType_TopLevel | WNoAutoErase | WStyle_Customize | WX11BypassWM | WStyle_StaysOnTop ), m_dirty(true), m_progress(0), m_dragging(false), diff --git a/src/k3bjobprogressosd.h b/src/k3bjobprogressosd.h index 8d7d886..24c696a 100644 --- a/src/k3bjobprogressosd.h +++ b/src/k3bjobprogressosd.h @@ -34,7 +34,7 @@ class K3bJobProgressOSD : public TQWidget TQ_OBJECT public: - K3bJobProgressOSD( TQWidget* tqparent = 0, const char* name = 0 ); + K3bJobProgressOSD( TQWidget* parent = 0, const char* name = 0 ); ~K3bJobProgressOSD(); int screen() const { return m_screen; } diff --git a/src/k3blsofwrapperdialog.cpp b/src/k3blsofwrapperdialog.cpp index 280def8..d7d1cb4 100644 --- a/src/k3blsofwrapperdialog.cpp +++ b/src/k3blsofwrapperdialog.cpp @@ -39,12 +39,12 @@ static TQString joinProcessNames( const TQValueList<K3bLsofWrapper::Process>& ap } -K3bLsofWrapperDialog::K3bLsofWrapperDialog( TQWidget* tqparent ) +K3bLsofWrapperDialog::K3bLsofWrapperDialog( TQWidget* parent ) : KDialogBase( KDialogBase::Swallow, i18n("Device in use"), Close|User1|User2, Close, - tqparent, + parent, 0, true, true, @@ -116,9 +116,9 @@ void K3bLsofWrapperDialog::slotQuitOtherApps() } -void K3bLsofWrapperDialog::checkDevice( K3bDevice::Device* dev, TQWidget* tqparent ) +void K3bLsofWrapperDialog::checkDevice( K3bDevice::Device* dev, TQWidget* parent ) { - K3bLsofWrapperDialog dlg( tqparent ); + K3bLsofWrapperDialog dlg( parent ); dlg.m_device = dev; if( dlg.slotCheckDevice() ) dlg.exec(); diff --git a/src/k3blsofwrapperdialog.h b/src/k3blsofwrapperdialog.h index ed08ded..a5a7151 100644 --- a/src/k3blsofwrapperdialog.h +++ b/src/k3blsofwrapperdialog.h @@ -38,14 +38,14 @@ class K3bLsofWrapperDialog : public KDialogBase * * If the device is not in use this method simply returns. */ - static void checkDevice( K3bDevice::Device* dev, TQWidget* tqparent = 0 ); + static void checkDevice( K3bDevice::Device* dev, TQWidget* parent = 0 ); private slots: bool slotCheckDevice(); void slotQuitOtherApps(); private: - K3bLsofWrapperDialog( TQWidget* tqparent ); + K3bLsofWrapperDialog( TQWidget* parent ); K3bDevice::Device* m_device; K3bRichTextLabel* m_label; diff --git a/src/k3bmediacache.cpp b/src/k3bmediacache.cpp index 5e2b104..52195d0 100644 --- a/src/k3bmediacache.cpp +++ b/src/k3bmediacache.cpp @@ -161,8 +161,8 @@ void K3bMediaCache::PollThread::run() // //////////////////////////////////////////////////////////////////////////////// -K3bMediaCache::K3bMediaCache( TQObject* tqparent ) - : TQObject( tqparent ) +K3bMediaCache::K3bMediaCache( TQObject* parent ) + : TQObject( parent ) { } diff --git a/src/k3bmediacache.h b/src/k3bmediacache.h index ad13fdb..600a962 100644 --- a/src/k3bmediacache.h +++ b/src/k3bmediacache.h @@ -54,7 +54,7 @@ class K3bMediaCache : public TQObject TQ_OBJECT public: - K3bMediaCache( TQObject* tqparent = 0 ); + K3bMediaCache( TQObject* parent = 0 ); ~K3bMediaCache(); /** diff --git a/src/k3bmediacontentsview.cpp b/src/k3bmediacontentsview.cpp index d23c85a..69c57fa 100644 --- a/src/k3bmediacontentsview.cpp +++ b/src/k3bmediacontentsview.cpp @@ -40,9 +40,9 @@ K3bMediaContentsView::K3bMediaContentsView( bool withHeader, int mediumContent, int mediumTypes, int mediumState, - TQWidget* tqparent, + TQWidget* parent, const char* name ) - : K3bContentsView( withHeader, tqparent, name ) + : K3bContentsView( withHeader, parent, name ) { d = new Private; d->supportedMediumContent = mediumContent; diff --git a/src/k3bmediacontentsview.h b/src/k3bmediacontentsview.h index 310e180..a9838e2 100644 --- a/src/k3bmediacontentsview.h +++ b/src/k3bmediacontentsview.h @@ -91,7 +91,7 @@ class K3bMediaContentsView : public K3bContentsView int mediumContent, int mediumTypes, int mediumState, - TQWidget* tqparent = 0, + TQWidget* parent = 0, const char* name = 0 ); /** diff --git a/src/k3bmediaselectioncombobox.cpp b/src/k3bmediaselectioncombobox.cpp index 42b4b05..666b268 100644 --- a/src/k3bmediaselectioncombobox.cpp +++ b/src/k3bmediaselectioncombobox.cpp @@ -96,8 +96,8 @@ public: }; -K3bMediaSelectionComboBox::K3bMediaSelectionComboBox( TQWidget* tqparent ) - : KComboBox( false, tqparent ) +K3bMediaSelectionComboBox::K3bMediaSelectionComboBox( TQWidget* parent ) + : KComboBox( false, parent ) { d = new Private(); diff --git a/src/k3bmediaselectioncombobox.h b/src/k3bmediaselectioncombobox.h index b40011f..ba1088a 100644 --- a/src/k3bmediaselectioncombobox.h +++ b/src/k3bmediaselectioncombobox.h @@ -37,7 +37,7 @@ class K3bMediaSelectionComboBox : public KComboBox TQ_OBJECT public: - K3bMediaSelectionComboBox( TQWidget* tqparent ); + K3bMediaSelectionComboBox( TQWidget* parent ); virtual ~K3bMediaSelectionComboBox(); /** diff --git a/src/k3bmediaselectiondialog.cpp b/src/k3bmediaselectiondialog.cpp index d4aacf5..7e1bf63 100644 --- a/src/k3bmediaselectiondialog.cpp +++ b/src/k3bmediaselectiondialog.cpp @@ -24,7 +24,7 @@ #include <tqlabel.h> -K3bMediaSelectionDialog::K3bMediaSelectionDialog( TQWidget* tqparent, +K3bMediaSelectionDialog::K3bMediaSelectionDialog( TQWidget* parent, const TQString& title, const TQString& text, bool modal ) @@ -32,7 +32,7 @@ K3bMediaSelectionDialog::K3bMediaSelectionDialog( TQWidget* tqparent, title.isEmpty() ? i18n("Medium Selection") : title, Ok|Cancel, Ok, - tqparent, + parent, 0, modal ) { @@ -90,11 +90,11 @@ void K3bMediaSelectionDialog::slotSelectionChanged( K3bDevice::Device* dev ) K3bDevice::Device* K3bMediaSelectionDialog::selectMedium( int type, int state, int content, - TQWidget* tqparent, + TQWidget* parent, const TQString& title, const TQString& text, bool* canceled ) { - K3bMediaSelectionDialog dlg( tqparent, title, text ); + K3bMediaSelectionDialog dlg( parent, title, text ); dlg.setWantedMediumType( type ); dlg.setWantedMediumState( state ); dlg.setWantedMediumContent( content ); @@ -117,11 +117,11 @@ K3bDevice::Device* K3bMediaSelectionDialog::selectMedium( int type, int state, i K3bDevice::Device* K3bMediaSelectionDialog::selectMedium( int type, int state, - TQWidget* tqparent, + TQWidget* parent, const TQString& title, const TQString& text, bool* canceled ) { - return selectMedium( type, state, K3bMedium::CONTENT_ALL, tqparent, title, text, canceled ); + return selectMedium( type, state, K3bMedium::CONTENT_ALL, parent, title, text, canceled ); } #include "k3bmediaselectiondialog.moc" diff --git a/src/k3bmediaselectiondialog.h b/src/k3bmediaselectiondialog.h index e197ef5..aa963f0 100644 --- a/src/k3bmediaselectiondialog.h +++ b/src/k3bmediaselectiondialog.h @@ -33,7 +33,7 @@ class K3bMediaSelectionDialog : public KDialogBase /** * Do not use the constructor. Use the static method instead. */ - K3bMediaSelectionDialog( TQWidget* tqparent = 0, + K3bMediaSelectionDialog( TQWidget* parent = 0, const TQString& title = TQString(), const TQString& text = TQString(), bool modal = false ); @@ -67,13 +67,13 @@ class K3bMediaSelectionDialog : public KDialogBase * If only one medium of the wanted type is found the method returns immideately * without showing the dialog. */ - static K3bDevice::Device* selectMedium( int type, int state, TQWidget* tqparent = 0, + static K3bDevice::Device* selectMedium( int type, int state, TQWidget* parent = 0, const TQString& title = TQString(), const TQString& text = TQString(), bool* canceled = 0 ); static K3bDevice::Device* selectMedium( int type, int state, int content = K3bMedium::CONTENT_ALL, - TQWidget* tqparent = 0, + TQWidget* parent = 0, const TQString& title = TQString(), const TQString& text = TQString(), bool* canceled = 0 ); diff --git a/src/k3bminibutton.cpp b/src/k3bminibutton.cpp index 9626e47..7d425d5 100644 --- a/src/k3bminibutton.cpp +++ b/src/k3bminibutton.cpp @@ -23,8 +23,8 @@ #include <tqpainter.h> -K3bMiniButton::K3bMiniButton( TQWidget *tqparent, const char * name ) - :TQPushButton( tqparent, name ), +K3bMiniButton::K3bMiniButton( TQWidget *parent, const char * name ) + :TQPushButton( parent, name ), m_mouseOver( false ) { setFocusPolicy( TQ_NoFocus ); diff --git a/src/k3bminibutton.h b/src/k3bminibutton.h index c04ab67..67e1e25 100644 --- a/src/k3bminibutton.h +++ b/src/k3bminibutton.h @@ -37,7 +37,7 @@ class K3bMiniButton : public TQPushButton TQ_OBJECT public: - K3bMiniButton( TQWidget *tqparent=0, const char *name=0 ); + K3bMiniButton( TQWidget *parent=0, const char *name=0 ); virtual ~K3bMiniButton(); protected: diff --git a/src/k3bpassivepopup.cpp b/src/k3bpassivepopup.cpp index 384615a..550e7b4 100644 --- a/src/k3bpassivepopup.cpp +++ b/src/k3bpassivepopup.cpp @@ -96,8 +96,8 @@ public: }; -K3bPassivePopup::K3bPassivePopup( TQWidget* tqparent ) - : TQFrame( tqparent ) +K3bPassivePopup::K3bPassivePopup( TQWidget* parent ) + : TQFrame( parent ) { d = new Private; d->timeout = 6000; diff --git a/src/k3bpassivepopup.h b/src/k3bpassivepopup.h index a2b43c4..d2e5b85 100644 --- a/src/k3bpassivepopup.h +++ b/src/k3bpassivepopup.h @@ -34,7 +34,7 @@ class K3bPassivePopup : public TQFrame TQ_OBJECT public: - K3bPassivePopup( TQWidget* tqparent ); + K3bPassivePopup( TQWidget* parent ); ~K3bPassivePopup(); enum MessageType { diff --git a/src/k3bprojectmanager.cpp b/src/k3bprojectmanager.cpp index d8d4c9e..93a51d4 100644 --- a/src/k3bprojectmanager.cpp +++ b/src/k3bprojectmanager.cpp @@ -74,8 +74,8 @@ public: -K3bProjectManager::K3bProjectManager( TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ) +K3bProjectManager::K3bProjectManager( TQObject* parent, const char* name ) + : TQObject( parent, name ) { d = new Private(); d->activeProject = 0; diff --git a/src/k3bprojectmanager.h b/src/k3bprojectmanager.h index 15e8fdb..929b522 100644 --- a/src/k3bprojectmanager.h +++ b/src/k3bprojectmanager.h @@ -31,7 +31,7 @@ class K3bProjectManager : public TQObject TQ_OBJECT public: - K3bProjectManager( TQObject* tqparent = 0, const char* name = 0 ); + K3bProjectManager( TQObject* parent = 0, const char* name = 0 ); virtual ~K3bProjectManager(); const TQPtrList<K3bDoc>& projects() const; diff --git a/src/k3bprojecttabwidget.cpp b/src/k3bprojecttabwidget.cpp index 31d0b9c..4cc74d3 100644 --- a/src/k3bprojecttabwidget.cpp +++ b/src/k3bprojecttabwidget.cpp @@ -54,8 +54,8 @@ public: -K3bProjectTabWidget::K3bProjectTabWidget( TQWidget *tqparent, const char *name, WFlags f ) - : TQTabWidget( tqparent, name, f ) +K3bProjectTabWidget::K3bProjectTabWidget( TQWidget *parent, const char *name, WFlags f ) + : TQTabWidget( parent, name, f ) { tabBar()->setAcceptDrops(true); tabBar()->installEventFilter( this ); diff --git a/src/k3bprojecttabwidget.h b/src/k3bprojecttabwidget.h index 4cadf33..ea75b63 100644 --- a/src/k3bprojecttabwidget.h +++ b/src/k3bprojecttabwidget.h @@ -37,7 +37,7 @@ class K3bProjectTabWidget : public TQTabWidget TQ_OBJECT public: - K3bProjectTabWidget( TQWidget *tqparent = 0, const char *name = 0, WFlags = 0 ); + K3bProjectTabWidget( TQWidget *parent = 0, const char *name = 0, WFlags = 0 ); ~K3bProjectTabWidget(); void insertTab( K3bDoc* ); diff --git a/src/k3bservicemenuinstaller.cpp b/src/k3bservicemenuinstaller.cpp index dd409e1..43413d9 100644 --- a/src/k3bservicemenuinstaller.cpp +++ b/src/k3bservicemenuinstaller.cpp @@ -77,7 +77,7 @@ bool K3bServiceInstaller::allInstalled() const } -bool K3bServiceInstaller::install( TQWidget* tqparent ) +bool K3bServiceInstaller::install( TQWidget* parent ) { d->update(); @@ -87,11 +87,11 @@ bool K3bServiceInstaller::install( TQWidget* tqparent ) for( unsigned int i = 0; i < d->allServiceMenus.count(); ++i ) if( !KIO::NetAccess::file_copy( KURL::fromPathOrURL( d->allServiceMenus[i] ), KURL::fromPathOrURL( d->konqiServicemenusFolder + d->allServiceMenuFiles[i] ), -1, - true, false, tqparent ) ) + true, false, parent ) ) success = false; - if( !success && tqparent ) - KMessageBox::error( tqparent, + if( !success && parent ) + KMessageBox::error( parent, KIO::NetAccess::lastErrorString(), i18n("Failed to copy service menu files") ); @@ -99,19 +99,19 @@ bool K3bServiceInstaller::install( TQWidget* tqparent ) } -bool K3bServiceInstaller::remove( TQWidget* tqparent ) +bool K3bServiceInstaller::remove( TQWidget* parent ) { d->update(); bool success = true; for( unsigned int i = 0; i < d->allServiceMenuFiles.count(); ++i ) - if( KIO::NetAccess::exists( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], true, tqparent ) ) - if( !KIO::NetAccess::del( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], tqparent ) ) + if( KIO::NetAccess::exists( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], true, parent ) ) + if( !KIO::NetAccess::del( d->konqiServicemenusFolder + d->allServiceMenuFiles[i], parent ) ) success = false; - if( !success && tqparent ) - KMessageBox::error( tqparent, + if( !success && parent ) + KMessageBox::error( parent, KIO::NetAccess::lastErrorString(), i18n("Failed to remove service menu files") ); diff --git a/src/k3bservicemenuinstaller.h b/src/k3bservicemenuinstaller.h index 271d314..015a672 100644 --- a/src/k3bservicemenuinstaller.h +++ b/src/k3bservicemenuinstaller.h @@ -38,14 +38,14 @@ class K3bServiceInstaller bool allInstalled() const; /** - * If tqparent != 0 a messagebox will be shown in case of an error. + * If parent != 0 a messagebox will be shown in case of an error. */ - bool install( TQWidget* tqparent = 0 ); + bool install( TQWidget* parent = 0 ); /** - * If tqparent != 0 a messagebox will be shown in case of an error. + * If parent != 0 a messagebox will be shown in case of an error. */ - bool remove( TQWidget* tqparent = 0 ); + bool remove( TQWidget* parent = 0 ); private: class Private; diff --git a/src/k3bsidepanel.cpp b/src/k3bsidepanel.cpp index 6a39807..3ef831d 100644 --- a/src/k3bsidepanel.cpp +++ b/src/k3bsidepanel.cpp @@ -27,8 +27,8 @@ -K3bSidePanel::K3bSidePanel( K3bMainWindow* m, TQWidget* tqparent, const char* name ) - : TQToolBox( tqparent, name ), +K3bSidePanel::K3bSidePanel( K3bMainWindow* m, TQWidget* parent, const char* name ) + : TQToolBox( parent, name ), m_mainWindow(m) { // our first widget is the tree view diff --git a/src/k3bsidepanel.h b/src/k3bsidepanel.h index 29b1ebc..e6d6c7e 100644 --- a/src/k3bsidepanel.h +++ b/src/k3bsidepanel.h @@ -30,7 +30,7 @@ class K3bSidePanel : public TQToolBox TQ_OBJECT public: - K3bSidePanel( K3bMainWindow*, TQWidget* tqparent = 0, const char* name = 0 ); + K3bSidePanel( K3bMainWindow*, TQWidget* parent = 0, const char* name = 0 ); ~K3bSidePanel(); /** diff --git a/src/k3bsplash.cpp b/src/k3bsplash.cpp index ff39d85..5966eed 100644 --- a/src/k3bsplash.cpp +++ b/src/k3bsplash.cpp @@ -31,8 +31,8 @@ #include <kaboutdata.h> -K3bSplash::K3bSplash( TQWidget* tqparent, const char* name ) - : TQVBox( tqparent, name, +K3bSplash::K3bSplash( TQWidget* parent, const char* name ) + : TQVBox( parent, name, WStyle_Customize| WDestructiveClose| /* WStyle_Splash|*/ diff --git a/src/k3bsplash.h b/src/k3bsplash.h index a08b421..7007f2c 100644 --- a/src/k3bsplash.h +++ b/src/k3bsplash.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - K3bSplash( TQWidget* tqparent = 0, const char* name = 0 ); + K3bSplash( TQWidget* parent = 0, const char* name = 0 ); ~K3bSplash(); public slots: diff --git a/src/k3bstatusbarmanager.cpp b/src/k3bstatusbarmanager.cpp index cd0ad1f..375a3d5 100644 --- a/src/k3bstatusbarmanager.cpp +++ b/src/k3bstatusbarmanager.cpp @@ -46,9 +46,9 @@ -K3bStatusBarManager::K3bStatusBarManager( K3bMainWindow* tqparent ) - : TQObject(tqparent), - m_mainWindow(tqparent) +K3bStatusBarManager::K3bStatusBarManager( K3bMainWindow* parent ) + : TQObject(parent), + m_mainWindow(parent) { // setup free temp space box TQHBox* boxFreeTemp = new TQHBox( m_mainWindow->statusBar() ); diff --git a/src/k3bstatusbarmanager.h b/src/k3bstatusbarmanager.h index b73b82b..aa37263 100644 --- a/src/k3bstatusbarmanager.h +++ b/src/k3bstatusbarmanager.h @@ -32,7 +32,7 @@ class K3bStatusBarManager : public TQObject TQ_OBJECT public: - K3bStatusBarManager( K3bMainWindow* tqparent ); + K3bStatusBarManager( K3bMainWindow* parent ); ~K3bStatusBarManager(); public slots: diff --git a/src/k3bsystemproblemdialog.cpp b/src/k3bsystemproblemdialog.cpp index ec8a27f..75a9f58 100644 --- a/src/k3bsystemproblemdialog.cpp +++ b/src/k3bsystemproblemdialog.cpp @@ -80,9 +80,9 @@ K3bSystemProblem::K3bSystemProblem( int t, K3bSystemProblemDialog::K3bSystemProblemDialog( const TQValueList<K3bSystemProblem>& problems, - TQWidget* tqparent, + TQWidget* parent, const char* name ) - : KDialog( tqparent, name ) + : KDialog( parent, name ) { setCaption( i18n("System Configuration Problems") ); @@ -168,7 +168,7 @@ void K3bSystemProblemDialog::closeEvent( TQCloseEvent* e ) } -void K3bSystemProblemDialog::checkSystem( TQWidget* tqparent, +void K3bSystemProblemDialog::checkSystem( TQWidget* parent, const char* name ) { TQValueList<K3bSystemProblem> problems; @@ -594,7 +594,7 @@ void K3bSystemProblemDialog::checkSystem( TQWidget* tqparent, static K3bSystemProblemDialog* s_openDlg = 0; if( s_openDlg ) s_openDlg->close(); - K3bSystemProblemDialog dlg( problems, tqparent, name ); + K3bSystemProblemDialog dlg( problems, parent, name ); s_openDlg = &dlg; dlg.exec(); s_openDlg = 0; diff --git a/src/k3bsystemproblemdialog.h b/src/k3bsystemproblemdialog.h index f884d2a..84835bd 100644 --- a/src/k3bsystemproblemdialog.h +++ b/src/k3bsystemproblemdialog.h @@ -78,7 +78,7 @@ class K3bSystemProblemDialog : public KDialog * or K3b is started for the first time. */ static bool readCheckSystemConfig(); - static void checkSystem( TQWidget* tqparent = 0, + static void checkSystem( TQWidget* parent = 0, const char* name = 0 ); protected: @@ -89,7 +89,7 @@ class K3bSystemProblemDialog : public KDialog private: K3bSystemProblemDialog( const TQValueList<K3bSystemProblem>&, - TQWidget* tqparent = 0, + TQWidget* parent = 0, const char* name = 0 ); static int dmaActivated( K3bDevice::Device* ); static TQPtrList<K3bDevice::Device> checkForAutomounting(); diff --git a/src/k3btempdirselectionwidget.cpp b/src/k3btempdirselectionwidget.cpp index a91da03..375c870 100644 --- a/src/k3btempdirselectionwidget.cpp +++ b/src/k3btempdirselectionwidget.cpp @@ -39,8 +39,8 @@ #include <klineedit.h> -K3bTempDirSelectionWidget::K3bTempDirSelectionWidget( TQWidget *tqparent, const char *name ) - : TQGroupBox( 4, Qt::Vertical, tqparent, name ), +K3bTempDirSelectionWidget::K3bTempDirSelectionWidget( TQWidget *parent, const char *name ) + : TQGroupBox( 4, Qt::Vertical, parent, name ), m_labelCdSize(0), m_defaultImageFileName( "k3b_image.iso" ) { diff --git a/src/k3btempdirselectionwidget.h b/src/k3btempdirselectionwidget.h index f456e6b..74cd874 100644 --- a/src/k3btempdirselectionwidget.h +++ b/src/k3btempdirselectionwidget.h @@ -35,7 +35,7 @@ class K3bTempDirSelectionWidget : public TQGroupBox TQ_OBJECT public: - K3bTempDirSelectionWidget( TQWidget *tqparent = 0, const char *name = 0 ); + K3bTempDirSelectionWidget( TQWidget *parent = 0, const char *name = 0 ); ~K3bTempDirSelectionWidget(); /** determines if the selection dialog should ask for a dir or a file */ diff --git a/src/k3bthemedheader.cpp b/src/k3bthemedheader.cpp index 5808c37..45796db 100644 --- a/src/k3bthemedheader.cpp +++ b/src/k3bthemedheader.cpp @@ -23,15 +23,15 @@ #include <tqlayout.h> -K3bThemedHeader::K3bThemedHeader( TQWidget* tqparent ) - : TQFrame( tqparent ) +K3bThemedHeader::K3bThemedHeader( TQWidget* parent ) + : TQFrame( parent ) { init(); } -K3bThemedHeader::K3bThemedHeader( const TQString& title, const TQString& subtitle, TQWidget* tqparent ) - : TQFrame( tqparent ) +K3bThemedHeader::K3bThemedHeader( const TQString& title, const TQString& subtitle, TQWidget* parent ) + : TQFrame( parent ) { setTitle( title ); setSubTitle( subtitle ); diff --git a/src/k3bthemedheader.h b/src/k3bthemedheader.h index 62708ee..e5f319b 100644 --- a/src/k3bthemedheader.h +++ b/src/k3bthemedheader.h @@ -29,8 +29,8 @@ class K3bThemedHeader : public TQFrame TQ_OBJECT public: - K3bThemedHeader( TQWidget* tqparent = 0 ); - K3bThemedHeader( const TQString& title, const TQString& subtitle, TQWidget* tqparent = 0 ); + K3bThemedHeader( TQWidget* parent = 0 ); + K3bThemedHeader( const TQString& title, const TQString& subtitle, TQWidget* parent = 0 ); ~K3bThemedHeader(); public slots: diff --git a/src/k3bthemedlabel.cpp b/src/k3bthemedlabel.cpp index 11e5001..77138f9 100644 --- a/src/k3bthemedlabel.cpp +++ b/src/k3bthemedlabel.cpp @@ -16,8 +16,8 @@ #include "k3bthemedlabel.h" #include "k3bapplication.h" -K3bThemedLabel::K3bThemedLabel( TQWidget* tqparent ) - : KCutLabel( tqparent ), +K3bThemedLabel::K3bThemedLabel( TQWidget* parent ) + : KCutLabel( parent ), m_themePixmapCode( -1 ) { slotThemeChanged(); @@ -29,8 +29,8 @@ K3bThemedLabel::K3bThemedLabel( TQWidget* tqparent ) } -K3bThemedLabel::K3bThemedLabel( const TQString& text, TQWidget* tqparent ) - : KCutLabel( text, tqparent ), +K3bThemedLabel::K3bThemedLabel( const TQString& text, TQWidget* parent ) + : KCutLabel( text, parent ), m_themePixmapCode( -1 ) { slotThemeChanged(); @@ -42,8 +42,8 @@ K3bThemedLabel::K3bThemedLabel( const TQString& text, TQWidget* tqparent ) } -K3bThemedLabel::K3bThemedLabel( K3bTheme::PixmapType pix, TQWidget* tqparent ) - : KCutLabel( tqparent ) +K3bThemedLabel::K3bThemedLabel( K3bTheme::PixmapType pix, TQWidget* parent ) + : KCutLabel( parent ) { setThemePixmap( pix ); diff --git a/src/k3bthemedlabel.h b/src/k3bthemedlabel.h index 2c6d27f..2bd1b1d 100644 --- a/src/k3bthemedlabel.h +++ b/src/k3bthemedlabel.h @@ -26,9 +26,9 @@ class K3bThemedLabel : public KCutLabel TQ_OBJECT public: - K3bThemedLabel( TQWidget* tqparent = 0 ); - K3bThemedLabel( const TQString& text, TQWidget* tqparent = 0 ); - K3bThemedLabel( K3bTheme::PixmapType, TQWidget* tqparent = 0 ); + K3bThemedLabel( TQWidget* parent = 0 ); + K3bThemedLabel( const TQString& text, TQWidget* parent = 0 ); + K3bThemedLabel( K3bTheme::PixmapType, TQWidget* parent = 0 ); public slots: void setThemePixmap( K3bTheme::PixmapType ); diff --git a/src/k3bthememanager.cpp b/src/k3bthememanager.cpp index 6e86bd6..3471342 100644 --- a/src/k3bthememanager.cpp +++ b/src/k3bthememanager.cpp @@ -166,8 +166,8 @@ public: -K3bThemeManager::K3bThemeManager( TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ) +K3bThemeManager::K3bThemeManager( TQObject* parent, const char* name ) + : TQObject( parent, name ) { d = new Private(); d->emptyTheme.m_name = "Empty Theme"; diff --git a/src/k3bthememanager.h b/src/k3bthememanager.h index 618a254..c5646bb 100644 --- a/src/k3bthememanager.h +++ b/src/k3bthememanager.h @@ -114,7 +114,7 @@ class K3bThemeManager : public TQObject TQ_OBJECT public: - K3bThemeManager( TQObject* tqparent = 0, const char* name = 0 ); + K3bThemeManager( TQObject* parent = 0, const char* name = 0 ); ~K3bThemeManager(); const TQValueList<K3bTheme*>& themes() const; diff --git a/src/k3btimeoutwidget.cpp b/src/k3btimeoutwidget.cpp index 12453bb..ea89f20 100644 --- a/src/k3btimeoutwidget.cpp +++ b/src/k3btimeoutwidget.cpp @@ -35,8 +35,8 @@ public: }; -K3bTimeoutWidget::K3bTimeoutWidget( TQWidget* tqparent ) - : TQWidget( tqparent ) +K3bTimeoutWidget::K3bTimeoutWidget( TQWidget* parent ) + : TQWidget( parent ) { d = new Private; d->timeout = 10000; diff --git a/src/k3btimeoutwidget.h b/src/k3btimeoutwidget.h index 3775332..b7c7dae 100644 --- a/src/k3btimeoutwidget.h +++ b/src/k3btimeoutwidget.h @@ -28,7 +28,7 @@ class K3bTimeoutWidget : public TQWidget TQ_OBJECT public: - K3bTimeoutWidget( TQWidget* tqparent ); + K3bTimeoutWidget( TQWidget* parent ); ~K3bTimeoutWidget(); TQSize tqsizeHint() const; diff --git a/src/k3bwelcomewidget.cpp b/src/k3bwelcomewidget.cpp index ab3192f..161a8b8 100644 --- a/src/k3bwelcomewidget.cpp +++ b/src/k3bwelcomewidget.cpp @@ -76,8 +76,8 @@ static const char* s_allActions[] = { 0 }; -K3bWelcomeWidget::Display::Display( K3bWelcomeWidget* tqparent ) - : TQWidget( tqparent->viewport() ) +K3bWelcomeWidget::Display::Display( K3bWelcomeWidget* parent ) + : TQWidget( parent->viewport() ) { setWFlags( TQt::WNoAutoErase ); @@ -96,7 +96,7 @@ K3bWelcomeWidget::Display::Display( K3bWelcomeWidget* tqparent ) m_rows = m_cols = 1; m_buttonMore = new K3bFlatButton( i18n("Further actions..."), this ); - connect( m_buttonMore, TQT_SIGNAL(pressed()), tqparent, TQT_SLOT(slotMoreActions()) ); + connect( m_buttonMore, TQT_SIGNAL(pressed()), parent, TQT_SLOT(slotMoreActions()) ); connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()), this, TQT_SLOT(slotThemeChanged()) ); @@ -344,8 +344,8 @@ void K3bWelcomeWidget::Display::dropEvent( TQDropEvent* e ) -K3bWelcomeWidget::K3bWelcomeWidget( K3bMainWindow* mw, TQWidget* tqparent, const char* name ) - : TQScrollView( tqparent, name ), +K3bWelcomeWidget::K3bWelcomeWidget( K3bMainWindow* mw, TQWidget* parent, const char* name ) + : TQScrollView( parent, name ), m_mainWindow( mw ) { main = new Display( this ); diff --git a/src/k3bwelcomewidget.h b/src/k3bwelcomewidget.h index 41592db..b40b3b3 100644 --- a/src/k3bwelcomewidget.h +++ b/src/k3bwelcomewidget.h @@ -43,7 +43,7 @@ class K3bWelcomeWidget : public TQScrollView TQ_OBJECT public: - K3bWelcomeWidget( K3bMainWindow*, TQWidget* tqparent = 0, const char* name = 0 ); + K3bWelcomeWidget( K3bMainWindow*, TQWidget* parent = 0, const char* name = 0 ); ~K3bWelcomeWidget(); void loadConfig( KConfigBase* c ); @@ -73,7 +73,7 @@ class K3bWelcomeWidget::Display : public TQWidget TQ_OBJECT public: - Display( K3bWelcomeWidget* tqparent ); + Display( K3bWelcomeWidget* parent ); ~Display(); TQSize tqminimumSizeHint() const; diff --git a/src/k3bwidgetshoweffect.cpp b/src/k3bwidgetshoweffect.cpp index 2292c19..1da951e 100644 --- a/src/k3bwidgetshoweffect.cpp +++ b/src/k3bwidgetshoweffect.cpp @@ -63,9 +63,9 @@ void K3bWidgetShowEffect::show( bool effectOnly ) m_widget->polish(); if( m_effect == Dissolve ) { - // necessary to create the tqmask - m_tqmask.resize( m_widget->width(), m_widget->height() ); - // make the tqmask empty and hence will not show widget with show() called below + // necessary to create the mask + m_mask.resize( m_widget->width(), m_widget->height() ); + // make the mask empty and hence will not show widget with show() called below dissolveMask(); m_timerId = startTimer( 1000 / 30 ); } @@ -97,13 +97,13 @@ void K3bWidgetShowEffect::dissolveMask() { if( m_bShow ) { m_widget->tqrepaint( false ); - TQPainter maskPainter(&m_tqmask); + TQPainter maskPainter(&m_mask); - m_tqmask.fill(TQt::black); + m_mask.fill(TQt::black); maskPainter.setBrush(TQt::white); maskPainter.setPen(TQt::white); - maskPainter.drawRect( m_tqmask.rect() ); + maskPainter.drawRect( m_mask.rect() ); m_dissolveSize += m_dissolveDelta; @@ -135,7 +135,7 @@ void K3bWidgetShowEffect::dissolveMask() deleteLater(); } - m_widget->setMask( m_tqmask ); + m_widget->setMask( m_mask ); } else { diff --git a/src/k3bwidgetshoweffect.h b/src/k3bwidgetshoweffect.h index 9f6d960..e69582f 100644 --- a/src/k3bwidgetshoweffect.h +++ b/src/k3bwidgetshoweffect.h @@ -98,7 +98,7 @@ class K3bWidgetShowEffect : public TQObject Effect m_effect; TQWidget* m_widget; - TQBitmap m_tqmask; + TQBitmap m_mask; int m_dissolveSize; int m_dissolveDelta; diff --git a/src/k3bwriterselectionwidget.cpp b/src/k3bwriterselectionwidget.cpp index 720d390..a89593d 100644 --- a/src/k3bwriterselectionwidget.cpp +++ b/src/k3bwriterselectionwidget.cpp @@ -47,8 +47,8 @@ class K3bWriterSelectionWidget::MediaSelectionComboBox : public K3bMediaSelectionComboBox { public: - MediaSelectionComboBox( TQWidget* tqparent ) - : K3bMediaSelectionComboBox( tqparent ), + MediaSelectionComboBox( TQWidget* parent ) + : K3bMediaSelectionComboBox( parent ), m_overrideDevice( 0 ) { } @@ -110,8 +110,8 @@ public: }; -K3bWriterSelectionWidget::K3bWriterSelectionWidget( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +K3bWriterSelectionWidget::K3bWriterSelectionWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { d = new Private; d->forceAutoSpeed = false; diff --git a/src/k3bwriterselectionwidget.h b/src/k3bwriterselectionwidget.h index acb989e..ef94d8a 100644 --- a/src/k3bwriterselectionwidget.h +++ b/src/k3bwriterselectionwidget.h @@ -41,7 +41,7 @@ class K3bWriterSelectionWidget : public TQWidget /** * Creates a writerselectionwidget */ - K3bWriterSelectionWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bWriterSelectionWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bWriterSelectionWidget(); int writerSpeed() const; diff --git a/src/k3bwritingmodewidget.cpp b/src/k3bwritingmodewidget.cpp index 6a8e563..1d329ce 100644 --- a/src/k3bwritingmodewidget.cpp +++ b/src/k3bwritingmodewidget.cpp @@ -61,16 +61,16 @@ public: }; -K3bWritingModeWidget::K3bWritingModeWidget( int modes, TQWidget* tqparent, const char* name ) - : K3bIntMapComboBox( tqparent, name ) +K3bWritingModeWidget::K3bWritingModeWidget( int modes, TQWidget* parent, const char* name ) + : K3bIntMapComboBox( parent, name ) { init(); setSupportedModes( modes ); } -K3bWritingModeWidget::K3bWritingModeWidget( TQWidget* tqparent, const char* name ) - : K3bIntMapComboBox( tqparent, name ) +K3bWritingModeWidget::K3bWritingModeWidget( TQWidget* parent, const char* name ) + : K3bIntMapComboBox( parent, name ) { init(); setSupportedModes( K3b::DAO | K3b::TAO | K3b::RAW ); // default: support all CD-R(W) modes diff --git a/src/k3bwritingmodewidget.h b/src/k3bwritingmodewidget.h index 6b6ed07..664f052 100644 --- a/src/k3bwritingmodewidget.h +++ b/src/k3bwritingmodewidget.h @@ -33,8 +33,8 @@ class K3bWritingModeWidget : public K3bIntMapComboBox TQ_OBJECT public: - K3bWritingModeWidget( TQWidget* tqparent = 0, const char* name = 0 ); - K3bWritingModeWidget( int modes, TQWidget* tqparent = 0, const char* name = 0 ); + K3bWritingModeWidget( TQWidget* parent = 0, const char* name = 0 ); + K3bWritingModeWidget( int modes, TQWidget* parent = 0, const char* name = 0 ); ~K3bWritingModeWidget(); int writingMode() const; diff --git a/src/misc/k3bblankingdialog.cpp b/src/misc/k3bblankingdialog.cpp index fca3b3f..69bacb7 100644 --- a/src/misc/k3bblankingdialog.cpp +++ b/src/misc/k3bblankingdialog.cpp @@ -67,8 +67,8 @@ public: }; -K3bBlankingDialog::K3bBlankingDialog( TQWidget* tqparent, const char* name ) - : K3bInteractionDialog( tqparent, name, +K3bBlankingDialog::K3bBlankingDialog( TQWidget* parent, const char* name ) + : K3bInteractionDialog( parent, name, i18n("Erase CD-RW"), TQString(), START_BUTTON|CANCEL_BUTTON, diff --git a/src/misc/k3bcdcopydialog.cpp b/src/misc/k3bcdcopydialog.cpp index 66b4171..413e9ba 100644 --- a/src/misc/k3bcdcopydialog.cpp +++ b/src/misc/k3bcdcopydialog.cpp @@ -63,8 +63,8 @@ #include <tqfileinfo.h> -K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *tqparent, const char *name, bool modal ) - : K3bInteractionDialog( tqparent, name, i18n("CD Copy"), i18n("and CD Cloning"), +K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal ) + : K3bInteractionDialog( parent, name, i18n("CD Copy"), i18n("and CD Cloning"), START_BUTTON|CANCEL_BUTTON, START_BUTTON, "CD Copy", diff --git a/src/misc/k3bcdcopydialog.h b/src/misc/k3bcdcopydialog.h index 818966c..e6c27f6 100644 --- a/src/misc/k3bcdcopydialog.h +++ b/src/misc/k3bcdcopydialog.h @@ -48,7 +48,7 @@ class K3bCdCopyDialog : public K3bInteractionDialog TQ_OBJECT public: - K3bCdCopyDialog(TQWidget *tqparent = 0, const char *name = 0, bool modal = true ); + K3bCdCopyDialog(TQWidget *parent = 0, const char *name = 0, bool modal = true ); ~K3bCdCopyDialog(); void setReadingDevice( K3bDevice::Device* ); diff --git a/src/misc/k3bcdimagewritingdialog.cpp b/src/misc/k3bcdimagewritingdialog.cpp index 9e3e7e6..99f3849 100644 --- a/src/misc/k3bcdimagewritingdialog.cpp +++ b/src/misc/k3bcdimagewritingdialog.cpp @@ -111,8 +111,8 @@ public: }; -K3bCdImageWritingDialog::K3bCdImageWritingDialog( TQWidget* tqparent, const char* name, bool modal ) - : K3bInteractionDialog( tqparent, name, +K3bCdImageWritingDialog::K3bCdImageWritingDialog( TQWidget* parent, const char* name, bool modal ) + : K3bInteractionDialog( parent, name, i18n("Burn CD Image"), "iso cue toc", START_BUTTON|CANCEL_BUTTON, diff --git a/src/misc/k3bdvdcopydialog.cpp b/src/misc/k3bdvdcopydialog.cpp index 999dc3a..ff721b3 100644 --- a/src/misc/k3bdvdcopydialog.cpp +++ b/src/misc/k3bdvdcopydialog.cpp @@ -55,8 +55,8 @@ -K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* tqparent, const char* name, bool modal ) - : K3bInteractionDialog( tqparent, name, +K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool modal ) + : K3bInteractionDialog( parent, name, i18n("DVD Copy"), i18n("No video transcoding!"), START_BUTTON|CANCEL_BUTTON, diff --git a/src/misc/k3bdvdcopydialog.h b/src/misc/k3bdvdcopydialog.h index 00436cc..469a1b6 100644 --- a/src/misc/k3bdvdcopydialog.h +++ b/src/misc/k3bdvdcopydialog.h @@ -41,7 +41,7 @@ class K3bDvdCopyDialog : public K3bInteractionDialog TQ_OBJECT public: - K3bDvdCopyDialog( TQWidget* tqparent = 0, const char* name = 0, bool modal = true ); + K3bDvdCopyDialog( TQWidget* parent = 0, const char* name = 0, bool modal = true ); ~K3bDvdCopyDialog(); void setReadingDevice( K3bDevice::Device* ); diff --git a/src/misc/k3bdvdformattingdialog.cpp b/src/misc/k3bdvdformattingdialog.cpp index 5289089..a232479 100644 --- a/src/misc/k3bdvdformattingdialog.cpp +++ b/src/misc/k3bdvdformattingdialog.cpp @@ -38,8 +38,8 @@ #include <tqwhatsthis.h> -K3bDvdFormattingDialog::K3bDvdFormattingDialog( TQWidget* tqparent, const char* name, bool modal ) - : K3bInteractionDialog( tqparent, name, +K3bDvdFormattingDialog::K3bDvdFormattingDialog( TQWidget* parent, const char* name, bool modal ) + : K3bInteractionDialog( parent, name, i18n("DVD Formatting"), i18n("DVD%1RW").tqarg("�"), START_BUTTON|CANCEL_BUTTON, diff --git a/src/misc/k3bisoimagewritingdialog.cpp b/src/misc/k3bisoimagewritingdialog.cpp index 2c9a2c8..687fd1a 100644 --- a/src/misc/k3bisoimagewritingdialog.cpp +++ b/src/misc/k3bisoimagewritingdialog.cpp @@ -83,8 +83,8 @@ public: }; -K3bIsoImageWritingDialog::K3bIsoImageWritingDialog( TQWidget* tqparent, const char* name, bool modal ) - : K3bInteractionDialog( tqparent, name, +K3bIsoImageWritingDialog::K3bIsoImageWritingDialog( TQWidget* parent, const char* name, bool modal ) + : K3bInteractionDialog( parent, name, i18n("Burn Iso9660 Image"), i18n("to DVD"), START_BUTTON|CANCEL_BUTTON, diff --git a/src/option/k3bburningoptiontab.cpp b/src/option/k3bburningoptiontab.cpp index 3238d41..18bc7be 100644 --- a/src/option/k3bburningoptiontab.cpp +++ b/src/option/k3bburningoptiontab.cpp @@ -39,8 +39,8 @@ #include <klineedit.h> -K3bBurningOptionTab::K3bBurningOptionTab( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ) +K3bBurningOptionTab::K3bBurningOptionTab( TQWidget* parent, const char* name ) + : TQWidget( parent, name ) { setupGui(); } diff --git a/src/option/k3bburningoptiontab.h b/src/option/k3bburningoptiontab.h index b62274e..ad26e11 100644 --- a/src/option/k3bburningoptiontab.h +++ b/src/option/k3bburningoptiontab.h @@ -36,7 +36,7 @@ Q_OBJECT TQ_OBJECT public: - K3bBurningOptionTab( TQWidget* tqparent = 0, const char* name = 0 ); + K3bBurningOptionTab( TQWidget* parent = 0, const char* name = 0 ); ~K3bBurningOptionTab(); void saveSettings(); diff --git a/src/option/k3bcddboptiontab.cpp b/src/option/k3bcddboptiontab.cpp index 3d75d9b..4410b4a 100644 --- a/src/option/k3bcddboptiontab.cpp +++ b/src/option/k3bcddboptiontab.cpp @@ -41,8 +41,8 @@ #include <kdeversion.h> -K3bCddbOptionTab::K3bCddbOptionTab( TQWidget* tqparent, const char* name ) - : base_K3bCddbOptionTab( tqparent, name ) +K3bCddbOptionTab::K3bCddbOptionTab( TQWidget* parent, const char* name ) + : base_K3bCddbOptionTab( parent, name ) { // fix all the margins and spacings that have been corrupted by TQDesigner ;-) // ----------------------------------------------------------------------------- diff --git a/src/option/k3bcddboptiontab.h b/src/option/k3bcddboptiontab.h index 2633b0a..8975fe4 100644 --- a/src/option/k3bcddboptiontab.h +++ b/src/option/k3bcddboptiontab.h @@ -25,7 +25,7 @@ class K3bCddbOptionTab : public base_K3bCddbOptionTab TQ_OBJECT public: - K3bCddbOptionTab( TQWidget* tqparent = 0, const char* name = 0 ); + K3bCddbOptionTab( TQWidget* parent = 0, const char* name = 0 ); ~K3bCddbOptionTab(); public slots: diff --git a/src/option/k3bdeviceoptiontab.cpp b/src/option/k3bdeviceoptiontab.cpp index 8931fe7..c8517a5 100644 --- a/src/option/k3bdeviceoptiontab.cpp +++ b/src/option/k3bdeviceoptiontab.cpp @@ -32,8 +32,8 @@ #include <kstandarddirs.h> -K3bDeviceOptionTab::K3bDeviceOptionTab( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ) +K3bDeviceOptionTab::K3bDeviceOptionTab( TQWidget* parent, const char* name ) + : TQWidget( parent, name ) { TQGridLayout* frameLayout = new TQGridLayout( this ); frameLayout->setSpacing( KDialog::spacingHint() ); diff --git a/src/option/k3bdevicewidget.cpp b/src/option/k3bdevicewidget.cpp index 2be5054..d19e42a 100644 --- a/src/option/k3bdevicewidget.cpp +++ b/src/option/k3bdevicewidget.cpp @@ -144,8 +144,8 @@ private: -K3bDeviceWidget::K3bDeviceWidget( K3bDevice::DeviceManager* manager, TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), m_deviceManager( manager ) +K3bDeviceWidget::K3bDeviceWidget( K3bDevice::DeviceManager* manager, TQWidget *parent, const char *name ) + : TQWidget( parent, name ), m_deviceManager( manager ) { TQGridLayout* frameLayout = new TQGridLayout( this ); frameLayout->setSpacing( KDialog::spacingHint() ); @@ -229,7 +229,7 @@ void K3bDeviceWidget::updateDeviceListViews() { m_viewDevices->clear(); - // create the tqparent view items + // create the parent view items // ----------------------------------------- m_writerParentViewItem = new TQListViewItem( m_viewDevices, i18n("Writer Drives") ); m_writerParentViewItem->setPixmap( 0, SmallIcon( "cdwriter_unmount" ) ); diff --git a/src/option/k3bdevicewidget.h b/src/option/k3bdevicewidget.h index b4e1590..a1e684f 100644 --- a/src/option/k3bdevicewidget.h +++ b/src/option/k3bdevicewidget.h @@ -45,7 +45,7 @@ class K3bDeviceWidget : public TQWidget TQ_OBJECT public: - K3bDeviceWidget( K3bDevice::DeviceManager*, TQWidget *tqparent = 0, const char *name = 0 ); + K3bDeviceWidget( K3bDevice::DeviceManager*, TQWidget *parent = 0, const char *name = 0 ); ~K3bDeviceWidget(); public slots: diff --git a/src/option/k3bexternalbinoptiontab.cpp b/src/option/k3bexternalbinoptiontab.cpp index 6be5b19..4d3e062 100644 --- a/src/option/k3bexternalbinoptiontab.cpp +++ b/src/option/k3bexternalbinoptiontab.cpp @@ -36,8 +36,8 @@ -K3bExternalBinOptionTab::K3bExternalBinOptionTab( K3bExternalBinManager* manager, TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ) +K3bExternalBinOptionTab::K3bExternalBinOptionTab( K3bExternalBinManager* manager, TQWidget* parent, const char* name ) + : TQWidget( parent, name ) { m_manager = manager; diff --git a/src/option/k3bexternalbinwidget.cpp b/src/option/k3bexternalbinwidget.cpp index a9d5129..f745da7 100644 --- a/src/option/k3bexternalbinwidget.cpp +++ b/src/option/k3bexternalbinwidget.cpp @@ -43,8 +43,8 @@ -K3bExternalBinWidget::K3bExternalProgramViewItem::K3bExternalProgramViewItem( K3bExternalProgram* p, TQListView* tqparent ) - : K3bListViewItem( tqparent ), m_program(p) +K3bExternalBinWidget::K3bExternalProgramViewItem::K3bExternalProgramViewItem( K3bExternalProgram* p, TQListView* parent ) + : K3bListViewItem( parent ), m_program(p) { TQFont f( listView()->font() ); f.setBold(true); @@ -57,8 +57,8 @@ K3bExternalBinWidget::K3bExternalProgramViewItem::K3bExternalProgramViewItem( K3 } -K3bExternalBinWidget::K3bExternalBinViewItem::K3bExternalBinViewItem( K3bExternalBin* bin, K3bExternalProgramViewItem* tqparent ) - : K3bListViewItem( tqparent ), m_bin( bin ), m_parent( tqparent ) +K3bExternalBinWidget::K3bExternalBinViewItem::K3bExternalBinViewItem( K3bExternalBin* bin, K3bExternalProgramViewItem* parent ) + : K3bListViewItem( parent ), m_bin( bin ), m_parent( parent ) { setText( 0, bin->path ); setText( 1, bin->version ); @@ -95,8 +95,8 @@ void K3bExternalBinWidget::K3bExternalBinViewItem::setDefault( bool b ) // ////////////////////////////////////////////////////////// -K3bExternalBinWidget::K3bExternalBinWidget( K3bExternalBinManager* manager, TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ), m_manager( manager ) +K3bExternalBinWidget::K3bExternalBinWidget( K3bExternalBinManager* manager, TQWidget* parent, const char* name ) + : TQWidget( parent, name ), m_manager( manager ) { TQGridLayout* mainGrid = new TQGridLayout( this ); mainGrid->setMargin( 0 ); @@ -292,7 +292,7 @@ void K3bExternalBinWidget::slotSetDefaultButtonClicked() // remove all default flags K3bExternalBinViewItem* bi = (K3bExternalBinViewItem*)item->parentProgramItem()->firstChild(); TQListViewItemIterator it( bi ); - while( it.current() && it.current()->tqparent() == item->parentProgramItem() ) { + while( it.current() && it.current()->parent() == item->parentProgramItem() ) { ((K3bExternalBinViewItem*)it.current())->setDefault(false); ++it; } diff --git a/src/option/k3bexternalbinwidget.h b/src/option/k3bexternalbinwidget.h index cc0a9a8..08c2a59 100644 --- a/src/option/k3bexternalbinwidget.h +++ b/src/option/k3bexternalbinwidget.h @@ -38,7 +38,7 @@ class K3bExternalBinWidget : public TQWidget TQ_OBJECT public: - K3bExternalBinWidget( K3bExternalBinManager*, TQWidget* tqparent = 0, const char* name = 0 ); + K3bExternalBinWidget( K3bExternalBinManager*, TQWidget* parent = 0, const char* name = 0 ); ~K3bExternalBinWidget(); class K3bExternalBinViewItem; @@ -72,7 +72,7 @@ class K3bExternalBinWidget : public TQWidget class K3bExternalBinWidget::K3bExternalProgramViewItem : public K3bListViewItem { public: - K3bExternalProgramViewItem( K3bExternalProgram* p, TQListView* tqparent ); + K3bExternalProgramViewItem( K3bExternalProgram* p, TQListView* parent ); K3bExternalProgram* program() const { return m_program; } @@ -85,7 +85,7 @@ class K3bExternalBinWidget::K3bExternalProgramViewItem : public K3bListViewItem class K3bExternalBinWidget::K3bExternalBinViewItem : public K3bListViewItem { public: - K3bExternalBinViewItem( K3bExternalBin* bin, K3bExternalProgramViewItem* tqparent ); + K3bExternalBinViewItem( K3bExternalBin* bin, K3bExternalProgramViewItem* parent ); K3bExternalBin* bin() const { return m_bin; } K3bExternalProgramViewItem* parentProgramItem() const { return m_parent; } diff --git a/src/option/k3bmiscoptiontab.cpp b/src/option/k3bmiscoptiontab.cpp index d6c7de0..cf740eb 100644 --- a/src/option/k3bmiscoptiontab.cpp +++ b/src/option/k3bmiscoptiontab.cpp @@ -38,8 +38,8 @@ #include <kcombobox.h> -K3bMiscOptionTab::K3bMiscOptionTab(TQWidget *tqparent, const char *name ) - : base_K3bMiscOptionTab(tqparent,name) +K3bMiscOptionTab::K3bMiscOptionTab(TQWidget *parent, const char *name ) + : base_K3bMiscOptionTab(parent,name) { m_editTempDir->setMode( KFile::Directory ); connect( m_buttonConfigureAudioOutput, TQT_SIGNAL(clicked()), diff --git a/src/option/k3bmiscoptiontab.h b/src/option/k3bmiscoptiontab.h index 1c5de7e..bc09181 100644 --- a/src/option/k3bmiscoptiontab.h +++ b/src/option/k3bmiscoptiontab.h @@ -31,7 +31,7 @@ class K3bMiscOptionTab : public base_K3bMiscOptionTab TQ_OBJECT public: - K3bMiscOptionTab(TQWidget *tqparent=0, const char *name=0); + K3bMiscOptionTab(TQWidget *parent=0, const char *name=0); ~K3bMiscOptionTab(); void readSettings(); diff --git a/src/option/k3bnotifyoptiontab.cpp b/src/option/k3bnotifyoptiontab.cpp index 0cc6e5d..c94359f 100644 --- a/src/option/k3bnotifyoptiontab.cpp +++ b/src/option/k3bnotifyoptiontab.cpp @@ -25,8 +25,8 @@ -K3bNotifyOptionTab::K3bNotifyOptionTab( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ) +K3bNotifyOptionTab::K3bNotifyOptionTab( TQWidget* parent, const char* name ) + : TQWidget( parent, name ) { m_notifyWidget = new KNotify::KNotifyWidget( this ); diff --git a/src/option/k3bnotifyoptiontab.h b/src/option/k3bnotifyoptiontab.h index 6eb3fed..22a0b2c 100644 --- a/src/option/k3bnotifyoptiontab.h +++ b/src/option/k3bnotifyoptiontab.h @@ -31,7 +31,7 @@ class K3bNotifyOptionTab : public TQWidget TQ_OBJECT public: - K3bNotifyOptionTab( TQWidget* tqparent = 0, const char* name = 0 ); + K3bNotifyOptionTab( TQWidget* parent = 0, const char* name = 0 ); ~K3bNotifyOptionTab(); void readSettings(); diff --git a/src/option/k3boptiondialog.cpp b/src/option/k3boptiondialog.cpp index 91a9fb3..4be5047 100644 --- a/src/option/k3boptiondialog.cpp +++ b/src/option/k3boptiondialog.cpp @@ -40,8 +40,8 @@ // TODO: handle the default-settings -K3bOptionDialog::K3bOptionDialog(TQWidget *tqparent, const char *name, bool modal ) - : KDialogBase( IconList, i18n("Settings"), Apply|Ok|Cancel, Ok, tqparent,name, modal, true) +K3bOptionDialog::K3bOptionDialog(TQWidget *parent, const char *name, bool modal ) + : KDialogBase( IconList, i18n("Settings"), Apply|Ok|Cancel, Ok, parent,name, modal, true) { setupMiscPage(); setupDevicePage(); diff --git a/src/option/k3boptiondialog.h b/src/option/k3boptiondialog.h index c033504..8bd6809 100644 --- a/src/option/k3boptiondialog.h +++ b/src/option/k3boptiondialog.h @@ -38,7 +38,7 @@ class K3bOptionDialog : public KDialogBase TQ_OBJECT public: - K3bOptionDialog(TQWidget *tqparent=0, const char *name=0, bool modal = true); + K3bOptionDialog(TQWidget *parent=0, const char *name=0, bool modal = true); ~K3bOptionDialog(); enum m_configPageIndex { Burning = 0, Devices = 1, Programs = 2, Cddb = 3 }; diff --git a/src/option/k3bpluginoptiontab.cpp b/src/option/k3bpluginoptiontab.cpp index 2e67ae5..a48d001 100644 --- a/src/option/k3bpluginoptiontab.cpp +++ b/src/option/k3bpluginoptiontab.cpp @@ -37,8 +37,8 @@ class K3bPluginOptionTab::PluginViewItem : public K3bListViewItem { public: - PluginViewItem( K3bPlugin* p, KListViewItem* tqparent ) - : K3bListViewItem( tqparent ), + PluginViewItem( K3bPlugin* p, KListViewItem* parent ) + : K3bListViewItem( parent ), plugin(p) { const K3bPluginInfo& info = p->pluginInfo(); setText( 0, info.name() ); @@ -58,8 +58,8 @@ public: -K3bPluginOptionTab::K3bPluginOptionTab( TQWidget* tqparent, const char* name ) - : base_K3bPluginOptionTab( tqparent, name ) +K3bPluginOptionTab::K3bPluginOptionTab( TQWidget* parent, const char* name ) + : base_K3bPluginOptionTab( parent, name ) { #if KDE_IS_VERSION(3,4,0) m_viewPlugins->setShadeSortColumn( false ); diff --git a/src/option/k3bpluginoptiontab.h b/src/option/k3bpluginoptiontab.h index c9db5af..e2681bd 100644 --- a/src/option/k3bpluginoptiontab.h +++ b/src/option/k3bpluginoptiontab.h @@ -26,7 +26,7 @@ class K3bPluginOptionTab : public base_K3bPluginOptionTab TQ_OBJECT public: - K3bPluginOptionTab( TQWidget* tqparent = 0, const char* name = 0 ); + K3bPluginOptionTab( TQWidget* parent = 0, const char* name = 0 ); ~K3bPluginOptionTab(); public slots: diff --git a/src/option/k3bthemeoptiontab.cpp b/src/option/k3bthemeoptiontab.cpp index 005af83..45e435c 100644 --- a/src/option/k3bthemeoptiontab.cpp +++ b/src/option/k3bthemeoptiontab.cpp @@ -46,8 +46,8 @@ public: class ThemeViewItem : public KListViewItem { public: - ThemeViewItem( K3bTheme* theme_, TQListView* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ), + ThemeViewItem( K3bTheme* theme_, TQListView* parent, TQListViewItem* after ) + : KListViewItem( parent, after ), theme(theme_) { setText( 0, theme->name() ); setText( 1, theme->author() ); @@ -58,8 +58,8 @@ public: K3bTheme* theme; }; -K3bThemeOptionTab::K3bThemeOptionTab(TQWidget *tqparent, const char *name ) - : base_K3bThemeOptionTab(tqparent,name) +K3bThemeOptionTab::K3bThemeOptionTab(TQWidget *parent, const char *name ) + : base_K3bThemeOptionTab(parent,name) { d = new Private(); diff --git a/src/option/k3bthemeoptiontab.h b/src/option/k3bthemeoptiontab.h index d247f94..04a88b0 100644 --- a/src/option/k3bthemeoptiontab.h +++ b/src/option/k3bthemeoptiontab.h @@ -29,7 +29,7 @@ class K3bThemeOptionTab : public base_K3bThemeOptionTab TQ_OBJECT public: - K3bThemeOptionTab( TQWidget* tqparent = 0, const char* name = 0 ); + K3bThemeOptionTab( TQWidget* parent = 0, const char* name = 0 ); ~K3bThemeOptionTab(); void readSettings(); diff --git a/src/projects/k3baudioburndialog.cpp b/src/projects/k3baudioburndialog.cpp index 4ec9ff3..0634caa 100644 --- a/src/projects/k3baudioburndialog.cpp +++ b/src/projects/k3baudioburndialog.cpp @@ -55,8 +55,8 @@ #include <kmessagebox.h> -K3bAudioBurnDialog::K3bAudioBurnDialog(K3bAudioDoc* _doc, TQWidget *tqparent, const char *name, bool modal ) - : K3bProjectBurnDialog( _doc, tqparent, name, modal ), +K3bAudioBurnDialog::K3bAudioBurnDialog(K3bAudioDoc* _doc, TQWidget *parent, const char *name, bool modal ) + : K3bProjectBurnDialog( _doc, parent, name, modal ), m_doc(_doc) { prepareGui(); diff --git a/src/projects/k3baudioburndialog.h b/src/projects/k3baudioburndialog.h index 64355a2..3b3bb07 100644 --- a/src/projects/k3baudioburndialog.h +++ b/src/projects/k3baudioburndialog.h @@ -45,7 +45,7 @@ class K3bAudioBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bAudioBurnDialog(K3bAudioDoc* doc, TQWidget *tqparent=0, const char *name=0, bool modal = true ); + K3bAudioBurnDialog(K3bAudioDoc* doc, TQWidget *parent=0, const char *name=0, bool modal = true ); ~K3bAudioBurnDialog(); protected: diff --git a/src/projects/k3baudiocdtextwidget.cpp b/src/projects/k3baudiocdtextwidget.cpp index f6237b9..a1dff26 100644 --- a/src/projects/k3baudiocdtextwidget.cpp +++ b/src/projects/k3baudiocdtextwidget.cpp @@ -36,8 +36,8 @@ class K3bAudioCdTextWidget::AllFieldsDialog : public KDialogBase { public: - AllFieldsDialog( TQWidget* tqparent ) - : KDialogBase( tqparent, + AllFieldsDialog( TQWidget* parent ) + : KDialogBase( parent, "cdtext_allfields_dialog", true, i18n("CD-Text"), @@ -52,8 +52,8 @@ public: }; -K3bAudioCdTextWidget::K3bAudioCdTextWidget( TQWidget* tqparent, const char* name ) - : base_K3bAudioCdTextWidget( tqparent, name ), +K3bAudioCdTextWidget::K3bAudioCdTextWidget( TQWidget* parent, const char* name ) + : base_K3bAudioCdTextWidget( parent, name ), m_doc(0) { m_allFieldsDlg = new AllFieldsDialog( this ); diff --git a/src/projects/k3baudiocdtextwidget.h b/src/projects/k3baudiocdtextwidget.h index 88ff568..e4c2e35 100644 --- a/src/projects/k3baudiocdtextwidget.h +++ b/src/projects/k3baudiocdtextwidget.h @@ -28,7 +28,7 @@ class K3bAudioCdTextWidget : public base_K3bAudioCdTextWidget TQ_OBJECT public: - K3bAudioCdTextWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioCdTextWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioCdTextWidget(); bool isChecked() const; diff --git a/src/projects/k3baudiodatasourceeditwidget.cpp b/src/projects/k3baudiodatasourceeditwidget.cpp index 541c946..4a6e722 100644 --- a/src/projects/k3baudiodatasourceeditwidget.cpp +++ b/src/projects/k3baudiodatasourceeditwidget.cpp @@ -27,8 +27,8 @@ #include <kdialog.h> -K3bAudioDataSourceEditWidget::K3bAudioDataSourceEditWidget( TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name ), +K3bAudioDataSourceEditWidget::K3bAudioDataSourceEditWidget( TQWidget* parent, const char* name ) + : TQWidget( parent, name ), m_source(0) { m_editor = new K3bAudioEditorWidget( this ); diff --git a/src/projects/k3baudiodatasourceeditwidget.h b/src/projects/k3baudiodatasourceeditwidget.h index 10a7ace..4fe29f4 100644 --- a/src/projects/k3baudiodatasourceeditwidget.h +++ b/src/projects/k3baudiodatasourceeditwidget.h @@ -33,7 +33,7 @@ class K3bAudioDataSourceEditWidget : public TQWidget TQ_OBJECT public: - K3bAudioDataSourceEditWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioDataSourceEditWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioDataSourceEditWidget(); K3b::Msf startOffset() const; diff --git a/src/projects/k3baudiodatasourceviewitem.cpp b/src/projects/k3baudiodatasourceviewitem.cpp index eb70a66..6609d00 100644 --- a/src/projects/k3baudiodatasourceviewitem.cpp +++ b/src/projects/k3baudiodatasourceviewitem.cpp @@ -23,11 +23,11 @@ #include <kiconloader.h> -K3bAudioDataSourceViewItem::K3bAudioDataSourceViewItem( K3bAudioTrackViewItem* tqparent, +K3bAudioDataSourceViewItem::K3bAudioDataSourceViewItem( K3bAudioTrackViewItem* parent, K3bAudioDataSourceViewItem* after, K3bAudioDataSource* source ) - : K3bListViewItem( tqparent, after ), - m_trackViewItem( tqparent ), + : K3bListViewItem( parent, after ), + m_trackViewItem( parent ), m_source( source ), m_animationCounter(1) { diff --git a/src/projects/k3baudiodatasourceviewitem.h b/src/projects/k3baudiodatasourceviewitem.h index 7b2fb5a..89a7c74 100644 --- a/src/projects/k3baudiodatasourceviewitem.h +++ b/src/projects/k3baudiodatasourceviewitem.h @@ -25,7 +25,7 @@ class K3bAudioTrackViewItem; class K3bAudioDataSourceViewItem : public K3bListViewItem { public: - K3bAudioDataSourceViewItem( K3bAudioTrackViewItem* tqparent, + K3bAudioDataSourceViewItem( K3bAudioTrackViewItem* parent, K3bAudioDataSourceViewItem* after, K3bAudioDataSource* ); diff --git a/src/projects/k3baudioeditorwidget.cpp b/src/projects/k3baudioeditorwidget.cpp index 186fdb5..fe0be91 100644 --- a/src/projects/k3baudioeditorwidget.cpp +++ b/src/projects/k3baudioeditorwidget.cpp @@ -168,8 +168,8 @@ public: }; -K3bAudioEditorWidget::K3bAudioEditorWidget( TQWidget* tqparent, const char* name ) - : TQFrame( tqparent, name, TQt::WNoAutoErase ), +K3bAudioEditorWidget::K3bAudioEditorWidget( TQWidget* parent, const char* name ) + : TQFrame( parent, name, TQt::WNoAutoErase ), m_maxMarkers(1), m_idCnt(1), m_mouseAt(true), diff --git a/src/projects/k3baudioeditorwidget.h b/src/projects/k3baudioeditorwidget.h index fdb3088..b2edfa2 100644 --- a/src/projects/k3baudioeditorwidget.h +++ b/src/projects/k3baudioeditorwidget.h @@ -31,7 +31,7 @@ class K3bAudioEditorWidget : public TQFrame TQ_OBJECT public: - K3bAudioEditorWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioEditorWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioEditorWidget(); TQSize tqsizeHint() const; diff --git a/src/projects/k3baudiotrackaddingdialog.cpp b/src/projects/k3baudiotrackaddingdialog.cpp index 6894732..5e5ca7e 100644 --- a/src/projects/k3baudiotrackaddingdialog.cpp +++ b/src/projects/k3baudiotrackaddingdialog.cpp @@ -54,12 +54,12 @@ public: }; -K3bAudioTrackAddingDialog::K3bAudioTrackAddingDialog( TQWidget* tqparent, const char* name ) +K3bAudioTrackAddingDialog::K3bAudioTrackAddingDialog( TQWidget* parent, const char* name ) : KDialogBase( Plain, i18n("Please be patient..."), Cancel, Cancel, - tqparent, + parent, name, true, true ), @@ -93,12 +93,12 @@ int K3bAudioTrackAddingDialog::addUrls( const KURL::List& urls, K3bAudioTrack* afterTrack, K3bAudioTrack* parentTrack, K3bAudioDataSource* afterSource, - TQWidget* tqparent ) + TQWidget* parent ) { if( urls.isEmpty() ) return 0; - K3bAudioTrackAddingDialog dlg( tqparent ); + K3bAudioTrackAddingDialog dlg( parent ); dlg.m_urls = extractUrlList( urls ); dlg.m_doc = doc; dlg.m_trackAfter = afterTrack; @@ -132,7 +132,7 @@ int K3bAudioTrackAddingDialog::addUrls( const KURL::List& urls, .tqarg( dlg.m_unsupportedFiles.join( "<br>" ) ); if( !message.isEmpty() ) - KMessageBox::detailedSorry( tqparent, i18n("Problems while adding files to the project."), message ); + KMessageBox::detailedSorry( parent, i18n("Problems while adding files to the project."), message ); return ret; } diff --git a/src/projects/k3baudiotrackaddingdialog.h b/src/projects/k3baudiotrackaddingdialog.h index 9fa5485..f0ee9cf 100644 --- a/src/projects/k3baudiotrackaddingdialog.h +++ b/src/projects/k3baudiotrackaddingdialog.h @@ -68,7 +68,7 @@ class K3bAudioTrackAddingDialog : public KDialogBase, public K3bJobHandler K3bAudioTrack* afterTrack = 0, K3bAudioTrack* parentTrack = 0, K3bAudioDataSource* afterSource = 0, - TQWidget* tqparent = 0 ); + TQWidget* parent = 0 ); private slots: void slotAddUrls(); @@ -76,7 +76,7 @@ class K3bAudioTrackAddingDialog : public KDialogBase, public K3bJobHandler void slotCancel(); private: - K3bAudioTrackAddingDialog( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioTrackAddingDialog( TQWidget* parent = 0, const char* name = 0 ); static KURL::List extractUrlList( const KURL::List& urls ); diff --git a/src/projects/k3baudiotrackdialog.cpp b/src/projects/k3baudiotrackdialog.cpp index 676e12b..bdfb9f0 100644 --- a/src/projects/k3baudiotrackdialog.cpp +++ b/src/projects/k3baudiotrackdialog.cpp @@ -54,10 +54,10 @@ // do only show cd-text and options (eventuelle index0) -K3bAudioTrackDialog::K3bAudioTrackDialog( TQPtrList<K3bAudioTrack>& tracks, TQWidget *tqparent, const char *name ) +K3bAudioTrackDialog::K3bAudioTrackDialog( TQPtrList<K3bAudioTrack>& tracks, TQWidget *parent, const char *name ) : KDialogBase( KDialogBase::Plain, i18n("Audio Track Properties"), KDialogBase::Ok|KDialogBase::Cancel|KDialogBase::Apply, - KDialogBase::Ok, tqparent, name ) + KDialogBase::Ok, parent, name ) { m_tracks = tracks; diff --git a/src/projects/k3baudiotrackdialog.h b/src/projects/k3baudiotrackdialog.h index 8eb0ce6..36a5eff 100644 --- a/src/projects/k3baudiotrackdialog.h +++ b/src/projects/k3baudiotrackdialog.h @@ -37,7 +37,7 @@ class K3bAudioTrackDialog : public KDialogBase TQ_OBJECT public: - K3bAudioTrackDialog( TQPtrList<K3bAudioTrack>&, TQWidget *tqparent=0, const char *name=0); + K3bAudioTrackDialog( TQPtrList<K3bAudioTrack>&, TQWidget *parent=0, const char *name=0); ~K3bAudioTrackDialog(); protected slots: diff --git a/src/projects/k3baudiotrackplayer.cpp b/src/projects/k3baudiotrackplayer.cpp index 1175de7..adc1e41 100644 --- a/src/projects/k3baudiotrackplayer.cpp +++ b/src/projects/k3baudiotrackplayer.cpp @@ -52,8 +52,8 @@ public: }; -K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ), +K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent, const char* name ) + : TQObject( parent, name ), K3bAudioClient(), m_doc( doc ), m_currentTrack( 0 ) diff --git a/src/projects/k3baudiotrackplayer.h b/src/projects/k3baudiotrackplayer.h index 7868500..b4e7aff 100644 --- a/src/projects/k3baudiotrackplayer.h +++ b/src/projects/k3baudiotrackplayer.h @@ -33,7 +33,7 @@ class K3bAudioTrackPlayer : public TQObject, public K3bAudioClient TQ_OBJECT public: - K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* tqparent = 0, const char* name = 0 ); + K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent = 0, const char* name = 0 ); ~K3bAudioTrackPlayer(); K3bAudioTrack* currentPlayingTrack() const { return m_currentTrack; } diff --git a/src/projects/k3baudiotracksplitdialog.cpp b/src/projects/k3baudiotracksplitdialog.cpp index 9ec443a..6a987e6 100644 --- a/src/projects/k3baudiotracksplitdialog.cpp +++ b/src/projects/k3baudiotracksplitdialog.cpp @@ -30,10 +30,10 @@ #include <tqlayout.h> -K3bAudioTrackSplitDialog::K3bAudioTrackSplitDialog( K3bAudioTrack* track, TQWidget* tqparent, const char* name ) +K3bAudioTrackSplitDialog::K3bAudioTrackSplitDialog( K3bAudioTrack* track, TQWidget* parent, const char* name ) : KDialogBase( KDialogBase::Plain, i18n("Split Audio Track"), KDialogBase::Ok|KDialogBase::Cancel, - KDialogBase::Ok, tqparent, name ), + KDialogBase::Ok, parent, name ), m_track(track) { TQFrame* frame = plainPage(); @@ -193,10 +193,10 @@ void K3bAudioTrackSplitDialog::slotRemoveRange() void K3bAudioTrackSplitDialog::splitTrack( K3bAudioTrack* track, - TQWidget* tqparent, + TQWidget* parent, const char* name ) { - K3bAudioTrackSplitDialog d( track, tqparent, name ); + K3bAudioTrackSplitDialog d( track, parent, name ); if( d.exec() == TQDialog::Accepted ) { TQValueList<int> ranges = d.m_editorWidget->allRanges(); // we split the track at all range ends and just delete those that relate to the gaps in between diff --git a/src/projects/k3baudiotracksplitdialog.h b/src/projects/k3baudiotracksplitdialog.h index ce9b01b..58ade55 100644 --- a/src/projects/k3baudiotracksplitdialog.h +++ b/src/projects/k3baudiotracksplitdialog.h @@ -37,7 +37,7 @@ class K3bAudioTrackSplitDialog : public KDialogBase TQ_OBJECT public: - K3bAudioTrackSplitDialog( K3bAudioTrack*, TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioTrackSplitDialog( K3bAudioTrack*, TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioTrackSplitDialog(); bool eventFilter( TQObject* o, TQEvent* e ); @@ -47,7 +47,7 @@ class K3bAudioTrackSplitDialog : public KDialogBase /** * if this method returns true val is filled with the user selected value. */ - static void splitTrack( K3bAudioTrack* track, TQWidget* tqparent = 0, const char* name = 0 ); + static void splitTrack( K3bAudioTrack* track, TQWidget* parent = 0, const char* name = 0 ); private slots: void slotRangeModified( int, const K3b::Msf& start, const K3b::Msf& ); diff --git a/src/projects/k3baudiotracktrmlookupdialog.cpp b/src/projects/k3baudiotracktrmlookupdialog.cpp index 0187d33..0bf23ec 100644 --- a/src/projects/k3baudiotracktrmlookupdialog.cpp +++ b/src/projects/k3baudiotracktrmlookupdialog.cpp @@ -41,12 +41,12 @@ #include <tqapplication.h> -K3bAudioTrackTRMLookupDialog::K3bAudioTrackTRMLookupDialog( TQWidget* tqparent, const char* name ) +K3bAudioTrackTRMLookupDialog::K3bAudioTrackTRMLookupDialog( TQWidget* parent, const char* name ) : KDialogBase( KDialogBase::Plain, i18n("MusicBrainz Query"), KDialogBase::Cancel, KDialogBase::Cancel, - tqparent, + parent, name, true, true ) diff --git a/src/projects/k3baudiotracktrmlookupdialog.h b/src/projects/k3baudiotracktrmlookupdialog.h index f0d6718..b3cde66 100644 --- a/src/projects/k3baudiotracktrmlookupdialog.h +++ b/src/projects/k3baudiotracktrmlookupdialog.h @@ -31,7 +31,7 @@ class K3bAudioTrackTRMLookupDialog : public KDialogBase TQ_OBJECT public: - K3bAudioTrackTRMLookupDialog( TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioTrackTRMLookupDialog( TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioTrackTRMLookupDialog(); /** diff --git a/src/projects/k3baudiotrackview.cpp b/src/projects/k3baudiotrackview.cpp index 4aebd99..23f3478 100644 --- a/src/projects/k3baudiotrackview.cpp +++ b/src/projects/k3baudiotrackview.cpp @@ -61,8 +61,8 @@ #include <kdialogbase.h> -K3bAudioTrackView::K3bAudioTrackView( K3bAudioDoc* doc, TQWidget* tqparent, const char* name ) - : K3bListView( tqparent, name ), +K3bAudioTrackView::K3bAudioTrackView( K3bAudioDoc* doc, TQWidget* parent, const char* name ) + : K3bListView( parent, name ), m_doc(doc), m_updatingColumnWidths(false), m_currentMouseOverItem(0), @@ -230,7 +230,7 @@ TQDragObject* K3bAudioTrackView::dragObject() } -void K3bAudioTrackView::slotDropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewItem* after ) +void K3bAudioTrackView::slotDropped( TQDropEvent* e, TQListViewItem* parent, TQListViewItem* after ) { m_autoOpenTrackTimer->stop(); @@ -249,7 +249,7 @@ void K3bAudioTrackView::slotDropped( TQDropEvent* e, TQListViewItem* tqparent, T } } - if( K3bAudioTrackViewItem* tv = dynamic_cast<K3bAudioTrackViewItem*>( tqparent ) ) { + if( K3bAudioTrackViewItem* tv = dynamic_cast<K3bAudioTrackViewItem*>( parent ) ) { m_dropTrackParent = tv->track(); } @@ -594,12 +594,12 @@ void K3bAudioTrackView::contentsDragLeaveEvent( TQDragLeaveEvent* e ) K3bAudioTrackViewItem* K3bAudioTrackView::findTrackItem( const TQPoint& pos ) const { - TQListViewItem* tqparent = 0; + TQListViewItem* parent = 0; TQListViewItem* after = 0; K3bAudioTrackView* that = const_cast<K3bAudioTrackView*>(this); - that->findDrop( pos, tqparent, after ); - if( tqparent ) - return static_cast<K3bAudioTrackViewItem*>( tqparent ); + that->findDrop( pos, parent, after ); + if( parent ) + return static_cast<K3bAudioTrackViewItem*>( parent ); else if( K3bAudioTrackViewItem* tv = dynamic_cast<K3bAudioTrackViewItem*>(after) ) return tv; else if( K3bAudioDataSourceViewItem* sv = dynamic_cast<K3bAudioDataSourceViewItem*>(after) ) diff --git a/src/projects/k3baudiotrackview.h b/src/projects/k3baudiotrackview.h index fb52509..5618089 100644 --- a/src/projects/k3baudiotrackview.h +++ b/src/projects/k3baudiotrackview.h @@ -46,7 +46,7 @@ class K3bAudioTrackView : public K3bListView TQ_OBJECT public: - K3bAudioTrackView( K3bAudioDoc*, TQWidget* tqparent, const char* name = 0 ); + K3bAudioTrackView( K3bAudioDoc*, TQWidget* parent, const char* name = 0 ); ~K3bAudioTrackView(); KActionCollection* actionCollection() const { return m_actionCollection; } @@ -106,7 +106,7 @@ class K3bAudioTrackView : public K3bListView private slots: void slotAnimation(); - void slotDropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewItem* after ); + void slotDropped( TQDropEvent* e, TQListViewItem* parent, TQListViewItem* after ); void slotChanged(); void slotTrackChanged( K3bAudioTrack* ); void slotTrackRemoved( K3bAudioTrack* ); diff --git a/src/projects/k3baudiotrackviewitem.cpp b/src/projects/k3baudiotrackviewitem.cpp index 6c0418f..24d6f48 100644 --- a/src/projects/k3baudiotrackviewitem.cpp +++ b/src/projects/k3baudiotrackviewitem.cpp @@ -25,10 +25,10 @@ #include <tqpainter.h> -K3bAudioTrackViewItem::K3bAudioTrackViewItem( K3bAudioTrackView* tqparent, +K3bAudioTrackViewItem::K3bAudioTrackViewItem( K3bAudioTrackView* parent, K3bAudioTrackViewItem* after, K3bAudioTrack* track ) - : K3bListViewItem( tqparent, after ), + : K3bListViewItem( parent, after ), m_track( track ), m_alreadyRemoved(false), m_showingSources(false), diff --git a/src/projects/k3baudiotrackviewitem.h b/src/projects/k3baudiotrackviewitem.h index c9974ba..ecd40f9 100644 --- a/src/projects/k3baudiotrackviewitem.h +++ b/src/projects/k3baudiotrackviewitem.h @@ -25,7 +25,7 @@ class K3bAudioTrack; class K3bAudioTrackViewItem : public K3bListViewItem { public: - K3bAudioTrackViewItem( K3bAudioTrackView* tqparent, + K3bAudioTrackViewItem( K3bAudioTrackView* parent, K3bAudioTrackViewItem* after, K3bAudioTrack* track ); ~K3bAudioTrackViewItem(); diff --git a/src/projects/k3baudiotrackwidget.cpp b/src/projects/k3baudiotrackwidget.cpp index 6dc0fe3..76f0c97 100644 --- a/src/projects/k3baudiotrackwidget.cpp +++ b/src/projects/k3baudiotrackwidget.cpp @@ -36,8 +36,8 @@ K3bAudioTrackWidget::K3bAudioTrackWidget( const TQPtrList<K3bAudioTrack>& tracks, - TQWidget* tqparent, const char* name ) - : base_K3bAudioTrackWidget( tqparent, name ), + TQWidget* parent, const char* name ) + : base_K3bAudioTrackWidget( parent, name ), m_tracks(tracks) { m_labelPostGap->setBuddy( m_editPostGap ); diff --git a/src/projects/k3baudiotrackwidget.h b/src/projects/k3baudiotrackwidget.h index bd7124b..aea9310 100644 --- a/src/projects/k3baudiotrackwidget.h +++ b/src/projects/k3baudiotrackwidget.h @@ -36,7 +36,7 @@ class K3bAudioTrackWidget : public base_K3bAudioTrackWidget public: K3bAudioTrackWidget( const TQPtrList<K3bAudioTrack>& tracks, - TQWidget* tqparent = 0, const char* name = 0 ); + TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioTrackWidget(); public slots: diff --git a/src/projects/k3baudioview.cpp b/src/projects/k3baudioview.cpp index 929907e..c0019b9 100644 --- a/src/projects/k3baudioview.cpp +++ b/src/projects/k3baudioview.cpp @@ -49,8 +49,8 @@ -K3bAudioView::K3bAudioView( K3bAudioDoc* pDoc, TQWidget* tqparent, const char *name ) - : K3bView( pDoc, tqparent, name ) +K3bAudioView::K3bAudioView( K3bAudioDoc* pDoc, TQWidget* parent, const char *name ) + : K3bView( pDoc, parent, name ) { m_doc = pDoc; @@ -115,9 +115,9 @@ void K3bAudioView::init() } -K3bProjectBurnDialog* K3bAudioView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bAudioView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bAudioBurnDialog( m_doc, tqparent, name, true ); + return new K3bAudioBurnDialog( m_doc, parent, name, true ); } diff --git a/src/projects/k3baudioview.h b/src/projects/k3baudioview.h index 006ee14..40dd01f 100644 --- a/src/projects/k3baudioview.h +++ b/src/projects/k3baudioview.h @@ -37,7 +37,7 @@ class K3bAudioView : public K3bView TQ_OBJECT public: - K3bAudioView( K3bAudioDoc* pDoc, TQWidget* tqparent, const char *name = 0 ); + K3bAudioView( K3bAudioDoc* pDoc, TQWidget* parent, const char *name = 0 ); ~K3bAudioView(); K3bAudioTrackPlayer* player() const { return m_songlist->player(); } @@ -46,7 +46,7 @@ class K3bAudioView : public K3bView void addUrls( const KURL::List& ); protected: - K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); void init(); diff --git a/src/projects/k3bbootimagedialog.cpp b/src/projects/k3bbootimagedialog.cpp index 2cd1a63..a722736 100644 --- a/src/projects/k3bbootimagedialog.cpp +++ b/src/projects/k3bbootimagedialog.cpp @@ -21,10 +21,10 @@ K3bBootImageDialog::K3bBootImageDialog( K3bDataDoc* doc, - TQWidget* tqparent, + TQWidget* parent, const char* name, bool modal ) - : KDialogBase( tqparent, name, modal, i18n("Boot Images"), Ok ) + : KDialogBase( parent, name, modal, i18n("Boot Images"), Ok ) { m_bootImageView = new K3bBootImageView( doc, this ); setMainWidget( m_bootImageView ); diff --git a/src/projects/k3bbootimagedialog.h b/src/projects/k3bbootimagedialog.h index 6f42849..9887b46 100644 --- a/src/projects/k3bbootimagedialog.h +++ b/src/projects/k3bbootimagedialog.h @@ -30,7 +30,7 @@ class K3bBootImageDialog : public KDialogBase public: K3bBootImageDialog( K3bDataDoc*, - TQWidget* tqparent = 0, + TQWidget* parent = 0, const char* name = 0, bool modal = true ); ~K3bBootImageDialog(); diff --git a/src/projects/k3bbootimageview.cpp b/src/projects/k3bbootimageview.cpp index 718bc04..92b4c87 100644 --- a/src/projects/k3bbootimageview.cpp +++ b/src/projects/k3bbootimageview.cpp @@ -39,14 +39,14 @@ class K3bBootImageView::PrivateBootImageViewItem : public KListViewItem { public: - PrivateBootImageViewItem( K3bBootItem* image, TQListView* tqparent ) - : KListViewItem( tqparent ), + PrivateBootImageViewItem( K3bBootItem* image, TQListView* parent ) + : KListViewItem( parent ), m_image( image ) { } - PrivateBootImageViewItem( K3bBootItem* image, TQListView* tqparent, TQListViewItem* after ) - : KListViewItem( tqparent, after ), + PrivateBootImageViewItem( K3bBootItem* image, TQListView* parent, TQListViewItem* after ) + : KListViewItem( parent, after ), m_image( image ) { } @@ -75,8 +75,8 @@ private: }; -K3bBootImageView::K3bBootImageView( K3bDataDoc* doc, TQWidget* tqparent, const char* name ) - : base_K3bBootImageView( tqparent, name ), +K3bBootImageView::K3bBootImageView( K3bDataDoc* doc, TQWidget* parent, const char* name ) + : base_K3bBootImageView( parent, name ), m_doc(doc) { connect( m_buttonNew, TQT_SIGNAL(clicked()), diff --git a/src/projects/k3bbootimageview.h b/src/projects/k3bbootimageview.h index 102cedd..de0ca6a 100644 --- a/src/projects/k3bbootimageview.h +++ b/src/projects/k3bbootimageview.h @@ -29,7 +29,7 @@ class K3bBootImageView : public base_K3bBootImageView TQ_OBJECT public: - K3bBootImageView( K3bDataDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bBootImageView( K3bDataDoc* doc, TQWidget* parent = 0, const char* name = 0 ); ~K3bBootImageView(); private slots: diff --git a/src/projects/k3bdataadvancedimagesettingswidget.cpp b/src/projects/k3bdataadvancedimagesettingswidget.cpp index 7ce1789..782d898 100644 --- a/src/projects/k3bdataadvancedimagesettingswidget.cpp +++ b/src/projects/k3bdataadvancedimagesettingswidget.cpp @@ -120,12 +120,12 @@ private: class K3bDataAdvancedImageSettingsWidget::PrivateCheckViewItem : public TQCheckListItem { public: - PrivateCheckViewItem( TQListView* tqparent, const TQString& text, Type tt = Controller ) - : TQCheckListItem( tqparent, text, tt ) { + PrivateCheckViewItem( TQListView* parent, const TQString& text, Type tt = Controller ) + : TQCheckListItem( parent, text, tt ) { } - PrivateCheckViewItem( TQListViewItem* tqparent, const TQString& text, Type tt = Controller ) - : TQCheckListItem( tqparent, text, tt ) { + PrivateCheckViewItem( TQListViewItem* parent, const TQString& text, Type tt = Controller ) + : TQCheckListItem( parent, text, tt ) { } protected: @@ -141,8 +141,8 @@ protected: }; -K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( TQWidget* tqparent, const char* name ) - : base_K3bAdvancedDataImageSettings( tqparent, name ) +K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( TQWidget* parent, const char* name ) + : base_K3bAdvancedDataImageSettings( parent, name ) { m_viewIsoSettings->header()->hide(); m_viewIsoSettings->setSorting( -1 ); diff --git a/src/projects/k3bdataadvancedimagesettingswidget.h b/src/projects/k3bdataadvancedimagesettingswidget.h index 9ea8124..2268193 100644 --- a/src/projects/k3bdataadvancedimagesettingswidget.h +++ b/src/projects/k3bdataadvancedimagesettingswidget.h @@ -29,7 +29,7 @@ class K3bDataAdvancedImageSettingsWidget : public base_K3bAdvancedDataImageSetti TQ_OBJECT public: - K3bDataAdvancedImageSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataAdvancedImageSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bDataAdvancedImageSettingsWidget(); void load( const K3bIsoOptions& ); diff --git a/src/projects/k3bdataburndialog.cpp b/src/projects/k3bdataburndialog.cpp index 85f6a7d..2b4375f 100644 --- a/src/projects/k3bdataburndialog.cpp +++ b/src/projects/k3bdataburndialog.cpp @@ -64,8 +64,8 @@ #include "k3bfilecompilationsizehandler.h" -K3bDataBurnDialog::K3bDataBurnDialog(K3bDataDoc* _doc, TQWidget *tqparent, const char *name, bool modal ) - : K3bProjectBurnDialog( _doc, tqparent, name, modal ) +K3bDataBurnDialog::K3bDataBurnDialog(K3bDataDoc* _doc, TQWidget *parent, const char *name, bool modal ) + : K3bProjectBurnDialog( _doc, parent, name, modal ) { prepareGui(); diff --git a/src/projects/k3bdataburndialog.h b/src/projects/k3bdataburndialog.h index 4105884..a1b0b4b 100644 --- a/src/projects/k3bdataburndialog.h +++ b/src/projects/k3bdataburndialog.h @@ -45,7 +45,7 @@ class K3bDataBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bDataBurnDialog(K3bDataDoc*, TQWidget *tqparent=0, const char *name=0, bool modal = true ); + K3bDataBurnDialog(K3bDataDoc*, TQWidget *parent=0, const char *name=0, bool modal = true ); ~K3bDataBurnDialog(); protected: diff --git a/src/projects/k3bdatadirtreeview.cpp b/src/projects/k3bdatadirtreeview.cpp index 82f11b4..6164aa2 100644 --- a/src/projects/k3bdatadirtreeview.cpp +++ b/src/projects/k3bdatadirtreeview.cpp @@ -64,8 +64,8 @@ public: }; -K3bDataDirTreeView::K3bDataDirTreeView( K3bView* view, K3bDataDoc* doc, TQWidget* tqparent ) - : K3bListView( tqparent ), m_view(view) +K3bDataDirTreeView::K3bDataDirTreeView( K3bView* view, K3bDataDoc* doc, TQWidget* parent ) + : K3bListView( parent ), m_view(view) { d = new Private(); @@ -171,7 +171,7 @@ void K3bDataDirTreeView::slotDropped( TQDropEvent* e, TQListViewItem*, TQListVie if( d->addParentDir ) { - // startDropAnimation( tqparent ); + // startDropAnimation( parent ); // check if items have been moved if( m_fileView && @@ -231,7 +231,7 @@ void K3bDataDirTreeView::slotItemAdded( K3bDataItem* item ) // should only be emitted once for every item // K3bDirItem* dirItem = static_cast<K3bDirItem*>( item ); - K3bDataDirViewItem* parentViewItem = m_itemMap[dirItem->tqparent()]; + K3bDataDirViewItem* parentViewItem = m_itemMap[dirItem->parent()]; K3bDataDirViewItem* newDirItem = new K3bDataDirViewItem( dirItem, parentViewItem ); m_itemMap.insert( dirItem, newDirItem ); } @@ -268,7 +268,7 @@ void K3bDataDirTreeView::setCurrentDir( K3bDirItem* dirItem ) setCurrentItem( it.data() ); it.data()->setOpen(true); if( it.data() != root() ) - it.data()->tqparent()->setOpen(true); + it.data()->parent()->setOpen(true); } else { kdDebug() << "Tried to set unknown dirItem to current" << endl; @@ -328,7 +328,7 @@ void K3bDataDirTreeView::showPopupMenu( KListView*, TQListViewItem* item, const void K3bDataDirTreeView::slotNewDir() { if( K3bDataDirViewItem* vI = dynamic_cast<K3bDataDirViewItem*>(currentItem()) ) { - K3bDirItem* tqparent = vI->dirItem(); + K3bDirItem* parent = vI->dirItem(); TQString name; bool ok; @@ -337,7 +337,7 @@ void K3bDataDirTreeView::slotNewDir() i18n("Please insert the name for the new directory:"), i18n("New Directory"), &ok, this ); - while( ok && K3bDataDoc::nameAlreadyInDir( name, tqparent ) ) { + while( ok && K3bDataDoc::nameAlreadyInDir( name, parent ) ) { name = KInputDialog::getText( i18n("New Directory"), i18n("A file with that name already exists. " "Please insert the name for the new directory:"), @@ -348,7 +348,7 @@ void K3bDataDirTreeView::slotNewDir() return; - m_doc->addEmptyDir( name, tqparent ); + m_doc->addEmptyDir( name, parent ); } } @@ -448,7 +448,7 @@ void K3bDataDirTreeView::checkForNewItems() while( item != 0 ) { // check if we have an entry and if not, create one - // we can assume that a listViewItem for the tqparent exists + // we can assume that a listViewItem for the parent exists // since we go top to bottom if( item->isDir() ) { @@ -456,15 +456,15 @@ void K3bDataDirTreeView::checkForNewItems() TQMapIterator<K3bDirItem*, K3bDataDirViewItem*> itDirItem = m_itemMap.find( dirItem ); if( itDirItem == m_itemMap.end() ) { - K3bDataDirViewItem* parentViewItem = m_itemMap[dirItem->tqparent()]; + K3bDataDirViewItem* parentViewItem = m_itemMap[dirItem->parent()]; K3bDataDirViewItem* newDirItem = new K3bDataDirViewItem( dirItem, parentViewItem ); m_itemMap.insert( dirItem, newDirItem ); } else { - // check if tqparent still correct (to get moved items) + // check if parent still correct (to get moved items) K3bDataDirViewItem* dirViewItem = itDirItem.data(); - K3bDataDirViewItem* parentViewItem = (K3bDataDirViewItem*)dirViewItem->tqparent(); - K3bDataDirViewItem* dirParentViewItem = m_itemMap[dirItem->tqparent()]; + K3bDataDirViewItem* parentViewItem = (K3bDataDirViewItem*)dirViewItem->parent(); + K3bDataDirViewItem* dirParentViewItem = m_itemMap[dirItem->parent()]; if( dirParentViewItem != parentViewItem ) { // reparent it parentViewItem->takeItem( dirViewItem ); diff --git a/src/projects/k3bdatadirtreeview.h b/src/projects/k3bdatadirtreeview.h index 2ffaaa7..5379d30 100644 --- a/src/projects/k3bdatadirtreeview.h +++ b/src/projects/k3bdatadirtreeview.h @@ -47,7 +47,7 @@ class K3bDataDirTreeView : public K3bListView TQ_OBJECT public: - K3bDataDirTreeView( K3bView*, K3bDataDoc*, TQWidget* tqparent ); + K3bDataDirTreeView( K3bView*, K3bDataDoc*, TQWidget* parent ); virtual ~K3bDataDirTreeView(); K3bDataDirViewItem* root() { return m_root; } @@ -61,7 +61,7 @@ class K3bDataDirTreeView : public K3bListView void setCurrentDir( K3bDirItem* ); signals: - // void urlsDropped( const KURL::List&, TQListViewItem* tqparent ); + // void urlsDropped( const KURL::List&, TQListViewItem* parent ); void dirSelected( K3bDirItem* ); protected: @@ -77,7 +77,7 @@ class K3bDataDirTreeView : public K3bListView KAction* m_actionProperties; protected slots: - virtual void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* tqparent ); + virtual void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* parent ); private: void setupActions(); diff --git a/src/projects/k3bdatafileview.cpp b/src/projects/k3bdatafileview.cpp index 996ca69..e5c0e84 100644 --- a/src/projects/k3bdatafileview.cpp +++ b/src/projects/k3bdatafileview.cpp @@ -47,8 +47,8 @@ #include <kdeversion.h> -K3bDataFileView::K3bDataFileView( K3bView* view, K3bDataDirTreeView* dirTreeView, K3bDataDoc* doc, TQWidget* tqparent ) - : K3bListView( tqparent ), +K3bDataFileView::K3bDataFileView( K3bView* view, K3bDataDirTreeView* dirTreeView, K3bDataDoc* doc, TQWidget* parent ) + : K3bListView( parent ), m_view(view), m_dropDirItem(0) { @@ -126,7 +126,7 @@ void K3bDataFileView::clearItems() void K3bDataFileView::slotItemAdded( K3bDataItem* item ) { - if( item->tqparent() == currentDir() ) { + if( item->parent() == currentDir() ) { K3bDataViewItem* vi = 0; if( item->isDir() ) vi = new K3bDataDirViewItem( static_cast<K3bDirItem*>(item), this ); @@ -174,7 +174,7 @@ void K3bDataFileView::checkForNewItems() // now check if some of the items have been moved out of the currently showing dir. for( TQListViewItemIterator it( this ); it.current(); ++it ) { K3bDataViewItem* dataViewItem = dynamic_cast<K3bDataViewItem*>( it.current() ); - if( dataViewItem && dataViewItem->dataItem()->tqparent() != currentDir() ) + if( dataViewItem && dataViewItem->dataItem()->parent() != currentDir() ) delete dataViewItem; } } @@ -373,7 +373,7 @@ void K3bDataFileView::showPopupMenu( KListView*, TQListViewItem* item, const TQP void K3bDataFileView::slotNewDir() { - K3bDirItem* tqparent = currentDir(); + K3bDirItem* parent = currentDir(); TQString name; bool ok; @@ -382,7 +382,7 @@ void K3bDataFileView::slotNewDir() i18n("Please insert the name for the new directory:"), i18n("New Directory"), &ok, this ); - while( ok && K3bDataDoc::nameAlreadyInDir( name, tqparent ) ) { + while( ok && K3bDataDoc::nameAlreadyInDir( name, parent ) ) { name = KInputDialog::getText( i18n("New Directory"), i18n("A file with that name already exists. " "Please insert the name for the new directory:"), @@ -393,7 +393,7 @@ void K3bDataFileView::slotNewDir() return; - m_doc->addEmptyDir( name, tqparent ); + m_doc->addEmptyDir( name, parent ); } @@ -418,7 +418,7 @@ void K3bDataFileView::slotRemoveItem() void K3bDataFileView::slotParentDir() { if( currentDir() != m_doc->root() ) { - slotSetCurrentDir( currentDir()->tqparent() ); + slotSetCurrentDir( currentDir()->parent() ); emit dirSelected( currentDir() ); } diff --git a/src/projects/k3bdatafileview.h b/src/projects/k3bdatafileview.h index cd7e2c8..804f128 100644 --- a/src/projects/k3bdatafileview.h +++ b/src/projects/k3bdatafileview.h @@ -50,7 +50,7 @@ class K3bDataFileView : public K3bListView TQ_OBJECT public: - K3bDataFileView( K3bView*, K3bDataDirTreeView*, K3bDataDoc*, TQWidget* tqparent ); + K3bDataFileView( K3bView*, K3bDataDirTreeView*, K3bDataDoc*, TQWidget* parent ); ~K3bDataFileView(); K3bDirItem* currentDir() const; @@ -67,7 +67,7 @@ class K3bDataFileView : public K3bListView private slots: void slotDataItemRemoved( K3bDataItem* ); void slotExecuted( TQListViewItem* ); - void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* tqparent ); + void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* parent ); void showPopupMenu( KListView*, TQListViewItem* _item, const TQPoint& ); void slotRenameItem(); void slotRemoveItem(); diff --git a/src/projects/k3bdataimagesettingswidget.cpp b/src/projects/k3bdataimagesettingswidget.cpp index be55ae6..88decbc 100644 --- a/src/projects/k3bdataimagesettingswidget.cpp +++ b/src/projects/k3bdataimagesettingswidget.cpp @@ -126,8 +126,8 @@ static void initializePresets() class K3bDataImageSettingsWidget::CustomFilesystemsDialog : public KDialogBase { public: - CustomFilesystemsDialog( TQWidget* tqparent ) - : KDialogBase( tqparent, + CustomFilesystemsDialog( TQWidget* parent ) + : KDialogBase( parent, "custom_filesystems_dialog", true, i18n("Custom Data Project Filesystems"), @@ -145,8 +145,8 @@ public: class K3bDataImageSettingsWidget::VolumeDescDialog : public KDialogBase { public: - VolumeDescDialog( TQWidget* tqparent ) - : KDialogBase( tqparent, + VolumeDescDialog( TQWidget* parent ) + : KDialogBase( parent, "voldesc_dialog", true, i18n("Volume Descriptor"), @@ -167,8 +167,8 @@ public: -K3bDataImageSettingsWidget::K3bDataImageSettingsWidget( TQWidget* tqparent, const char* name ) - : base_K3bDataImageSettings( tqparent, name ), +K3bDataImageSettingsWidget::K3bDataImageSettingsWidget( TQWidget* parent, const char* name ) + : base_K3bDataImageSettings( parent, name ), m_fileSystemOptionsShown(true) { tqlayout()->setMargin( KDialog::marginHint() ); diff --git a/src/projects/k3bdataimagesettingswidget.h b/src/projects/k3bdataimagesettingswidget.h index 13086f3..d82394a 100644 --- a/src/projects/k3bdataimagesettingswidget.h +++ b/src/projects/k3bdataimagesettingswidget.h @@ -28,7 +28,7 @@ class K3bDataImageSettingsWidget : public base_K3bDataImageSettings TQ_OBJECT public: - K3bDataImageSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataImageSettingsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bDataImageSettingsWidget(); void load( const K3bIsoOptions& ); diff --git a/src/projects/k3bdatamultisessioncombobox.cpp b/src/projects/k3bdatamultisessioncombobox.cpp index 87e6551..98736b1 100644 --- a/src/projects/k3bdatamultisessioncombobox.cpp +++ b/src/projects/k3bdatamultisessioncombobox.cpp @@ -29,8 +29,8 @@ static const int s_continueIndex = 3; static const int s_finishIndex = 4; -K3bDataMultiSessionCombobox::K3bDataMultiSessionCombobox( TQWidget* tqparent, const char* name ) - : TQComboBox( tqparent, name ), +K3bDataMultiSessionCombobox::K3bDataMultiSessionCombobox( TQWidget* parent, const char* name ) + : TQComboBox( parent, name ), m_forceNoMultiSession(false) { init( false ); diff --git a/src/projects/k3bdatamultisessioncombobox.h b/src/projects/k3bdatamultisessioncombobox.h index 71ccc02..9618c00 100644 --- a/src/projects/k3bdatamultisessioncombobox.h +++ b/src/projects/k3bdatamultisessioncombobox.h @@ -28,7 +28,7 @@ class K3bDataMultiSessionCombobox : public TQComboBox TQ_OBJECT public: - K3bDataMultiSessionCombobox( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataMultiSessionCombobox( TQWidget* parent = 0, const char* name = 0 ); ~K3bDataMultiSessionCombobox(); /** diff --git a/src/projects/k3bdatapropertiesdialog.cpp b/src/projects/k3bdatapropertiesdialog.cpp index 36f985e..6a3c057 100644 --- a/src/projects/k3bdatapropertiesdialog.cpp +++ b/src/projects/k3bdatapropertiesdialog.cpp @@ -41,8 +41,8 @@ -K3bDataPropertiesDialog::K3bDataPropertiesDialog( K3bDataItem* dataItem, TQWidget* tqparent, const char* name ) - : KDialogBase( Plain, i18n("File Properties"), Ok|Cancel, Ok, tqparent, name, true, false ) +K3bDataPropertiesDialog::K3bDataPropertiesDialog( K3bDataItem* dataItem, TQWidget* parent, const char* name ) + : KDialogBase( Plain, i18n("File Properties"), Ok|Cancel, Ok, parent, name, true, false ) { m_dataItem = dataItem; @@ -182,10 +182,10 @@ K3bDataPropertiesDialog::K3bDataPropertiesDialog( K3bDataItem* dataItem, TQWidge m_checkHideOnRockRidge->setChecked( dataItem->hideOnRockRidge() ); m_editSortWeight->setText( TQString::number(dataItem->sortWeight()) ); - // if the tqparent is hidden the value cannot be changed (see K3bDataItem::setHide...) - if( dataItem->tqparent() ) { - m_checkHideOnRockRidge->setDisabled( dataItem->tqparent()->hideOnRockRidge() ); - m_checkHideOnJoliet->setDisabled( dataItem->tqparent()->hideOnJoliet() ); + // if the parent is hidden the value cannot be changed (see K3bDataItem::setHide...) + if( dataItem->parent() ) { + m_checkHideOnRockRidge->setDisabled( dataItem->parent()->hideOnRockRidge() ); + m_checkHideOnJoliet->setDisabled( dataItem->parent()->hideOnJoliet() ); } if( !dataItem->isHideable() ) { diff --git a/src/projects/k3bdatapropertiesdialog.h b/src/projects/k3bdatapropertiesdialog.h index 8c79c47..de03d95 100644 --- a/src/projects/k3bdatapropertiesdialog.h +++ b/src/projects/k3bdatapropertiesdialog.h @@ -36,7 +36,7 @@ Q_OBJECT TQ_OBJECT public: - K3bDataPropertiesDialog( K3bDataItem*, TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataPropertiesDialog( K3bDataItem*, TQWidget* parent = 0, const char* name = 0 ); ~K3bDataPropertiesDialog(); protected slots: diff --git a/src/projects/k3bdatasessionimportdialog.cpp b/src/projects/k3bdatasessionimportdialog.cpp index 80e45f1..bf5d263 100644 --- a/src/projects/k3bdatasessionimportdialog.cpp +++ b/src/projects/k3bdatasessionimportdialog.cpp @@ -30,8 +30,8 @@ #include <kmessagebox.h> -K3bDataSessionImportDialog::K3bDataSessionImportDialog( TQWidget* tqparent ) - : KDialogBase( tqparent, +K3bDataSessionImportDialog::K3bDataSessionImportDialog( TQWidget* parent ) + : KDialogBase( parent, "session_import_dialog", true, i18n("Session Import"), @@ -125,9 +125,9 @@ void K3bDataSessionImportDialog::slotSelectionChanged( K3bDevice::Device* dev ) } -K3bDataDoc* K3bDataSessionImportDialog::importSession( K3bDataDoc* doc, TQWidget* tqparent ) +K3bDataDoc* K3bDataSessionImportDialog::importSession( K3bDataDoc* doc, TQWidget* parent ) { - K3bDataSessionImportDialog dlg( tqparent ); + K3bDataSessionImportDialog dlg( parent ); dlg.importSession( doc ); dlg.exec(); return dlg.m_doc; diff --git a/src/projects/k3bdatasessionimportdialog.h b/src/projects/k3bdatasessionimportdialog.h index 7a092db..0213515 100644 --- a/src/projects/k3bdatasessionimportdialog.h +++ b/src/projects/k3bdatasessionimportdialog.h @@ -45,7 +45,7 @@ class K3bDataSessionImportDialog : public KDialogBase * * \return the project */ - static K3bDataDoc* importSession( K3bDataDoc* doc, TQWidget* tqparent ); + static K3bDataDoc* importSession( K3bDataDoc* doc, TQWidget* parent ); private slots: void slotOk(); @@ -55,7 +55,7 @@ class K3bDataSessionImportDialog : public KDialogBase void slotSelectionChanged( K3bDevice::Device* ); private: - K3bDataSessionImportDialog( TQWidget* tqparent = 0 ); + K3bDataSessionImportDialog( TQWidget* parent = 0 ); ~K3bDataSessionImportDialog(); K3bDataDoc* m_doc; diff --git a/src/projects/k3bdataurladdingdialog.cpp b/src/projects/k3bdataurladdingdialog.cpp index 9f69d86..630d7f9 100644 --- a/src/projects/k3bdataurladdingdialog.cpp +++ b/src/projects/k3bdataurladdingdialog.cpp @@ -55,12 +55,12 @@ #include <unistd.h> -K3bDataUrlAddingDialog::K3bDataUrlAddingDialog( K3bDataDoc* doc, TQWidget* tqparent, const char* name ) +K3bDataUrlAddingDialog::K3bDataUrlAddingDialog( K3bDataDoc* doc, TQWidget* parent, const char* name ) : KDialogBase( Plain, i18n("Adding files to project '%1'").tqarg(doc->URL().fileName()), Cancel, Cancel, - tqparent, + parent, name, true, true ), @@ -108,7 +108,7 @@ K3bDataUrlAddingDialog::~K3bDataUrlAddingDialog() int K3bDataUrlAddingDialog::addUrls( const KURL::List& urls, K3bDirItem* dir, - TQWidget* tqparent ) + TQWidget* parent ) { if( urls.isEmpty() ) return 0; @@ -120,7 +120,7 @@ int K3bDataUrlAddingDialog::addUrls( const KURL::List& urls, if( urls.count() == 1 ) { K3bIso9660 isoF( urls.first().path() ); if( isoF.open() ) { - if( KMessageBox::warningYesNo( tqparent, + if( KMessageBox::warningYesNo( parent, i18n("<p>The file you are about to add to the project is an ISO9660 image. As such " "it can be burned to a medium directly since it already contains a file " "system.<br>" @@ -138,7 +138,7 @@ int K3bDataUrlAddingDialog::addUrls( const KURL::List& urls, } } - K3bDataUrlAddingDialog dlg( dir->doc(), tqparent ); + K3bDataUrlAddingDialog dlg( dir->doc(), parent ); dlg.m_urls = urls; for( KURL::List::ConstIterator it = urls.begin(); it != urls.end(); ++it ) dlg.m_urlQueue.append( tqMakePair( K3b::convertToLocalUrl(*it), dir ) ); @@ -158,7 +158,7 @@ int K3bDataUrlAddingDialog::addUrls( const KURL::List& urls, TQString message = dlg.resultMessage(); if( !message.isEmpty() ) - KMessageBox::detailedSorry( tqparent, i18n("Problems while adding files to the project."), message ); + KMessageBox::detailedSorry( parent, i18n("Problems while adding files to the project."), message ); return ret; } @@ -199,29 +199,29 @@ TQString K3bDataUrlAddingDialog::resultMessage() const int K3bDataUrlAddingDialog::moveItems( const TQValueList<K3bDataItem*>& items, K3bDirItem* dir, - TQWidget* tqparent ) + TQWidget* parent ) { - return copyMoveItems( items, dir, tqparent, false ); + return copyMoveItems( items, dir, parent, false ); } int K3bDataUrlAddingDialog::copyItems( const TQValueList<K3bDataItem*>& items, K3bDirItem* dir, - TQWidget* tqparent ) + TQWidget* parent ) { - return copyMoveItems( items, dir, tqparent, true ); + return copyMoveItems( items, dir, parent, true ); } int K3bDataUrlAddingDialog::copyMoveItems( const TQValueList<K3bDataItem*>& items, K3bDirItem* dir, - TQWidget* tqparent, + TQWidget* parent, bool copy ) { if( items.isEmpty() ) return 0; - K3bDataUrlAddingDialog dlg( dir->doc(), tqparent ); + K3bDataUrlAddingDialog dlg( dir->doc(), parent ); dlg.m_infoLabel->setText( i18n("Moving files to project \"%1\"...").tqarg(dir->doc()->URL().fileName()) ); dlg.m_copyItems = copy; @@ -608,8 +608,8 @@ void K3bDataUrlAddingDialog::slotCopyMoveItems() m_counterLabel->setText( TQString("(%1/%2)").tqarg(m_filesHandled).tqarg(m_totalFiles) ); - if( dir == item->tqparent() ) { - kdDebug() << "(K3bDataUrlAddingDialog) trying to move an item into its own tqparent dir." << endl; + if( dir == item->parent() ) { + kdDebug() << "(K3bDataUrlAddingDialog) trying to move an item into its own parent dir." << endl; } else if( dir == item ) { kdDebug() << "(K3bDataUrlAddingDialog) trying to move an item into itselft." << endl; diff --git a/src/projects/k3bdataurladdingdialog.h b/src/projects/k3bdataurladdingdialog.h index ca6b4b2..2481eb5 100644 --- a/src/projects/k3bdataurladdingdialog.h +++ b/src/projects/k3bdataurladdingdialog.h @@ -43,16 +43,16 @@ class K3bDataUrlAddingDialog : public KDialogBase * \return \see TQDialog::exec() */ static int addUrls( const KURL::List& urls, K3bDirItem* dir = 0, - TQWidget* tqparent = 0 ); + TQWidget* parent = 0 ); static int moveItems( const TQValueList<K3bDataItem*>& items, K3bDirItem* dir, - TQWidget* tqparent = 0 ); + TQWidget* parent = 0 ); static int copyItems( const TQValueList<K3bDataItem*>& items, K3bDirItem* dir, - TQWidget* tqparent = 0 ); + TQWidget* parent = 0 ); static int copyMoveItems( const TQValueList<K3bDataItem*>& items, K3bDirItem* dir, - TQWidget* tqparent, bool copy ); + TQWidget* parent, bool copy ); private slots: void slotAddUrls(); @@ -62,7 +62,7 @@ class K3bDataUrlAddingDialog : public KDialogBase void updateProgress(); private: - K3bDataUrlAddingDialog( K3bDataDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataUrlAddingDialog( K3bDataDoc* doc, TQWidget* parent = 0, const char* name = 0 ); bool getNewName( const TQString& oldName, K3bDirItem* dir, TQString& newName ); diff --git a/src/projects/k3bdataview.cpp b/src/projects/k3bdataview.cpp index 9aaa2b3..1ac59f8 100644 --- a/src/projects/k3bdataview.cpp +++ b/src/projects/k3bdataview.cpp @@ -53,8 +53,8 @@ #include <kdebug.h> -K3bDataView::K3bDataView(K3bDataDoc* doc, TQWidget *tqparent, const char *name ) - : K3bView(doc, tqparent,name) +K3bDataView::K3bDataView(K3bDataDoc* doc, TQWidget *parent, const char *name ) + : K3bView(doc, parent,name) { m_doc = doc; @@ -156,9 +156,9 @@ void K3bDataView::editBootImages() } -K3bProjectBurnDialog* K3bDataView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bDataView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bDataBurnDialog( m_doc, tqparent, name, true ); + return new K3bDataBurnDialog( m_doc, parent, name, true ); } diff --git a/src/projects/k3bdataview.h b/src/projects/k3bdataview.h index ea2a6a1..6fed6d4 100644 --- a/src/projects/k3bdataview.h +++ b/src/projects/k3bdataview.h @@ -46,7 +46,7 @@ class K3bDataView : public K3bView TQ_OBJECT public: - K3bDataView(K3bDataDoc* doc, TQWidget *tqparent=0, const char *name=0); + K3bDataView(K3bDataDoc* doc, TQWidget *parent=0, const char *name=0); virtual ~K3bDataView(); K3bDirItem* currentDir() const; @@ -66,7 +66,7 @@ class K3bDataView : public K3bView K3bDataFileView* m_dataFileView; TQLineEdit* m_volumeIDEdit; - virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); private: K3bDataDoc* m_doc; diff --git a/src/projects/k3bdataviewitem.cpp b/src/projects/k3bdataviewitem.cpp index f200e55..c60f5d7 100644 --- a/src/projects/k3bdataviewitem.cpp +++ b/src/projects/k3bdataviewitem.cpp @@ -35,15 +35,15 @@ #include <tqfileinfo.h> -K3bDataViewItem::K3bDataViewItem( K3bDataItem* item, TQListView* tqparent ) - : K3bListViewItem( tqparent ), +K3bDataViewItem::K3bDataViewItem( K3bDataItem* item, TQListView* parent ) + : K3bListViewItem( parent ), m_dataItem(item) { init(); } -K3bDataViewItem::K3bDataViewItem( K3bDataItem* item, TQListViewItem* tqparent ) - : K3bListViewItem( tqparent ), +K3bDataViewItem::K3bDataViewItem( K3bDataItem* item, TQListViewItem* parent ) + : K3bListViewItem( parent ), m_dataItem(item) { init(); @@ -134,16 +134,16 @@ TQString K3bDataViewItem::key( int col, bool a ) const } -K3bDataDirViewItem::K3bDataDirViewItem( K3bDirItem* dir, TQListView* tqparent ) - : K3bDataViewItem( dir, tqparent ) +K3bDataDirViewItem::K3bDataDirViewItem( K3bDirItem* dir, TQListView* parent ) + : K3bDataViewItem( dir, parent ) { m_dirItem = dir; setPixmap( 0, dir->depth() > 7 ? SmallIcon( "folder_red" ) : SmallIcon( "folder" ) ); } -K3bDataDirViewItem::K3bDataDirViewItem( K3bDirItem* dir, TQListViewItem* tqparent ) - : K3bDataViewItem( dir, tqparent ) +K3bDataDirViewItem::K3bDataDirViewItem( K3bDirItem* dir, TQListViewItem* parent ) + : K3bDataViewItem( dir, parent ) { m_dirItem = dir; setPixmap( 0, dir->depth() > 7 ? SmallIcon( "folder_red" ) : SmallIcon( "folder" ) ); @@ -189,15 +189,15 @@ void K3bDataDirViewItem::highlightIcon( bool b ) -K3bDataFileViewItem::K3bDataFileViewItem( K3bFileItem* file, TQListView* tqparent ) - : K3bDataViewItem( file, tqparent ) +K3bDataFileViewItem::K3bDataFileViewItem( K3bFileItem* file, TQListView* parent ) + : K3bDataViewItem( file, parent ) { init( file ); } -K3bDataFileViewItem::K3bDataFileViewItem( K3bFileItem* file, TQListViewItem* tqparent ) - : K3bDataViewItem( file, tqparent ) +K3bDataFileViewItem::K3bDataFileViewItem( K3bFileItem* file, TQListViewItem* parent ) + : K3bDataViewItem( file, parent ) { init( file ); } @@ -262,8 +262,8 @@ TQString K3bDataFileViewItem::text( int index ) const -K3bDataRootViewItem::K3bDataRootViewItem( K3bDataDoc* doc, TQListView* tqparent ) - : K3bDataDirViewItem( doc->root(), tqparent ) +K3bDataRootViewItem::K3bDataRootViewItem( K3bDataDoc* doc, TQListView* parent ) + : K3bDataDirViewItem( doc->root(), parent ) { m_doc = doc; setPixmap( 0, SmallIcon( "cdrom_unmount" ) ); @@ -297,8 +297,8 @@ void K3bDataRootViewItem::setText( int col, const TQString& text ) } -K3bSpecialDataViewItem::K3bSpecialDataViewItem( K3bSpecialDataItem* item, TQListView* tqparent ) - : K3bDataViewItem( item, tqparent ) +K3bSpecialDataViewItem::K3bSpecialDataViewItem( K3bSpecialDataItem* item, TQListView* parent ) + : K3bDataViewItem( item, parent ) { setPixmap( 0, SmallIcon("unknown") ); } @@ -319,8 +319,8 @@ TQString K3bSpecialDataViewItem::text( int col ) const -K3bSessionImportViewItem::K3bSessionImportViewItem( K3bSessionImportItem* item, TQListView* tqparent ) - : K3bDataViewItem( item, tqparent ) +K3bSessionImportViewItem::K3bSessionImportViewItem( K3bSessionImportItem* item, TQListView* parent ) + : K3bDataViewItem( item, parent ) { setPixmap( 0, SmallIcon("unknown") ); } diff --git a/src/projects/k3bdataviewitem.h b/src/projects/k3bdataviewitem.h index ac95e98..645c076 100644 --- a/src/projects/k3bdataviewitem.h +++ b/src/projects/k3bdataviewitem.h @@ -34,8 +34,8 @@ class TQColorGroup; class K3bDataViewItem : public K3bListViewItem { public: - K3bDataViewItem( K3bDataItem*, TQListView* tqparent ); - K3bDataViewItem( K3bDataItem*, TQListViewItem* tqparent ); + K3bDataViewItem( K3bDataItem*, TQListView* parent ); + K3bDataViewItem( K3bDataItem*, TQListViewItem* parent ); virtual ~K3bDataViewItem(); virtual K3bDataItem* dataItem() const { return m_dataItem; } @@ -59,8 +59,8 @@ class K3bDataViewItem : public K3bListViewItem class K3bDataDirViewItem : public K3bDataViewItem { public: - K3bDataDirViewItem( K3bDirItem* dir, TQListView* tqparent ); - K3bDataDirViewItem( K3bDirItem* dir, TQListViewItem* tqparent ); + K3bDataDirViewItem( K3bDirItem* dir, TQListView* parent ); + K3bDataDirViewItem( K3bDirItem* dir, TQListViewItem* parent ); ~K3bDataDirViewItem(); virtual TQString text( int ) const; @@ -81,8 +81,8 @@ class K3bDataDirViewItem : public K3bDataViewItem class K3bDataFileViewItem : public K3bDataViewItem { public: - K3bDataFileViewItem( K3bFileItem*, TQListView* tqparent ); - K3bDataFileViewItem( K3bFileItem*, TQListViewItem* tqparent ); + K3bDataFileViewItem( K3bFileItem*, TQListView* parent ); + K3bDataFileViewItem( K3bFileItem*, TQListViewItem* parent ); ~K3bDataFileViewItem() {} TQString text( int ) const; @@ -102,7 +102,7 @@ class K3bDataFileViewItem : public K3bDataViewItem class K3bDataRootViewItem : public K3bDataDirViewItem { public: - K3bDataRootViewItem( K3bDataDoc*, TQListView* tqparent ); + K3bDataRootViewItem( K3bDataDoc*, TQListView* parent ); ~K3bDataRootViewItem(); TQString text( int ) const; diff --git a/src/projects/k3bdatavolumedescwidget.cpp b/src/projects/k3bdatavolumedescwidget.cpp index be443a5..580fed6 100644 --- a/src/projects/k3bdatavolumedescwidget.cpp +++ b/src/projects/k3bdatavolumedescwidget.cpp @@ -24,8 +24,8 @@ #include <tqtoolbutton.h> -K3bDataVolumeDescWidget::K3bDataVolumeDescWidget( TQWidget* tqparent, const char* name ) - : base_K3bDataVolumeDescWidget( tqparent, name ) +K3bDataVolumeDescWidget::K3bDataVolumeDescWidget( TQWidget* parent, const char* name ) + : base_K3bDataVolumeDescWidget( parent, name ) { // the maximal number of characters that can be inserted are set in the ui file! diff --git a/src/projects/k3bdatavolumedescwidget.h b/src/projects/k3bdatavolumedescwidget.h index 27102e2..fdff6ea 100644 --- a/src/projects/k3bdatavolumedescwidget.h +++ b/src/projects/k3bdatavolumedescwidget.h @@ -28,7 +28,7 @@ class K3bDataVolumeDescWidget : public base_K3bDataVolumeDescWidget TQ_OBJECT public: - K3bDataVolumeDescWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDataVolumeDescWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bDataVolumeDescWidget(); void load( const K3bIsoOptions& ); diff --git a/src/projects/k3bdvdburndialog.cpp b/src/projects/k3bdvdburndialog.cpp index 4654bb9..17ee516 100644 --- a/src/projects/k3bdvdburndialog.cpp +++ b/src/projects/k3bdvdburndialog.cpp @@ -44,8 +44,8 @@ #include <tqspinbox.h> -K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, TQWidget *tqparent, const char *name, bool modal ) - : K3bProjectBurnDialog( doc, tqparent, name, modal, true ), +K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, TQWidget *parent, const char *name, bool modal ) + : K3bProjectBurnDialog( doc, parent, name, modal, true ), m_doc( doc ) { prepareGui(); diff --git a/src/projects/k3bdvdburndialog.h b/src/projects/k3bdvdburndialog.h index 3400c7d..dccffd9 100644 --- a/src/projects/k3bdvdburndialog.h +++ b/src/projects/k3bdvdburndialog.h @@ -35,7 +35,7 @@ class K3bDvdBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bDvdBurnDialog( K3bDvdDoc*, TQWidget *tqparent = 0, const char *name = 0, bool modal = true ); + K3bDvdBurnDialog( K3bDvdDoc*, TQWidget *parent = 0, const char *name = 0, bool modal = true ); ~K3bDvdBurnDialog(); protected slots: diff --git a/src/projects/k3bdvdview.cpp b/src/projects/k3bdvdview.cpp index dc5f67a..c245e04 100644 --- a/src/projects/k3bdvdview.cpp +++ b/src/projects/k3bdvdview.cpp @@ -22,8 +22,8 @@ #include <klocale.h> -K3bDvdView::K3bDvdView( K3bDvdDoc* doc, TQWidget *tqparent, const char *name ) - : K3bDataView( doc, tqparent, name ) +K3bDvdView::K3bDvdView( K3bDvdDoc* doc, TQWidget *parent, const char *name ) + : K3bDataView( doc, parent, name ) { m_doc = doc; @@ -40,9 +40,9 @@ K3bDvdView::~K3bDvdView() } -K3bProjectBurnDialog* K3bDvdView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bDvdView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bDvdBurnDialog( m_doc, tqparent, name, true ); + return new K3bDvdBurnDialog( m_doc, parent, name, true ); } #include "k3bdvdview.moc" diff --git a/src/projects/k3bdvdview.h b/src/projects/k3bdvdview.h index 1072cc2..5d2b6ad 100644 --- a/src/projects/k3bdvdview.h +++ b/src/projects/k3bdvdview.h @@ -28,11 +28,11 @@ class K3bDvdView : public K3bDataView TQ_OBJECT public: - K3bDvdView( K3bDvdDoc* doc, TQWidget *tqparent = 0, const char *name = 0 ); + K3bDvdView( K3bDvdDoc* doc, TQWidget *parent = 0, const char *name = 0 ); ~K3bDvdView(); protected: - virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); private: K3bDvdDoc* m_doc; diff --git a/src/projects/k3bencodingconverter.cpp b/src/projects/k3bencodingconverter.cpp index 38e219e..9fa2a79 100644 --- a/src/projects/k3bencodingconverter.cpp +++ b/src/projects/k3bencodingconverter.cpp @@ -77,7 +77,7 @@ bool K3bEncodingConverter::encodedLocally( const TQCString& s ) } -bool K3bEncodingConverter::fixEncoding( const TQCString& s, TQCString& result, TQWidget* tqparent, bool cache ) +bool K3bEncodingConverter::fixEncoding( const TQCString& s, TQCString& result, TQWidget* parent, bool cache ) { #ifdef IMPLEMENT_THIS_METHOD // HAVE_ICONV_H if( !d->lastEncoding.isEmpty() ) { diff --git a/src/projects/k3bencodingconverter.h b/src/projects/k3bencodingconverter.h index c88f5be..4054d08 100644 --- a/src/projects/k3bencodingconverter.h +++ b/src/projects/k3bencodingconverter.h @@ -41,13 +41,13 @@ class K3bEncodingConverter * the proper encoding based on example conversions. * * \param s The string to be fixed. - * \param tqparent The tqparent widget to be used when showing the encoding selection dialog. + * \param parent The parent widget to be used when showing the encoding selection dialog. * \param cacheEncoding If true the codeset used for successful conversion is cached and * reused for the next call to fixEncoding. * * \return True if the conversion was successful. */ - bool fixEncoding( const TQCString& s, TQCString& result, TQWidget* tqparent = 0, bool cacheEncoding = true ); + bool fixEncoding( const TQCString& s, TQCString& result, TQWidget* parent = 0, bool cacheEncoding = true ); private: bool convert( const TQCString& s, TQCString& result, const TQString& from, const TQString& to ); diff --git a/src/projects/k3bfillstatusdisplay.cpp b/src/projects/k3bfillstatusdisplay.cpp index 4d9f543..30f10e6 100644 --- a/src/projects/k3bfillstatusdisplay.cpp +++ b/src/projects/k3bfillstatusdisplay.cpp @@ -67,8 +67,8 @@ public: }; -K3bFillStatusDisplayWidget::K3bFillStatusDisplayWidget( K3bDoc* doc, TQWidget* tqparent ) - : TQWidget( tqparent, 0, WRepaintNoErase ) +K3bFillStatusDisplayWidget::K3bFillStatusDisplayWidget( K3bDoc* doc, TQWidget* parent ) + : TQWidget( parent, 0, WRepaintNoErase ) { d = new Private(); d->doc = doc; @@ -279,8 +279,8 @@ void K3bFillStatusDisplayWidget::paintEvent( TQPaintEvent* ) class K3bFillStatusDisplay::ToolTip : public TQToolTip { public: - ToolTip( K3bDoc* doc, TQWidget* tqparent ) - : TQToolTip( tqparent, 0 ), + ToolTip( K3bDoc* doc, TQWidget* parent ) + : TQToolTip( parent, 0 ), m_doc(doc) { } @@ -329,8 +329,8 @@ public: }; -K3bFillStatusDisplay::K3bFillStatusDisplay( K3bDoc* doc, TQWidget *tqparent, const char *name ) - : TQFrame(tqparent,name) +K3bFillStatusDisplay::K3bFillStatusDisplay( K3bDoc* doc, TQWidget *parent, const char *name ) + : TQFrame(parent,name) { d = new Private; d->doc = doc; diff --git a/src/projects/k3bfillstatusdisplay.h b/src/projects/k3bfillstatusdisplay.h index d123426..c1cc810 100644 --- a/src/projects/k3bfillstatusdisplay.h +++ b/src/projects/k3bfillstatusdisplay.h @@ -48,7 +48,7 @@ class K3bFillStatusDisplayWidget : public TQWidget TQ_OBJECT public: - K3bFillStatusDisplayWidget( K3bDoc* doc, TQWidget* tqparent ); + K3bFillStatusDisplayWidget( K3bDoc* doc, TQWidget* parent ); ~K3bFillStatusDisplayWidget(); TQSize tqsizeHint() const; @@ -79,7 +79,7 @@ class K3bFillStatusDisplay : public TQFrame { TQ_OBJECT public: - K3bFillStatusDisplay(K3bDoc* doc, TQWidget *tqparent=0, const char *name=0); + K3bFillStatusDisplay(K3bDoc* doc, TQWidget *parent=0, const char *name=0); ~K3bFillStatusDisplay(); public slots: diff --git a/src/projects/k3bmixedburndialog.cpp b/src/projects/k3bmixedburndialog.cpp index 791b3d0..2053e32 100644 --- a/src/projects/k3bmixedburndialog.cpp +++ b/src/projects/k3bmixedburndialog.cpp @@ -59,8 +59,8 @@ #include <kmessagebox.h> -K3bMixedBurnDialog::K3bMixedBurnDialog( K3bMixedDoc* doc, TQWidget *tqparent, const char *name, bool modal ) - : K3bProjectBurnDialog( doc, tqparent, name, modal ), m_doc(doc) +K3bMixedBurnDialog::K3bMixedBurnDialog( K3bMixedDoc* doc, TQWidget *parent, const char *name, bool modal ) + : K3bProjectBurnDialog( doc, parent, name, modal ), m_doc(doc) { prepareGui(); diff --git a/src/projects/k3bmixedburndialog.h b/src/projects/k3bmixedburndialog.h index 94d224e..5c390fb 100644 --- a/src/projects/k3bmixedburndialog.h +++ b/src/projects/k3bmixedburndialog.h @@ -40,7 +40,7 @@ class K3bMixedBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bMixedBurnDialog( K3bMixedDoc*, TQWidget *tqparent=0, const char *name=0, bool modal = true ); + K3bMixedBurnDialog( K3bMixedDoc*, TQWidget *parent=0, const char *name=0, bool modal = true ); protected: void loadK3bDefaults(); diff --git a/src/projects/k3bmixeddirtreeview.cpp b/src/projects/k3bmixeddirtreeview.cpp index 9a014dc..c19bd28 100644 --- a/src/projects/k3bmixeddirtreeview.cpp +++ b/src/projects/k3bmixeddirtreeview.cpp @@ -33,8 +33,8 @@ class K3bMixedDirTreeView::PrivateAudioRootViewItem : public K3bListViewItem { public: - PrivateAudioRootViewItem( K3bMixedDoc* doc, TQListView* tqparent, TQListViewItem* after ) - : K3bListViewItem( tqparent, after ), + PrivateAudioRootViewItem( K3bMixedDoc* doc, TQListView* parent, TQListViewItem* after ) + : K3bListViewItem( parent, after ), m_doc(doc) { setPixmap( 0, SmallIcon("sound") ); @@ -52,8 +52,8 @@ public: }; -K3bMixedDirTreeView::K3bMixedDirTreeView( K3bView* view, K3bMixedDoc* doc, TQWidget* tqparent, const char* ) - : K3bDataDirTreeView( view, doc->dataDoc(), tqparent ), m_doc(doc) +K3bMixedDirTreeView::K3bMixedDirTreeView( K3bView* view, K3bMixedDoc* doc, TQWidget* parent, const char* ) + : K3bDataDirTreeView( view, doc->dataDoc(), parent ), m_doc(doc) { m_audioRootItem = new PrivateAudioRootViewItem( doc, this, root() ); @@ -68,7 +68,7 @@ K3bMixedDirTreeView::~K3bMixedDirTreeView() } -void K3bMixedDirTreeView::slotDropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewItem* after ) +void K3bMixedDirTreeView::slotDropped( TQDropEvent* e, TQListViewItem* parent, TQListViewItem* after ) { if( !e->isAccepted() ) return; @@ -81,7 +81,7 @@ void K3bMixedDirTreeView::slotDropped( TQDropEvent* e, TQListViewItem* tqparent, } } else - K3bDataDirTreeView::slotDropped( e, tqparent, after ); + K3bDataDirTreeView::slotDropped( e, parent, after ); } diff --git a/src/projects/k3bmixeddirtreeview.h b/src/projects/k3bmixeddirtreeview.h index a7320fc..b1b3a39 100644 --- a/src/projects/k3bmixeddirtreeview.h +++ b/src/projects/k3bmixeddirtreeview.h @@ -32,7 +32,7 @@ class K3bMixedDirTreeView : public K3bDataDirTreeView TQ_OBJECT public: - K3bMixedDirTreeView( K3bView* view, K3bMixedDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bMixedDirTreeView( K3bView* view, K3bMixedDoc* doc, TQWidget* parent = 0, const char* name = 0 ); ~K3bMixedDirTreeView(); signals: @@ -40,7 +40,7 @@ class K3bMixedDirTreeView : public K3bDataDirTreeView void dataTreeSelected(); protected slots: - void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* tqparent ); + void slotDropped( TQDropEvent* e, TQListViewItem* after, TQListViewItem* parent ); private slots: void slotSelectionChanged( TQListViewItem* i ); diff --git a/src/projects/k3bmixedview.cpp b/src/projects/k3bmixedview.cpp index 1022d0a..8d1b939 100644 --- a/src/projects/k3bmixedview.cpp +++ b/src/projects/k3bmixedview.cpp @@ -44,8 +44,8 @@ #include <kactionclasses.h> -K3bMixedView::K3bMixedView( K3bMixedDoc* doc, TQWidget* tqparent, const char* name ) - : K3bView( doc, tqparent, name ), m_doc(doc) +K3bMixedView::K3bMixedView( K3bMixedDoc* doc, TQWidget* parent, const char* name ) + : K3bView( doc, parent, name ), m_doc(doc) { TQSplitter* splitter = new TQSplitter( this ); m_mixedDirTreeView = new K3bMixedDirTreeView( this, doc, splitter ); @@ -138,9 +138,9 @@ void K3bMixedView::slotBurn() } -K3bProjectBurnDialog* K3bMixedView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bMixedView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bMixedBurnDialog( m_doc, tqparent, name, true ); + return new K3bMixedBurnDialog( m_doc, parent, name, true ); } diff --git a/src/projects/k3bmixedview.h b/src/projects/k3bmixedview.h index 1111dd3..4da7391 100644 --- a/src/projects/k3bmixedview.h +++ b/src/projects/k3bmixedview.h @@ -36,7 +36,7 @@ class K3bMixedView : public K3bView TQ_OBJECT public: - K3bMixedView( K3bMixedDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bMixedView( K3bMixedDoc* doc, TQWidget* parent = 0, const char* name = 0 ); ~K3bMixedView(); K3bDirItem* currentDir() const; @@ -48,7 +48,7 @@ class K3bMixedView : public K3bView void addUrls( const KURL::List& ); protected: - K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); private slots: void slotAudioTreeSelected(); diff --git a/src/projects/k3bmovixburndialog.cpp b/src/projects/k3bmovixburndialog.cpp index 1a785d8..4a49d4f 100644 --- a/src/projects/k3bmovixburndialog.cpp +++ b/src/projects/k3bmovixburndialog.cpp @@ -43,8 +43,8 @@ #include <tqfileinfo.h> -K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, TQWidget* tqparent, const char* name, bool modal ) - : K3bProjectBurnDialog( doc, tqparent, name, modal ), +K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, TQWidget* parent, const char* name, bool modal ) + : K3bProjectBurnDialog( doc, parent, name, modal ), m_doc(doc) { prepareGui(); diff --git a/src/projects/k3bmovixburndialog.h b/src/projects/k3bmovixburndialog.h index 326a5b7..05fc413 100644 --- a/src/projects/k3bmovixburndialog.h +++ b/src/projects/k3bmovixburndialog.h @@ -33,7 +33,7 @@ class K3bMovixBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bMovixBurnDialog( K3bMovixDoc* doc, TQWidget* tqparent = 0, const char* name = 0, bool modal = true ); + K3bMovixBurnDialog( K3bMovixDoc* doc, TQWidget* parent = 0, const char* name = 0, bool modal = true ); ~K3bMovixBurnDialog(); protected slots: diff --git a/src/projects/k3bmovixdvdburndialog.cpp b/src/projects/k3bmovixdvdburndialog.cpp index fccc3b0..9cc5617 100644 --- a/src/projects/k3bmovixdvdburndialog.cpp +++ b/src/projects/k3bmovixdvdburndialog.cpp @@ -45,8 +45,8 @@ #include <tqfileinfo.h> -K3bMovixDvdBurnDialog::K3bMovixDvdBurnDialog( K3bMovixDvdDoc* doc, TQWidget* tqparent, const char* name, bool modal ) - : K3bProjectBurnDialog( doc, tqparent, name, modal, true ), +K3bMovixDvdBurnDialog::K3bMovixDvdBurnDialog( K3bMovixDvdDoc* doc, TQWidget* parent, const char* name, bool modal ) + : K3bProjectBurnDialog( doc, parent, name, modal, true ), m_doc(doc) { prepareGui(); diff --git a/src/projects/k3bmovixdvdburndialog.h b/src/projects/k3bmovixdvdburndialog.h index ca0b4d0..fe08e29 100644 --- a/src/projects/k3bmovixdvdburndialog.h +++ b/src/projects/k3bmovixdvdburndialog.h @@ -32,7 +32,7 @@ class K3bMovixDvdBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bMovixDvdBurnDialog( K3bMovixDvdDoc* doc, TQWidget* tqparent = 0, const char* name = 0, bool modal = true ); + K3bMovixDvdBurnDialog( K3bMovixDvdDoc* doc, TQWidget* parent = 0, const char* name = 0, bool modal = true ); ~K3bMovixDvdBurnDialog(); protected slots: diff --git a/src/projects/k3bmovixdvdview.cpp b/src/projects/k3bmovixdvdview.cpp index 42b864d..ae1e5a7 100644 --- a/src/projects/k3bmovixdvdview.cpp +++ b/src/projects/k3bmovixdvdview.cpp @@ -22,8 +22,8 @@ #include <klocale.h> -K3bMovixDvdView::K3bMovixDvdView( K3bMovixDvdDoc* doc, TQWidget *tqparent, const char *name ) - : K3bMovixView( doc, tqparent, name ) +K3bMovixDvdView::K3bMovixDvdView( K3bMovixDvdDoc* doc, TQWidget *parent, const char *name ) + : K3bMovixView( doc, parent, name ) { m_doc = doc; @@ -40,9 +40,9 @@ K3bMovixDvdView::~K3bMovixDvdView() } -K3bProjectBurnDialog* K3bMovixDvdView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bMovixDvdView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bMovixDvdBurnDialog( m_doc, tqparent, name, true ); + return new K3bMovixDvdBurnDialog( m_doc, parent, name, true ); } #include "k3bmovixdvdview.moc" diff --git a/src/projects/k3bmovixdvdview.h b/src/projects/k3bmovixdvdview.h index d6d1977..e368ed7 100644 --- a/src/projects/k3bmovixdvdview.h +++ b/src/projects/k3bmovixdvdview.h @@ -28,11 +28,11 @@ class K3bMovixDvdView : public K3bMovixView TQ_OBJECT public: - K3bMovixDvdView( K3bMovixDvdDoc* doc, TQWidget *tqparent = 0, const char *name = 0 ); + K3bMovixDvdView( K3bMovixDvdDoc* doc, TQWidget *parent = 0, const char *name = 0 ); ~K3bMovixDvdView(); protected: - K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); private: K3bMovixDvdDoc* m_doc; diff --git a/src/projects/k3bmovixlistview.cpp b/src/projects/k3bmovixlistview.cpp index f6fbfa1..e43dfd5 100644 --- a/src/projects/k3bmovixlistview.cpp +++ b/src/projects/k3bmovixlistview.cpp @@ -32,9 +32,9 @@ K3bMovixListViewItem::K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixFileItem* item, - TQListView* tqparent, + TQListView* parent, TQListViewItem* after ) - : K3bListViewItem( tqparent, after ), + : K3bListViewItem( parent, after ), m_doc(doc), m_fileItem(item) { @@ -43,8 +43,8 @@ K3bMovixListViewItem::K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixListViewItem::K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixFileItem* item, - TQListViewItem* tqparent ) - : K3bListViewItem( tqparent ), + TQListViewItem* parent ) + : K3bListViewItem( parent ), m_doc(doc), m_fileItem(item) { @@ -58,9 +58,9 @@ K3bMovixListViewItem::~K3bMovixListViewItem() K3bMovixFileViewItem::K3bMovixFileViewItem( K3bMovixDoc* doc, K3bMovixFileItem* item, - TQListView* tqparent, + TQListView* parent, TQListViewItem* after ) - : K3bMovixListViewItem( doc, item, tqparent, after ), + : K3bMovixListViewItem( doc, item, parent, after ), KFileItem( 0, 0, KURL::fromPathOrURL(item->localPath()) ) { setPixmap( 1, KFileItem::pixmap( 16, KIcon::DefaultState ) ); @@ -119,8 +119,8 @@ TQString K3bMovixFileViewItem::key( int, bool ) const K3bMovixSubTitleViewItem::K3bMovixSubTitleViewItem( K3bMovixDoc* doc, K3bMovixFileItem* item, - K3bMovixListViewItem* tqparent ) - : K3bMovixListViewItem( doc, item, tqparent ), + K3bMovixListViewItem* parent ) + : K3bMovixListViewItem( doc, item, parent ), KFileItem( 0, 0, KURL::fromPathOrURL(item->subTitleItem()->localPath()) ) { } @@ -166,8 +166,8 @@ TQString K3bMovixSubTitleViewItem::text( int c ) const -K3bMovixListView::K3bMovixListView( K3bMovixDoc* doc, TQWidget* tqparent, const char* name ) - : K3bListView( tqparent, name ), +K3bMovixListView::K3bMovixListView( K3bMovixDoc* doc, TQWidget* parent, const char* name ) + : K3bListView( parent, name ), m_doc(doc) { addColumn( i18n("No.") ); diff --git a/src/projects/k3bmovixlistview.h b/src/projects/k3bmovixlistview.h index d3b8119..fac8e4b 100644 --- a/src/projects/k3bmovixlistview.h +++ b/src/projects/k3bmovixlistview.h @@ -32,8 +32,8 @@ class K3bFileItem; class K3bMovixListViewItem : public K3bListViewItem { public: - K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixFileItem*, TQListView* tqparent, TQListViewItem* after ); - K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixFileItem*, TQListViewItem* tqparent ); + K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixFileItem*, TQListView* parent, TQListViewItem* after ); + K3bMovixListViewItem( K3bMovixDoc* doc, K3bMovixFileItem*, TQListViewItem* parent ); ~K3bMovixListViewItem(); K3bMovixFileItem* fileItem() const { return m_fileItem; } @@ -50,7 +50,7 @@ class K3bMovixListViewItem : public K3bListViewItem class K3bMovixFileViewItem : public K3bMovixListViewItem, public KFileItem { public: - K3bMovixFileViewItem( K3bMovixDoc* doc, K3bMovixFileItem*, TQListView* tqparent, TQListViewItem* ); + K3bMovixFileViewItem( K3bMovixDoc* doc, K3bMovixFileItem*, TQListView* parent, TQListViewItem* ); TQString text( int ) const; void setText(int col, const TQString& text ); @@ -62,7 +62,7 @@ class K3bMovixFileViewItem : public K3bMovixListViewItem, public KFileItem class K3bMovixSubTitleViewItem : public K3bMovixListViewItem, public KFileItem { public: - K3bMovixSubTitleViewItem( K3bMovixDoc*, K3bMovixFileItem* item, K3bMovixListViewItem* tqparent ); + K3bMovixSubTitleViewItem( K3bMovixDoc*, K3bMovixFileItem* item, K3bMovixListViewItem* parent ); ~K3bMovixSubTitleViewItem(); TQString text( int ) const; @@ -77,7 +77,7 @@ class K3bMovixListView : public K3bListView TQ_OBJECT public: - K3bMovixListView( K3bMovixDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bMovixListView( K3bMovixDoc* doc, TQWidget* parent = 0, const char* name = 0 ); ~K3bMovixListView(); TQDragObject* dragObject(); diff --git a/src/projects/k3bmovixoptionswidget.cpp b/src/projects/k3bmovixoptionswidget.cpp index f9220a9..5041244 100644 --- a/src/projects/k3bmovixoptionswidget.cpp +++ b/src/projects/k3bmovixoptionswidget.cpp @@ -79,8 +79,8 @@ private: }; -K3bMovixOptionsWidget::K3bMovixOptionsWidget( TQWidget* tqparent, const char* name ) - : base_K3bMovixOptionsWidget( tqparent, name ) +K3bMovixOptionsWidget::K3bMovixOptionsWidget( TQWidget* parent, const char* name ) + : base_K3bMovixOptionsWidget( parent, name ) { m_keyboardLangHelper = new LanguageSelectionHelper( m_comboKeyboardLayout ); m_helpLangHelper = new LanguageSelectionHelper( m_comboBootMessageLanguage ); diff --git a/src/projects/k3bmovixoptionswidget.h b/src/projects/k3bmovixoptionswidget.h index 76437f7..fe0e83e 100644 --- a/src/projects/k3bmovixoptionswidget.h +++ b/src/projects/k3bmovixoptionswidget.h @@ -30,7 +30,7 @@ class K3bMovixOptionsWidget : public base_K3bMovixOptionsWidget TQ_OBJECT public: - K3bMovixOptionsWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bMovixOptionsWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bMovixOptionsWidget(); public slots: diff --git a/src/projects/k3bmovixview.cpp b/src/projects/k3bmovixview.cpp index 45a30ff..58c6ba7 100644 --- a/src/projects/k3bmovixview.cpp +++ b/src/projects/k3bmovixview.cpp @@ -38,8 +38,8 @@ #include <tqlineedit.h> -K3bMovixView::K3bMovixView( K3bMovixDoc* doc, TQWidget* tqparent, const char* name ) - : K3bView( doc, tqparent, name ), +K3bMovixView::K3bMovixView( K3bMovixDoc* doc, TQWidget* parent, const char* name ) + : K3bView( doc, parent, name ), m_doc(doc) { m_listView = new K3bMovixListView( m_doc, this ); @@ -176,9 +176,9 @@ void K3bMovixView::slotAddSubTitleFile() } -K3bProjectBurnDialog* K3bMovixView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bMovixView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bMovixBurnDialog( m_doc, tqparent, name, true ); + return new K3bMovixBurnDialog( m_doc, parent, name, true ); } diff --git a/src/projects/k3bmovixview.h b/src/projects/k3bmovixview.h index 3f07c68..2b58bc9 100644 --- a/src/projects/k3bmovixview.h +++ b/src/projects/k3bmovixview.h @@ -35,7 +35,7 @@ class K3bMovixView : public K3bView TQ_OBJECT public: - K3bMovixView( K3bMovixDoc* doc, TQWidget* tqparent = 0, const char* name = 0 ); + K3bMovixView( K3bMovixDoc* doc, TQWidget* parent = 0, const char* name = 0 ); virtual ~K3bMovixView(); private slots: @@ -47,7 +47,7 @@ class K3bMovixView : public K3bView void slotDocChanged(); protected: - virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); K3bMovixListView* m_listView; diff --git a/src/projects/k3bmusicbrainzjob.cpp b/src/projects/k3bmusicbrainzjob.cpp index 09d59d1..2074cd2 100644 --- a/src/projects/k3bmusicbrainzjob.cpp +++ b/src/projects/k3bmusicbrainzjob.cpp @@ -152,9 +152,9 @@ void K3bMusicBrainzJob::MusicBrainzThread::run() -// cannot use this as tqparent for the K3bSimpleJobHandler since this has not been constructed yet -K3bMusicBrainzJob::K3bMusicBrainzJob( TQWidget* tqparent, const char* name ) - : K3bJob( new K3bSimpleJobHandler( 0 ), TQT_TQOBJECT(tqparent), name ), +// cannot use this as parent for the K3bSimpleJobHandler since this has not been constructed yet +K3bMusicBrainzJob::K3bMusicBrainzJob( TQWidget* parent, const char* name ) + : K3bJob( new K3bSimpleJobHandler( 0 ), TQT_TQOBJECT(parent), name ), m_canceled( false ) { m_trmThread = new TRMThread(); @@ -259,7 +259,7 @@ void K3bMusicBrainzJob::slotMbJobFinished( bool success ) 0, false, &ok, - dynamic_cast<TQWidget*>(tqparent()) ); + dynamic_cast<TQWidget*>(parent()) ); else s = resultStringsUnique.first(); diff --git a/src/projects/k3bmusicbrainzjob.h b/src/projects/k3bmusicbrainzjob.h index 52653a1..5e85f67 100644 --- a/src/projects/k3bmusicbrainzjob.h +++ b/src/projects/k3bmusicbrainzjob.h @@ -45,10 +45,10 @@ class K3bMusicBrainzJob : public K3bJob public: /** - * \param tqparent since we do not use this job with a normal progressdialog we need a widget - * as tqparent + * \param parent since we do not use this job with a normal progressdialog we need a widget + * as parent */ - K3bMusicBrainzJob( TQWidget* tqparent = 0, const char* name = 0 ); + K3bMusicBrainzJob( TQWidget* parent = 0, const char* name = 0 ); ~K3bMusicBrainzJob(); bool hasBeenCanceled() const { return m_canceled; } diff --git a/src/projects/k3bprojectburndialog.cpp b/src/projects/k3bprojectburndialog.cpp index 5390e4c..66bd61a 100644 --- a/src/projects/k3bprojectburndialog.cpp +++ b/src/projects/k3bprojectburndialog.cpp @@ -51,8 +51,8 @@ #include <kiconloader.h> -K3bProjectBurnDialog::K3bProjectBurnDialog( K3bDoc* doc, TQWidget *tqparent, const char *name, bool modal, bool dvd ) - : K3bInteractionDialog( tqparent, name, i18n("Project"), TQString(), +K3bProjectBurnDialog::K3bProjectBurnDialog( K3bDoc* doc, TQWidget *parent, const char *name, bool modal, bool dvd ) + : K3bInteractionDialog( parent, name, i18n("Project"), TQString(), START_BUTTON|SAVE_BUTTON|CANCEL_BUTTON, START_BUTTON, "default " + doc->typeString() + " settings", modal ), m_writerSelectionWidget(0), diff --git a/src/projects/k3bprojectburndialog.h b/src/projects/k3bprojectburndialog.h index 2e7f32f..92e8c99 100644 --- a/src/projects/k3bprojectburndialog.h +++ b/src/projects/k3bprojectburndialog.h @@ -42,7 +42,7 @@ class K3bProjectBurnDialog : public K3bInteractionDialog TQ_OBJECT public: - K3bProjectBurnDialog( K3bDoc* doc, TQWidget *tqparent=0, const char *name=0, + K3bProjectBurnDialog( K3bDoc* doc, TQWidget *parent=0, const char *name=0, bool modal = true, bool dvd = false ); ~K3bProjectBurnDialog(); diff --git a/src/projects/k3bprojectplugindialog.cpp b/src/projects/k3bprojectplugindialog.cpp index 4a6d1fb..6b59c68 100644 --- a/src/projects/k3bprojectplugindialog.cpp +++ b/src/projects/k3bprojectplugindialog.cpp @@ -20,8 +20,8 @@ #include <tqwidget.h> -K3bProjectPluginDialog::K3bProjectPluginDialog( K3bProjectPlugin* plugin, K3bDoc* doc, TQWidget* tqparent, const char* name ) - : K3bInteractionDialog( tqparent, name, +K3bProjectPluginDialog::K3bProjectPluginDialog( K3bProjectPlugin* plugin, K3bDoc* doc, TQWidget* parent, const char* name ) + : K3bInteractionDialog( parent, name, TQString(), TQString(), START_BUTTON|CANCEL_BUTTON, diff --git a/src/projects/k3bvcdburndialog.cpp b/src/projects/k3bvcdburndialog.cpp index 07c7b85..3f2434c 100644 --- a/src/projects/k3bvcdburndialog.cpp +++ b/src/projects/k3bvcdburndialog.cpp @@ -47,8 +47,8 @@ #include <k3bexternalbinmanager.h> #include <k3bvalidators.h> -K3bVcdBurnDialog::K3bVcdBurnDialog( K3bVcdDoc* _doc, TQWidget *tqparent, const char *name, bool modal ) - : K3bProjectBurnDialog( _doc, tqparent, name, modal ) +K3bVcdBurnDialog::K3bVcdBurnDialog( K3bVcdDoc* _doc, TQWidget *parent, const char *name, bool modal ) + : K3bProjectBurnDialog( _doc, parent, name, modal ) { m_vcdDoc = _doc; diff --git a/src/projects/k3bvcdburndialog.h b/src/projects/k3bvcdburndialog.h index 322fedf..3f75d3d 100644 --- a/src/projects/k3bvcdburndialog.h +++ b/src/projects/k3bvcdburndialog.h @@ -39,7 +39,7 @@ class K3bVcdBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bVcdBurnDialog( K3bVcdDoc* doc, TQWidget *tqparent = 0, const char *name = 0, bool modal = true ); + K3bVcdBurnDialog( K3bVcdDoc* doc, TQWidget *parent = 0, const char *name = 0, bool modal = true ); ~K3bVcdBurnDialog(); K3bVcdDoc* vcdDoc() const diff --git a/src/projects/k3bvcdlistview.cpp b/src/projects/k3bvcdlistview.cpp index 372ae1c..3232384 100644 --- a/src/projects/k3bvcdlistview.cpp +++ b/src/projects/k3bvcdlistview.cpp @@ -39,8 +39,8 @@ #include "k3bvcddoc.h" #include <k3bview.h> -K3bVcdListView::K3bVcdListView( K3bView* view, K3bVcdDoc* doc, TQWidget *tqparent, const char *name ) - : K3bListView( tqparent, name ), m_doc( doc ), m_view( view ) +K3bVcdListView::K3bVcdListView( K3bView* view, K3bVcdDoc* doc, TQWidget *parent, const char *name ) + : K3bListView( parent, name ), m_doc( doc ), m_view( view ) { setAcceptDrops( true ); setDropVisualizer( true ); diff --git a/src/projects/k3bvcdlistview.h b/src/projects/k3bvcdlistview.h index 01fa218..bb48a87 100644 --- a/src/projects/k3bvcdlistview.h +++ b/src/projects/k3bvcdlistview.h @@ -41,7 +41,7 @@ class K3bVcdListView : public K3bListView TQ_OBJECT public: - K3bVcdListView( K3bView*, K3bVcdDoc*, TQWidget *tqparent = 0, const char *name = 0 ); + K3bVcdListView( K3bView*, K3bVcdDoc*, TQWidget *parent = 0, const char *name = 0 ); ~K3bVcdListView(); /** diff --git a/src/projects/k3bvcdlistviewitem.cpp b/src/projects/k3bvcdlistviewitem.cpp index 5232632..9ad778f 100644 --- a/src/projects/k3bvcdlistviewitem.cpp +++ b/src/projects/k3bvcdlistviewitem.cpp @@ -22,15 +22,15 @@ #include "k3bvcdtrack.h" #include <k3bglobals.h> -K3bVcdListViewItem::K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* tqparent ) - : K3bListViewItem( tqparent ), m_track( track ) +K3bVcdListViewItem::K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* parent ) + : K3bListViewItem( parent ), m_track( track ) { setEditor( 1, LINE ); animate(); } -K3bVcdListViewItem::K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* tqparent, TQListViewItem* after ) - : K3bListViewItem( tqparent, after ), m_track( track ) +K3bVcdListViewItem::K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* parent, TQListViewItem* after ) + : K3bListViewItem( parent, after ), m_track( track ) { setEditor( 1, LINE ); animate(); diff --git a/src/projects/k3bvcdlistviewitem.h b/src/projects/k3bvcdlistviewitem.h index 9a1a290..085deb7 100644 --- a/src/projects/k3bvcdlistviewitem.h +++ b/src/projects/k3bvcdlistviewitem.h @@ -24,8 +24,8 @@ class K3bVcdListViewItem : public K3bListViewItem { public: - K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* tqparent ); - K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* tqparent, TQListViewItem* after ); + K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* parent ); + K3bVcdListViewItem( K3bVcdTrack* track, K3bListView* parent, TQListViewItem* after ); ~K3bVcdListViewItem(); /** reimplemented from TQListViewItem */ diff --git a/src/projects/k3bvcdtrackdialog.cpp b/src/projects/k3bvcdtrackdialog.cpp index 7fac6b1..be140f7 100644 --- a/src/projects/k3bvcdtrackdialog.cpp +++ b/src/projects/k3bvcdtrackdialog.cpp @@ -47,9 +47,9 @@ #include <k3bcutcombobox.h> -K3bVcdTrackDialog::K3bVcdTrackDialog( K3bVcdDoc* _doc, TQPtrList<K3bVcdTrack>& tracks, TQPtrList<K3bVcdTrack>& selectedTracks, TQWidget* tqparent, const char* name ) +K3bVcdTrackDialog::K3bVcdTrackDialog( K3bVcdDoc* _doc, TQPtrList<K3bVcdTrack>& tracks, TQPtrList<K3bVcdTrack>& selectedTracks, TQWidget* parent, const char* name ) : KDialogBase( KDialogBase::Plain, i18n( "Video Track Properties" ), KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::Apply, - KDialogBase::Ok, tqparent, name ) + KDialogBase::Ok, parent, name ) { prepareGui(); diff --git a/src/projects/k3bvcdtrackdialog.h b/src/projects/k3bvcdtrackdialog.h index 565275b..0bf23e3 100644 --- a/src/projects/k3bvcdtrackdialog.h +++ b/src/projects/k3bvcdtrackdialog.h @@ -40,7 +40,7 @@ class K3bVcdTrackDialog : public KDialogBase TQ_OBJECT public: - K3bVcdTrackDialog( K3bVcdDoc*, TQPtrList<K3bVcdTrack>& tracks, TQPtrList<K3bVcdTrack>& selectedTracks, TQWidget* tqparent = 0, const char* name = 0 ); + K3bVcdTrackDialog( K3bVcdDoc*, TQPtrList<K3bVcdTrack>& tracks, TQPtrList<K3bVcdTrack>& selectedTracks, TQWidget* parent = 0, const char* name = 0 ); ~K3bVcdTrackDialog(); protected slots: diff --git a/src/projects/k3bvcdview.cpp b/src/projects/k3bvcdview.cpp index 852928f..2a42495 100644 --- a/src/projects/k3bvcdview.cpp +++ b/src/projects/k3bvcdview.cpp @@ -34,8 +34,8 @@ #include <k3bcore.h> -K3bVcdView::K3bVcdView( K3bVcdDoc* pDoc, TQWidget* tqparent, const char *name ) - : K3bView( pDoc, tqparent, name ) +K3bVcdView::K3bVcdView( K3bVcdDoc* pDoc, TQWidget* parent, const char *name ) + : K3bView( pDoc, parent, name ) { m_doc = pDoc; @@ -53,9 +53,9 @@ K3bVcdView::~K3bVcdView() {} -K3bProjectBurnDialog* K3bVcdView::newBurnDialog( TQWidget * tqparent, const char * name ) +K3bProjectBurnDialog* K3bVcdView::newBurnDialog( TQWidget * parent, const char * name ) { - return new K3bVcdBurnDialog( m_doc, tqparent, name, true ); + return new K3bVcdBurnDialog( m_doc, parent, name, true ); } diff --git a/src/projects/k3bvcdview.h b/src/projects/k3bvcdview.h index a58a465..036dbdc 100644 --- a/src/projects/k3bvcdview.h +++ b/src/projects/k3bvcdview.h @@ -39,11 +39,11 @@ class K3bVcdView : public K3bView TQ_OBJECT public: - K3bVcdView( K3bVcdDoc* pDoc, TQWidget* tqparent, const char *name = 0 ); + K3bVcdView( K3bVcdDoc* pDoc, TQWidget* parent, const char *name = 0 ); ~K3bVcdView(); protected: - K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); void init(); diff --git a/src/projects/k3bvideodvdburndialog.cpp b/src/projects/k3bvideodvdburndialog.cpp index d7602b0..c5adefb 100644 --- a/src/projects/k3bvideodvdburndialog.cpp +++ b/src/projects/k3bvideodvdburndialog.cpp @@ -40,8 +40,8 @@ #include <tqwhatsthis.h> -K3bVideoDvdBurnDialog::K3bVideoDvdBurnDialog( K3bVideoDvdDoc* doc, TQWidget *tqparent, const char *name, bool modal ) - : K3bProjectBurnDialog( doc, tqparent, name, modal, true ), +K3bVideoDvdBurnDialog::K3bVideoDvdBurnDialog( K3bVideoDvdDoc* doc, TQWidget *parent, const char *name, bool modal ) + : K3bProjectBurnDialog( doc, parent, name, modal, true ), m_doc( doc ) { prepareGui(); diff --git a/src/projects/k3bvideodvdburndialog.h b/src/projects/k3bvideodvdburndialog.h index af393d1..5dfc9d5 100644 --- a/src/projects/k3bvideodvdburndialog.h +++ b/src/projects/k3bvideodvdburndialog.h @@ -31,7 +31,7 @@ class K3bVideoDvdBurnDialog : public K3bProjectBurnDialog TQ_OBJECT public: - K3bVideoDvdBurnDialog( K3bVideoDvdDoc*, TQWidget *tqparent = 0, const char *name = 0, bool modal = true ); + K3bVideoDvdBurnDialog( K3bVideoDvdDoc*, TQWidget *parent = 0, const char *name = 0, bool modal = true ); ~K3bVideoDvdBurnDialog(); protected slots: diff --git a/src/projects/k3bvideodvdview.cpp b/src/projects/k3bvideodvdview.cpp index 792ffc5..252e2d0 100644 --- a/src/projects/k3bvideodvdview.cpp +++ b/src/projects/k3bvideodvdview.cpp @@ -31,8 +31,8 @@ #include <tqsplitter.h> -K3bVideoDvdView::K3bVideoDvdView( K3bVideoDvdDoc* doc, TQWidget *tqparent, const char *name ) - : K3bView( doc, tqparent, name ), +K3bVideoDvdView::K3bVideoDvdView( K3bVideoDvdDoc* doc, TQWidget *parent, const char *name ) + : K3bView( doc, parent, name ), m_doc(doc) { fillStatusDisplay()->showDvdSizes(true); @@ -58,9 +58,9 @@ K3bVideoDvdView::~K3bVideoDvdView() } -K3bProjectBurnDialog* K3bVideoDvdView::newBurnDialog( TQWidget* tqparent, const char* name ) +K3bProjectBurnDialog* K3bVideoDvdView::newBurnDialog( TQWidget* parent, const char* name ) { - return new K3bVideoDvdBurnDialog( m_doc, tqparent, name, true ); + return new K3bVideoDvdBurnDialog( m_doc, parent, name, true ); } diff --git a/src/projects/k3bvideodvdview.h b/src/projects/k3bvideodvdview.h index 59dd88d..cd0d037 100644 --- a/src/projects/k3bvideodvdview.h +++ b/src/projects/k3bvideodvdview.h @@ -30,13 +30,13 @@ class K3bVideoDvdView : public K3bView TQ_OBJECT public: - K3bVideoDvdView( K3bVideoDvdDoc* doc, TQWidget *tqparent = 0, const char *name = 0 ); + K3bVideoDvdView( K3bVideoDvdDoc* doc, TQWidget *parent = 0, const char *name = 0 ); ~K3bVideoDvdView(); void addUrls( const KURL::List& ); protected: - virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* tqparent = 0, const char* name = 0 ); + virtual K3bProjectBurnDialog* newBurnDialog( TQWidget* parent = 0, const char* name = 0 ); void init(); diff --git a/src/projects/k3bview.cpp b/src/projects/k3bview.cpp index ccb2656..fbd3a91 100644 --- a/src/projects/k3bview.cpp +++ b/src/projects/k3bview.cpp @@ -40,8 +40,8 @@ #include <k3bcore.h> -K3bView::K3bView( K3bDoc* pDoc, TQWidget *tqparent, const char* name ) - : TQWidget( tqparent, name ), +K3bView::K3bView( K3bDoc* pDoc, TQWidget *parent, const char* name ) + : TQWidget( parent, name ), m_doc( pDoc ) { TQGridLayout* grid = new TQGridLayout( this ); diff --git a/src/projects/k3bview.h b/src/projects/k3bview.h index 9ca4438..7736cf5 100644 --- a/src/projects/k3bview.h +++ b/src/projects/k3bview.h @@ -48,7 +48,7 @@ class K3bView : public TQWidget, public KXMLGUIClient /** * */ - K3bView( K3bDoc* pDoc, TQWidget* tqparent, const char *name = 0 ); + K3bView( K3bDoc* pDoc, TQWidget* parent, const char *name = 0 ); virtual ~K3bView(); /** diff --git a/src/rip/k3baudiocdlistview.cpp b/src/rip/k3baudiocdlistview.cpp index fe7fcde..8e0a31a 100644 --- a/src/rip/k3baudiocdlistview.cpp +++ b/src/rip/k3baudiocdlistview.cpp @@ -22,8 +22,8 @@ #include <tqtooltip.h> -K3bAudioCdListView::K3bAudioCdListView( K3bAudioCdView* view, TQWidget* tqparent, const char* name ) - : K3bListView( tqparent, name ), +K3bAudioCdListView::K3bAudioCdListView( K3bAudioCdView* view, TQWidget* parent, const char* name ) + : K3bListView( parent, name ), m_view(view) { setFullWidth(true); diff --git a/src/rip/k3baudiocdlistview.h b/src/rip/k3baudiocdlistview.h index dccdc20..3dc0d5d 100644 --- a/src/rip/k3baudiocdlistview.h +++ b/src/rip/k3baudiocdlistview.h @@ -30,7 +30,7 @@ class K3bAudioCdListView : public K3bListView TQ_OBJECT public: - K3bAudioCdListView( K3bAudioCdView*, TQWidget* tqparent = 0, const char* name = 0 ); + K3bAudioCdListView( K3bAudioCdView*, TQWidget* parent = 0, const char* name = 0 ); ~K3bAudioCdListView(); protected: diff --git a/src/rip/k3baudiocdview.cpp b/src/rip/k3baudiocdview.cpp index f8e5c0a..807e462 100644 --- a/src/rip/k3baudiocdview.cpp +++ b/src/rip/k3baudiocdview.cpp @@ -60,11 +60,11 @@ class K3bAudioCdView::AudioTrackViewItem : public K3bCheckListViewItem { public: - AudioTrackViewItem( TQListView* tqparent, + AudioTrackViewItem( TQListView* parent, TQListViewItem* after, int _trackNumber, const K3b::Msf& length) - : K3bCheckListViewItem( tqparent, after ) { + : K3bCheckListViewItem( parent, after ) { setText( 1, TQString::number(_trackNumber).rightJustify( 2, ' ' ) ); setText( 3, i18n("Track %1").tqarg(_trackNumber) ); @@ -94,12 +94,12 @@ public: }; -K3bAudioCdView::K3bAudioCdView( TQWidget* tqparent, const char *name ) +K3bAudioCdView::K3bAudioCdView( TQWidget* parent, const char *name ) : K3bMediaContentsView( true, K3bMedium::CONTENT_AUDIO, K3bDevice::MEDIA_CD_ALL, K3bDevice::STATE_INCOMPLETE|K3bDevice::STATE_COMPLETE, - tqparent, name ) + parent, name ) { TQGridLayout* mainGrid = new TQGridLayout( mainWidget() ); diff --git a/src/rip/k3baudiocdview.h b/src/rip/k3baudiocdview.h index f28e3a9..5da344c 100644 --- a/src/rip/k3baudiocdview.h +++ b/src/rip/k3baudiocdview.h @@ -47,7 +47,7 @@ class K3bAudioCdView : public K3bMediaContentsView TQ_OBJECT public: - K3bAudioCdView( TQWidget* tqparent = 0, const char * name = 0 ); + K3bAudioCdView( TQWidget* parent = 0, const char * name = 0 ); ~K3bAudioCdView(); KActionCollection* actionCollection() const { return m_actionCollection; } diff --git a/src/rip/k3baudioconvertingoptionwidget.cpp b/src/rip/k3baudioconvertingoptionwidget.cpp index c03db69..f777ef7 100644 --- a/src/rip/k3baudioconvertingoptionwidget.cpp +++ b/src/rip/k3baudioconvertingoptionwidget.cpp @@ -77,8 +77,8 @@ public: }; -K3bAudioConvertingOptionWidget::K3bAudioConvertingOptionWidget( TQWidget* tqparent, const char* name ) - : base_K3bAudioRippingOptionWidget( tqparent, name ) +K3bAudioConvertingOptionWidget::K3bAudioConvertingOptionWidget( TQWidget* parent, const char* name ) + : base_K3bAudioRippingOptionWidget( parent, name ) { d = new Private(); diff --git a/src/rip/k3baudioconvertingoptionwidget.h b/src/rip/k3baudioconvertingoptionwidget.h index 5ef51a7..6dbeab6 100644 --- a/src/rip/k3baudioconvertingoptionwidget.h +++ b/src/rip/k3baudioconvertingoptionwidget.h @@ -34,7 +34,7 @@ class K3bAudioConvertingOptionWidget : public base_K3bAudioRippingOptionWidget TQ_OBJECT public: - K3bAudioConvertingOptionWidget( TQWidget* tqparent, const char* name = 0 ); + K3bAudioConvertingOptionWidget( TQWidget* parent, const char* name = 0 ); ~K3bAudioConvertingOptionWidget(); void setBaseDir( const TQString& path ); diff --git a/src/rip/k3baudioprojectconvertingdialog.cpp b/src/rip/k3baudioprojectconvertingdialog.cpp index 7143ed3..60200e3 100644 --- a/src/rip/k3baudioprojectconvertingdialog.cpp +++ b/src/rip/k3baudioprojectconvertingdialog.cpp @@ -64,8 +64,8 @@ public: }; -K3bAudioProjectConvertingDialog::K3bAudioProjectConvertingDialog( K3bAudioDoc* doc, TQWidget *tqparent, const char *name ) - : K3bInteractionDialog( tqparent, name, +K3bAudioProjectConvertingDialog::K3bAudioProjectConvertingDialog( K3bAudioDoc* doc, TQWidget *parent, const char *name ) + : K3bInteractionDialog( parent, name, TQString(), TQString(), START_BUTTON|CANCEL_BUTTON, diff --git a/src/rip/k3baudioprojectconvertingdialog.h b/src/rip/k3baudioprojectconvertingdialog.h index f9956ff..fd7c8f9 100644 --- a/src/rip/k3baudioprojectconvertingdialog.h +++ b/src/rip/k3baudioprojectconvertingdialog.h @@ -45,7 +45,7 @@ class K3bAudioProjectConvertingDialog : public K3bInteractionDialog TQ_OBJECT public: - K3bAudioProjectConvertingDialog( K3bAudioDoc*, TQWidget *tqparent = 0, const char *name = 0 ); + K3bAudioProjectConvertingDialog( K3bAudioDoc*, TQWidget *parent = 0, const char *name = 0 ); ~K3bAudioProjectConvertingDialog(); void setBaseDir( const TQString& path ); diff --git a/src/rip/k3baudioripjob.cpp b/src/rip/k3baudioripjob.cpp index ac53c38..3aed35c 100644 --- a/src/rip/k3baudioripjob.cpp +++ b/src/rip/k3baudioripjob.cpp @@ -23,8 +23,8 @@ #include <klocale.h> -K3bAudioRipJob::K3bAudioRipJob( K3bJobHandler* hdl, TQObject* tqparent ) - : K3bJob( hdl, tqparent ) +K3bAudioRipJob::K3bAudioRipJob( K3bJobHandler* hdl, TQObject* parent ) + : K3bJob( hdl, parent ) { m_thread = new K3bAudioRipThread(); m_threadJob = new K3bThreadJob( m_thread, this, this ); diff --git a/src/rip/k3baudioripjob.h b/src/rip/k3baudioripjob.h index 691af34..259cdc1 100644 --- a/src/rip/k3baudioripjob.h +++ b/src/rip/k3baudioripjob.h @@ -35,7 +35,7 @@ class K3bAudioRipJob : public K3bJob TQ_OBJECT public: - K3bAudioRipJob( K3bJobHandler* hdl, TQObject* tqparent ); + K3bAudioRipJob( K3bJobHandler* hdl, TQObject* parent ); ~K3bAudioRipJob(); TQString jobDescription() const; diff --git a/src/rip/k3baudiorippingdialog.cpp b/src/rip/k3baudiorippingdialog.cpp index e669749..d1088ca 100644 --- a/src/rip/k3baudiorippingdialog.cpp +++ b/src/rip/k3baudiorippingdialog.cpp @@ -82,8 +82,8 @@ K3bAudioRippingDialog::K3bAudioRippingDialog(const K3bDevice::Toc& toc, K3bDevice::Device* device, const K3bCddbResultEntry& entry, const TQValueList<int>& tracks, - TQWidget *tqparent, const char *name ) - : K3bInteractionDialog( tqparent, name, + TQWidget *parent, const char *name ) + : K3bInteractionDialog( parent, name, TQString(), TQString(), START_BUTTON|CANCEL_BUTTON, diff --git a/src/rip/k3baudiorippingdialog.h b/src/rip/k3baudiorippingdialog.h index 2a0304b..e397b87 100644 --- a/src/rip/k3baudiorippingdialog.h +++ b/src/rip/k3baudiorippingdialog.h @@ -51,7 +51,7 @@ class K3bAudioRippingDialog : public K3bInteractionDialog K3bDevice::Device*, const K3bCddbResultEntry&, const TQValueList<int>&, - TQWidget *tqparent = 0, const char *name = 0 ); + TQWidget *parent = 0, const char *name = 0 ); ~K3bAudioRippingDialog(); void setStaticDir( const TQString& path ); diff --git a/src/rip/k3bcddbpatternwidget.cpp b/src/rip/k3bcddbpatternwidget.cpp index ba5427a..79e1375 100644 --- a/src/rip/k3bcddbpatternwidget.cpp +++ b/src/rip/k3bcddbpatternwidget.cpp @@ -29,8 +29,8 @@ #include <tqlayout.h> -K3bCddbPatternWidget::K3bCddbPatternWidget( TQWidget* tqparent, const char* name ) - : base_K3bCddbPatternWidget( tqparent, name ) +K3bCddbPatternWidget::K3bCddbPatternWidget( TQWidget* parent, const char* name ) + : base_K3bCddbPatternWidget( parent, name ) { // fix the tqlayout ((TQGridLayout*)tqlayout())->setRowStretch( 4, 1 ); diff --git a/src/rip/k3bcddbpatternwidget.h b/src/rip/k3bcddbpatternwidget.h index ef15ae7..f4dee19 100644 --- a/src/rip/k3bcddbpatternwidget.h +++ b/src/rip/k3bcddbpatternwidget.h @@ -28,7 +28,7 @@ class K3bCddbPatternWidget : public base_K3bCddbPatternWidget TQ_OBJECT public: - K3bCddbPatternWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bCddbPatternWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bCddbPatternWidget(); TQString filenamePattern() const; diff --git a/src/rip/k3bvideocdinfo.cpp b/src/rip/k3bvideocdinfo.cpp index c4da751..89cdc37 100644 --- a/src/rip/k3bvideocdinfo.cpp +++ b/src/rip/k3bvideocdinfo.cpp @@ -31,8 +31,8 @@ #include <k3bexternalbinmanager.h> -K3bVideoCdInfo::K3bVideoCdInfo( TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ) +K3bVideoCdInfo::K3bVideoCdInfo( TQObject* parent, const char* name ) + : TQObject( parent, name ) { m_process = 0L; m_isXml = false; diff --git a/src/rip/k3bvideocdinfo.h b/src/rip/k3bvideocdinfo.h index c5acebe..2a90a22 100644 --- a/src/rip/k3bvideocdinfo.h +++ b/src/rip/k3bvideocdinfo.h @@ -74,7 +74,7 @@ class K3bVideoCdInfo : public TQObject TQ_OBJECT public: - K3bVideoCdInfo( TQObject* tqparent = 0, const char* name = 0 ); + K3bVideoCdInfo( TQObject* parent = 0, const char* name = 0 ); ~K3bVideoCdInfo(); /** diff --git a/src/rip/k3bvideocdrip.cpp b/src/rip/k3bvideocdrip.cpp index 04cf41b..1248138 100644 --- a/src/rip/k3bvideocdrip.cpp +++ b/src/rip/k3bvideocdrip.cpp @@ -36,8 +36,8 @@ #include <k3bglobals.h> #include <k3bprocess.h> -K3bVideoCdRip::K3bVideoCdRip( K3bJobHandler* hdl, K3bVideoCdRippingOptions* options, TQObject* tqparent, const char* name ) - : K3bJob( hdl, tqparent, name ), +K3bVideoCdRip::K3bVideoCdRip( K3bJobHandler* hdl, K3bVideoCdRippingOptions* options, TQObject* parent, const char* name ) + : K3bJob( hdl, parent, name ), m_ripsourceType( 0 ), m_subPosition ( 0 ), m_videooptions( options ), diff --git a/src/rip/k3bvideocdrip.h b/src/rip/k3bvideocdrip.h index a47f1d0..ed23019 100644 --- a/src/rip/k3bvideocdrip.h +++ b/src/rip/k3bvideocdrip.h @@ -30,7 +30,7 @@ class K3bVideoCdRip : public K3bJob TQ_OBJECT public: - K3bVideoCdRip( K3bJobHandler*, K3bVideoCdRippingOptions* options, TQObject* tqparent = 0, const char* name = 0 ); + K3bVideoCdRip( K3bJobHandler*, K3bVideoCdRippingOptions* options, TQObject* parent = 0, const char* name = 0 ); ~K3bVideoCdRip(); enum { CDROM, BIN_IMAGE, NRG_IMAGE }; diff --git a/src/rip/k3bvideocdrippingdialog.cpp b/src/rip/k3bvideocdrippingdialog.cpp index c8dbe6f..9283f00 100644 --- a/src/rip/k3bvideocdrippingdialog.cpp +++ b/src/rip/k3bvideocdrippingdialog.cpp @@ -45,8 +45,8 @@ #include <k3bglobals.h> #include <k3bstdguiitems.h> -K3bVideoCdRippingDialog::K3bVideoCdRippingDialog( K3bVideoCdRippingOptions* options, TQWidget* tqparent, const char* name ) - : K3bInteractionDialog( tqparent, name, +K3bVideoCdRippingDialog::K3bVideoCdRippingDialog( K3bVideoCdRippingOptions* options, TQWidget* parent, const char* name ) + : K3bInteractionDialog( parent, name, i18n( "Video CD Ripping" ), TQString(), START_BUTTON|CANCEL_BUTTON, diff --git a/src/rip/k3bvideocdrippingdialog.h b/src/rip/k3bvideocdrippingdialog.h index 6b7e565..2301515 100644 --- a/src/rip/k3bvideocdrippingdialog.h +++ b/src/rip/k3bvideocdrippingdialog.h @@ -38,7 +38,7 @@ class K3bVideoCdRippingDialog : public K3bInteractionDialog TQ_OBJECT public: - K3bVideoCdRippingDialog( K3bVideoCdRippingOptions* options, TQWidget* tqparent = 0, const char* name = 0 ); + K3bVideoCdRippingDialog( K3bVideoCdRippingOptions* options, TQWidget* parent = 0, const char* name = 0 ); ~K3bVideoCdRippingDialog(); private: diff --git a/src/rip/k3bvideocdview.cpp b/src/rip/k3bvideocdview.cpp index c8fe675..7fbe3b2 100644 --- a/src/rip/k3bvideocdview.cpp +++ b/src/rip/k3bvideocdview.cpp @@ -49,24 +49,24 @@ class K3bVideoCdView::VideoTrackViewItem : public TQListViewItem { public: - VideoTrackViewItem( TQListViewItem* tqparent, TQListViewItem* after ) - : TQListViewItem( tqparent, after ) + VideoTrackViewItem( TQListViewItem* parent, TQListViewItem* after ) + : TQListViewItem( parent, after ) { setSelectable( false ); } - VideoTrackViewItem( TQListView* tqparent, TQListViewItem* after ) - : TQListViewItem( tqparent, after ) + VideoTrackViewItem( TQListView* parent, TQListViewItem* after ) + : TQListViewItem( parent, after ) { setSelectable( false ); } - VideoTrackViewItem( TQListViewItem* tqparent, + VideoTrackViewItem( TQListViewItem* parent, const TQString& name, const TQString& id, int _trackNumber, const K3b::Msf& length ) - : TQListViewItem( tqparent ) + : TQListViewItem( parent ) { setText( 0, TQString( "%1. %2" ).tqarg( _trackNumber ).tqarg( id ) ); setText( 1, name ); @@ -92,9 +92,9 @@ class K3bVideoCdView::VideoTrackViewItem : public TQListViewItem class K3bVideoCdView::VideoTrackViewCheckItem : public TQCheckListItem { public: - VideoTrackViewCheckItem( TQListViewItem* tqparent, + VideoTrackViewCheckItem( TQListViewItem* parent, const TQString& desc ) - : TQCheckListItem( tqparent, + : TQCheckListItem( parent, TQString(), TQCheckListItem::CheckBox ) { @@ -103,9 +103,9 @@ class K3bVideoCdView::VideoTrackViewCheckItem : public TQCheckListItem setOn( true ); } - VideoTrackViewCheckItem( TQListView* tqparent, + VideoTrackViewCheckItem( TQListView* parent, const TQString& desc ) - : TQCheckListItem( tqparent, + : TQCheckListItem( parent, TQString(), TQCheckListItem::CheckBox ) { @@ -114,9 +114,9 @@ class K3bVideoCdView::VideoTrackViewCheckItem : public TQCheckListItem setOn( true ); } - VideoTrackViewCheckItem( VideoTrackViewCheckItem* tqparent, + VideoTrackViewCheckItem( VideoTrackViewCheckItem* parent, const TQString& desc ) - : TQCheckListItem( tqparent, + : TQCheckListItem( parent, TQString(), TQCheckListItem::CheckBox ) { @@ -136,12 +136,12 @@ class K3bVideoCdView::VideoTrackViewCheckItem : public TQCheckListItem }; -K3bVideoCdView::K3bVideoCdView( TQWidget* tqparent, const char *name ) +K3bVideoCdView::K3bVideoCdView( TQWidget* parent, const char *name ) : K3bMediaContentsView( true, K3bMedium::CONTENT_VIDEO_CD, K3bDevice::MEDIA_CD_ALL, K3bDevice::STATE_INCOMPLETE|K3bDevice::STATE_COMPLETE, - tqparent, name ) + parent, name ) { TQGridLayout * mainGrid = new TQGridLayout( mainWidget() ); diff --git a/src/rip/k3bvideocdview.h b/src/rip/k3bvideocdview.h index da7756c..f5a52ea 100644 --- a/src/rip/k3bvideocdview.h +++ b/src/rip/k3bvideocdview.h @@ -49,7 +49,7 @@ class K3bVideoCdView : public K3bMediaContentsView TQ_OBJECT public: - K3bVideoCdView( TQWidget* tqparent = 0, const char * name = 0 ); + K3bVideoCdView( TQWidget* parent = 0, const char * name = 0 ); ~K3bVideoCdView(); KActionCollection* actionCollection() const diff --git a/src/rip/videodvd/k3bvideodvdrippingdialog.cpp b/src/rip/videodvd/k3bvideodvdrippingdialog.cpp index 072052f..bcdb0f6 100644 --- a/src/rip/videodvd/k3bvideodvdrippingdialog.cpp +++ b/src/rip/videodvd/k3bvideodvdrippingdialog.cpp @@ -117,9 +117,9 @@ class K3bVideoDVDRippingDialog::AudioStreamViewItem : public TQCheckListItem { public: AudioStreamViewItem( K3bVideoDVDRippingDialog* dlg, - TQCheckListItem* tqparent, TQListViewItem* after, const TQString& text, + TQCheckListItem* parent, TQListViewItem* after, const TQString& text, int audioStream ) - : TQCheckListItem( tqparent, after, text, RadioButton ), + : TQCheckListItem( parent, after, text, RadioButton ), m_audioStream( audioStream ), m_dlg( dlg ) { } @@ -127,7 +127,7 @@ public: private: void stateChange( bool ) { if( state() == On ) { - m_dlg->m_titleRipInfos[static_cast<TQCheckListItem*>(tqparent())].audioStream = m_audioStream; + m_dlg->m_titleRipInfos[static_cast<TQCheckListItem*>(parent())].audioStream = m_audioStream; m_dlg->slotUpdateFilenames(); } } @@ -146,8 +146,8 @@ public: K3bVideoDVDRippingDialog::K3bVideoDVDRippingDialog( const K3bVideoDVD::VideoDVD& dvd, const TQValueList<int>& titles, - TQWidget* tqparent, const char* name ) - : K3bInteractionDialog( tqparent, name, + TQWidget* parent, const char* name ) + : K3bInteractionDialog( parent, name, i18n("Video DVD Ripping"), TQString(), START_BUTTON|CANCEL_BUTTON, diff --git a/src/rip/videodvd/k3bvideodvdrippingdialog.h b/src/rip/videodvd/k3bvideodvdrippingdialog.h index bd8b7a0..f439ef4 100644 --- a/src/rip/videodvd/k3bvideodvdrippingdialog.h +++ b/src/rip/videodvd/k3bvideodvdrippingdialog.h @@ -35,7 +35,7 @@ class K3bVideoDVDRippingDialog : public K3bInteractionDialog public: K3bVideoDVDRippingDialog( const K3bVideoDVD::VideoDVD& dvd, const TQValueList<int>& titles, - TQWidget *tqparent = 0, const char *name = 0 ); + TQWidget *parent = 0, const char *name = 0 ); ~K3bVideoDVDRippingDialog(); void setBaseDir( const TQString& path ); diff --git a/src/rip/videodvd/k3bvideodvdrippingjob.cpp b/src/rip/videodvd/k3bvideodvdrippingjob.cpp index 1cc9e9e..bc08f3e 100644 --- a/src/rip/videodvd/k3bvideodvdrippingjob.cpp +++ b/src/rip/videodvd/k3bvideodvdrippingjob.cpp @@ -82,8 +82,8 @@ public: -K3bVideoDVDRippingJob::K3bVideoDVDRippingJob( K3bJobHandler* hdl, TQObject* tqparent ) - : K3bJob( hdl, tqparent ) +K3bVideoDVDRippingJob::K3bVideoDVDRippingJob( K3bJobHandler* hdl, TQObject* parent ) + : K3bJob( hdl, parent ) { d = new Private(); diff --git a/src/rip/videodvd/k3bvideodvdrippingjob.h b/src/rip/videodvd/k3bvideodvdrippingjob.h index 93ec1b0..a4a6b81 100644 --- a/src/rip/videodvd/k3bvideodvdrippingjob.h +++ b/src/rip/videodvd/k3bvideodvdrippingjob.h @@ -35,7 +35,7 @@ class K3bVideoDVDRippingJob : public K3bJob TQ_OBJECT public: - K3bVideoDVDRippingJob( K3bJobHandler* hdl, TQObject* tqparent ); + K3bVideoDVDRippingJob( K3bJobHandler* hdl, TQObject* parent ); ~K3bVideoDVDRippingJob(); class TitleRipInfo { diff --git a/src/rip/videodvd/k3bvideodvdrippingpreview.cpp b/src/rip/videodvd/k3bvideodvdrippingpreview.cpp index a08ba51..577b674 100644 --- a/src/rip/videodvd/k3bvideodvdrippingpreview.cpp +++ b/src/rip/videodvd/k3bvideodvdrippingpreview.cpp @@ -27,8 +27,8 @@ -K3bVideoDVDRippingPreview::K3bVideoDVDRippingPreview( TQObject* tqparent ) - : TQObject( tqparent ), +K3bVideoDVDRippingPreview::K3bVideoDVDRippingPreview( TQObject* parent ) + : TQObject( parent ), m_tempDir( 0 ), m_process( 0 ) { diff --git a/src/rip/videodvd/k3bvideodvdrippingpreview.h b/src/rip/videodvd/k3bvideodvdrippingpreview.h index ab7b994..5b9803b 100644 --- a/src/rip/videodvd/k3bvideodvdrippingpreview.h +++ b/src/rip/videodvd/k3bvideodvdrippingpreview.h @@ -31,7 +31,7 @@ class K3bVideoDVDRippingPreview : public TQObject TQ_OBJECT public: - K3bVideoDVDRippingPreview( TQObject* tqparent = 0 ); + K3bVideoDVDRippingPreview( TQObject* parent = 0 ); ~K3bVideoDVDRippingPreview(); const TQImage& preview() const { return m_preview; } diff --git a/src/rip/videodvd/k3bvideodvdrippingtitlelistview.cpp b/src/rip/videodvd/k3bvideodvdrippingtitlelistview.cpp index 10b5831..5811750 100644 --- a/src/rip/videodvd/k3bvideodvdrippingtitlelistview.cpp +++ b/src/rip/videodvd/k3bvideodvdrippingtitlelistview.cpp @@ -90,8 +90,8 @@ static TQString subpictureStreamString( const K3bVideoDVD::Title& title, unsigne class K3bVideoDVDRippingTitleListView::TitleViewItem : public K3bCheckListViewItem { public: - TitleViewItem( K3bVideoDVDRippingTitleListView* tqparent, TQListViewItem* after, const K3bVideoDVD::Title& title ) - : K3bCheckListViewItem( tqparent, after ), + TitleViewItem( K3bVideoDVDRippingTitleListView* parent, TQListViewItem* after, const K3bVideoDVD::Title& title ) + : K3bCheckListViewItem( parent, after ), m_title( title ) { setMarginVertical( 4 ); @@ -330,8 +330,8 @@ private: -K3bVideoDVDRippingTitleListView::K3bVideoDVDRippingTitleListView( TQWidget* tqparent ) - : K3bListView( tqparent ) +K3bVideoDVDRippingTitleListView::K3bVideoDVDRippingTitleListView( TQWidget* parent ) + : K3bListView( parent ) { setFullWidth(true); setSorting(-1); diff --git a/src/rip/videodvd/k3bvideodvdrippingtitlelistview.h b/src/rip/videodvd/k3bvideodvdrippingtitlelistview.h index 2aa0dbc..3129fb8 100644 --- a/src/rip/videodvd/k3bvideodvdrippingtitlelistview.h +++ b/src/rip/videodvd/k3bvideodvdrippingtitlelistview.h @@ -32,7 +32,7 @@ class K3bVideoDVDRippingTitleListView : public K3bListView TQ_OBJECT public: - K3bVideoDVDRippingTitleListView( TQWidget* tqparent ); + K3bVideoDVDRippingTitleListView( TQWidget* parent ); ~K3bVideoDVDRippingTitleListView(); void setVideoDVD( const K3bVideoDVD::VideoDVD& dvd ); diff --git a/src/rip/videodvd/k3bvideodvdrippingview.cpp b/src/rip/videodvd/k3bvideodvdrippingview.cpp index 4f3113d..101d965 100644 --- a/src/rip/videodvd/k3bvideodvdrippingview.cpp +++ b/src/rip/videodvd/k3bvideodvdrippingview.cpp @@ -37,12 +37,12 @@ #include <kconfig.h> -K3bVideoDVDRippingView::K3bVideoDVDRippingView( TQWidget* tqparent, const char * name ) +K3bVideoDVDRippingView::K3bVideoDVDRippingView( TQWidget* parent, const char * name ) : K3bMediaContentsView( true, K3bMedium::CONTENT_VIDEO_DVD, K3bDevice::MEDIA_DVD_ALL, K3bDevice::STATE_INCOMPLETE|K3bDevice::STATE_COMPLETE, - tqparent, name ) + parent, name ) { TQGridLayout* mainGrid = new TQGridLayout( mainWidget() ); diff --git a/src/rip/videodvd/k3bvideodvdrippingview.h b/src/rip/videodvd/k3bvideodvdrippingview.h index 1bf58f3..6650aa4 100644 --- a/src/rip/videodvd/k3bvideodvdrippingview.h +++ b/src/rip/videodvd/k3bvideodvdrippingview.h @@ -34,7 +34,7 @@ class K3bVideoDVDRippingView : public K3bMediaContentsView TQ_OBJECT public: - K3bVideoDVDRippingView( TQWidget* tqparent = 0, const char * name = 0 ); + K3bVideoDVDRippingView( TQWidget* parent = 0, const char * name = 0 ); ~K3bVideoDVDRippingView(); KActionCollection* actionCollection() const { return m_actionCollection; } diff --git a/src/rip/videodvd/k3bvideodvdrippingwidget.cpp b/src/rip/videodvd/k3bvideodvdrippingwidget.cpp index a9cbb6c..d05f915 100644 --- a/src/rip/videodvd/k3bvideodvdrippingwidget.cpp +++ b/src/rip/videodvd/k3bvideodvdrippingwidget.cpp @@ -72,8 +72,8 @@ static const char* s_pictureSizeNames[] = { }; -K3bVideoDVDRippingWidget::K3bVideoDVDRippingWidget( TQWidget* tqparent ) - : base_K3bVideoDVDRippingWidget( tqparent ) +K3bVideoDVDRippingWidget::K3bVideoDVDRippingWidget( TQWidget* parent ) + : base_K3bVideoDVDRippingWidget( parent ) { m_editBaseDir->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly ); diff --git a/src/rip/videodvd/k3bvideodvdrippingwidget.h b/src/rip/videodvd/k3bvideodvdrippingwidget.h index 5335b7c..c8c2fd9 100644 --- a/src/rip/videodvd/k3bvideodvdrippingwidget.h +++ b/src/rip/videodvd/k3bvideodvdrippingwidget.h @@ -33,7 +33,7 @@ class K3bVideoDVDRippingWidget : public base_K3bVideoDVDRippingWidget TQ_OBJECT public: - K3bVideoDVDRippingWidget( TQWidget* tqparent ); + K3bVideoDVDRippingWidget( TQWidget* parent ); ~K3bVideoDVDRippingWidget(); K3bVideoDVDTitleTranscodingJob::VideoCodec selectedVideoCodec() const; |