diff options
Diffstat (limited to 'libk3b/tools')
54 files changed, 269 insertions, 269 deletions
diff --git a/libk3b/tools/k3bbusywidget.cpp b/libk3b/tools/k3bbusywidget.cpp index 2f53629..a5f81e3 100644 --- a/libk3b/tools/k3bbusywidget.cpp +++ b/libk3b/tools/k3bbusywidget.cpp @@ -21,8 +21,8 @@ #include <kglobalsettings.h> -K3bBusyWidget::K3bBusyWidget( TQWidget* tqparent, const char* name ) - : TQFrame( tqparent, name ) +K3bBusyWidget::K3bBusyWidget( TQWidget* parent, const char* name ) + : TQFrame( parent, name ) { m_busyTimer = new TQTimer( this ); m_iBusyPosition = 0; diff --git a/libk3b/tools/k3bbusywidget.h b/libk3b/tools/k3bbusywidget.h index bc83c5e..7eb927e 100644 --- a/libk3b/tools/k3bbusywidget.h +++ b/libk3b/tools/k3bbusywidget.h @@ -30,7 +30,7 @@ class LIBK3B_EXPORT K3bBusyWidget : public TQFrame TQ_OBJECT public: - K3bBusyWidget( TQWidget* tqparent = 0, const char* name = 0 ); + K3bBusyWidget( TQWidget* parent = 0, const char* name = 0 ); ~K3bBusyWidget(); void showBusy( bool b ); diff --git a/libk3b/tools/k3bcdtextvalidator.cpp b/libk3b/tools/k3bcdtextvalidator.cpp index 19e20d7..abd2fc5 100644 --- a/libk3b/tools/k3bcdtextvalidator.cpp +++ b/libk3b/tools/k3bcdtextvalidator.cpp @@ -16,8 +16,8 @@ #include "k3bcdtextvalidator.h" -K3bCdTextValidator::K3bCdTextValidator(TQObject *tqparent, const char *name) - : K3bLatin1Validator(tqparent, name) +K3bCdTextValidator::K3bCdTextValidator(TQObject *parent, const char *name) + : K3bLatin1Validator(parent, name) { } diff --git a/libk3b/tools/k3bcdtextvalidator.h b/libk3b/tools/k3bcdtextvalidator.h index e2d3983..896e712 100644 --- a/libk3b/tools/k3bcdtextvalidator.h +++ b/libk3b/tools/k3bcdtextvalidator.h @@ -24,7 +24,7 @@ class LIBK3B_EXPORT K3bCdTextValidator : public K3bLatin1Validator { public: - K3bCdTextValidator(TQObject *tqparent = 0, const char *name = 0); + K3bCdTextValidator(TQObject *parent = 0, const char *name = 0); ~K3bCdTextValidator(); State validate( TQString& input, int& pos ) const; diff --git a/libk3b/tools/k3bcutcombobox.cpp b/libk3b/tools/k3bcutcombobox.cpp index c4b1d20..3536c24 100644 --- a/libk3b/tools/k3bcutcombobox.cpp +++ b/libk3b/tools/k3bcutcombobox.cpp @@ -41,16 +41,16 @@ public: }; -K3bCutComboBox::K3bCutComboBox( TQWidget* tqparent, const char* name ) - : KComboBox( tqparent, name ) +K3bCutComboBox::K3bCutComboBox( TQWidget* parent, const char* name ) + : KComboBox( parent, name ) { d = new Private(); // tqsetSizePolicy( TQSizePolicy::Maximum, sizePolicy().horData(), sizePolicy().hasHeightForWidth() ); } -K3bCutComboBox::K3bCutComboBox( int method, TQWidget* tqparent, const char* name ) - : KComboBox( tqparent, name ) +K3bCutComboBox::K3bCutComboBox( int method, TQWidget* parent, const char* name ) + : KComboBox( parent, name ) { d = new Private(); d->method = method; diff --git a/libk3b/tools/k3bcutcombobox.h b/libk3b/tools/k3bcutcombobox.h index 19e4ef7..7bc8f70 100644 --- a/libk3b/tools/k3bcutcombobox.h +++ b/libk3b/tools/k3bcutcombobox.h @@ -38,8 +38,8 @@ class LIBK3B_EXPORT K3bCutComboBox : public KComboBox TQ_OBJECT public: - K3bCutComboBox( TQWidget* tqparent = 0, const char* name = 0 ); - K3bCutComboBox( int method, TQWidget* tqparent = 0, const char* name = 0 ); + K3bCutComboBox( TQWidget* parent = 0, const char* name = 0 ); + K3bCutComboBox( int method, TQWidget* parent = 0, const char* name = 0 ); virtual ~K3bCutComboBox(); enum Method { diff --git a/libk3b/tools/k3bdevicecombobox.cpp b/libk3b/tools/k3bdevicecombobox.cpp index 4993e11..8d2870c 100644 --- a/libk3b/tools/k3bdevicecombobox.cpp +++ b/libk3b/tools/k3bdevicecombobox.cpp @@ -32,8 +32,8 @@ public: }; -K3bDeviceComboBox::K3bDeviceComboBox( TQWidget* tqparent, const char* name ) - : KComboBox( tqparent, name ) +K3bDeviceComboBox::K3bDeviceComboBox( TQWidget* parent, const char* name ) + : KComboBox( parent, name ) { d = new Private(); connect( this, TQT_SIGNAL(activated(int)), diff --git a/libk3b/tools/k3bdevicecombobox.h b/libk3b/tools/k3bdevicecombobox.h index 51b93ce..d427179 100644 --- a/libk3b/tools/k3bdevicecombobox.h +++ b/libk3b/tools/k3bdevicecombobox.h @@ -37,7 +37,7 @@ class LIBK3B_EXPORT K3bDeviceComboBox : public KComboBox TQ_OBJECT public: - K3bDeviceComboBox( TQWidget* tqparent = 0, const char* name = 0 ); + K3bDeviceComboBox( TQWidget* parent = 0, const char* name = 0 ); ~K3bDeviceComboBox(); K3bDevice::Device* selectedDevice() const; diff --git a/libk3b/tools/k3bdevicehandler.cpp b/libk3b/tools/k3bdevicehandler.cpp index 92fd2ff..daabe01 100644 --- a/libk3b/tools/k3bdevicehandler.cpp +++ b/libk3b/tools/k3bdevicehandler.cpp @@ -139,8 +139,8 @@ private: }; -K3bDevice::DeviceHandler::DeviceHandler( Device* dev, TQObject* tqparent, const char* name ) - : K3bThreadJob( 0, tqparent, name ), +K3bDevice::DeviceHandler::DeviceHandler( Device* dev, TQObject* parent, const char* name ) + : K3bThreadJob( 0, parent, name ), m_selfDelete(false) { m_thread = new DeviceHandlerThread(); @@ -149,8 +149,8 @@ K3bDevice::DeviceHandler::DeviceHandler( Device* dev, TQObject* tqparent, const } -K3bDevice::DeviceHandler::DeviceHandler( TQObject* tqparent, const char* name ) - : K3bThreadJob( 0, tqparent, name ), +K3bDevice::DeviceHandler::DeviceHandler( TQObject* parent, const char* name ) + : K3bThreadJob( 0, parent, name ), m_selfDelete(false) { m_thread = new DeviceHandlerThread(); diff --git a/libk3b/tools/k3bdevicehandler.h b/libk3b/tools/k3bdevicehandler.h index da26629..bd27294 100644 --- a/libk3b/tools/k3bdevicehandler.h +++ b/libk3b/tools/k3bdevicehandler.h @@ -50,8 +50,8 @@ namespace K3bDevice TQ_OBJECT public: - DeviceHandler( Device*, TQObject* tqparent = 0, const char* name = 0 ); - DeviceHandler( TQObject* tqparent = 0, const char* name = 0 ); + DeviceHandler( Device*, TQObject* parent = 0, const char* name = 0 ); + DeviceHandler( TQObject* parent = 0, const char* name = 0 ); /** * This constructor is used by the global "quick" methods and should not be used diff --git a/libk3b/tools/k3bdeviceselectiondialog.cpp b/libk3b/tools/k3bdeviceselectiondialog.cpp index c4e03ee..0c6c3f4 100644 --- a/libk3b/tools/k3bdeviceselectiondialog.cpp +++ b/libk3b/tools/k3bdeviceselectiondialog.cpp @@ -37,7 +37,7 @@ public: }; -K3bDeviceSelectionDialog::K3bDeviceSelectionDialog( TQWidget* tqparent, +K3bDeviceSelectionDialog::K3bDeviceSelectionDialog( TQWidget* parent, const char* name, const TQString& text, bool modal ) @@ -45,7 +45,7 @@ K3bDeviceSelectionDialog::K3bDeviceSelectionDialog( TQWidget* tqparent, i18n("Device Selection"), Ok|Cancel, Ok, - tqparent, + parent, name, modal ) { @@ -94,7 +94,7 @@ void K3bDeviceSelectionDialog::setSelectedDevice( K3bDevice::Device* dev ) } -K3bDevice::Device* K3bDeviceSelectionDialog::selectDevice( TQWidget* tqparent, +K3bDevice::Device* K3bDeviceSelectionDialog::selectDevice( TQWidget* parent, const TQPtrList<K3bDevice::Device>& devices, const TQString& text ) { @@ -103,7 +103,7 @@ K3bDevice::Device* K3bDeviceSelectionDialog::selectDevice( TQWidget* tqparent, if( devices.count() == 1 ) return devices.getFirst(); - K3bDeviceSelectionDialog dlg( tqparent, 0, text ); + K3bDeviceSelectionDialog dlg( parent, 0, text ); dlg.addDevices( devices ); if( dlg.exec() == Accepted ) @@ -112,18 +112,18 @@ K3bDevice::Device* K3bDeviceSelectionDialog::selectDevice( TQWidget* tqparent, return 0; } -K3bDevice::Device* K3bDeviceSelectionDialog::selectDevice( TQWidget* tqparent, +K3bDevice::Device* K3bDeviceSelectionDialog::selectDevice( TQWidget* parent, const TQString& text ) { - return selectDevice( tqparent, k3bcore->deviceManager()->allDevices(), text ); + return selectDevice( parent, k3bcore->deviceManager()->allDevices(), text ); } -K3bDevice::Device* K3bDeviceSelectionDialog::selectWriter( TQWidget* tqparent, const TQString& text ) +K3bDevice::Device* K3bDeviceSelectionDialog::selectWriter( TQWidget* parent, const TQString& text ) { - return selectDevice( tqparent, k3bcore->deviceManager()->burningDevices(), text ); + return selectDevice( parent, k3bcore->deviceManager()->burningDevices(), text ); } diff --git a/libk3b/tools/k3bdeviceselectiondialog.h b/libk3b/tools/k3bdeviceselectiondialog.h index 5295408..c4a4fdc 100644 --- a/libk3b/tools/k3bdeviceselectiondialog.h +++ b/libk3b/tools/k3bdeviceselectiondialog.h @@ -34,7 +34,7 @@ class LIBK3B_EXPORT K3bDeviceSelectionDialog : public KDialogBase TQ_OBJECT public: - K3bDeviceSelectionDialog( TQWidget* tqparent = 0, + K3bDeviceSelectionDialog( TQWidget* parent = 0, const char* name = 0, const TQString& text = TQString(), bool modal = false ); @@ -47,11 +47,11 @@ class LIBK3B_EXPORT K3bDeviceSelectionDialog : public KDialogBase K3bDevice::Device* selectedDevice() const; - static K3bDevice::Device* selectWriter( TQWidget* tqparent, + static K3bDevice::Device* selectWriter( TQWidget* parent, const TQString& text = TQString() ); - static K3bDevice::Device* selectDevice( TQWidget* tqparent, + static K3bDevice::Device* selectDevice( TQWidget* parent, const TQString& text = TQString() ); - static K3bDevice::Device* selectDevice( TQWidget* tqparent, + static K3bDevice::Device* selectDevice( TQWidget* parent, const TQPtrList<K3bDevice::Device>& devices, const TQString& text = TQString() ); diff --git a/libk3b/tools/k3bdirsizejob.cpp b/libk3b/tools/k3bdirsizejob.cpp index 51b28e8..cddf0e7 100644 --- a/libk3b/tools/k3bdirsizejob.cpp +++ b/libk3b/tools/k3bdirsizejob.cpp @@ -131,8 +131,8 @@ private: }; -K3bDirSizeJob::K3bDirSizeJob( TQObject* tqparent ) - : K3bThreadJob( new K3bSimpleJobHandler(), tqparent ) +K3bDirSizeJob::K3bDirSizeJob( TQObject* parent ) + : K3bThreadJob( new K3bSimpleJobHandler(), parent ) { d = new WorkThread; setThread( d ); diff --git a/libk3b/tools/k3bdirsizejob.h b/libk3b/tools/k3bdirsizejob.h index 82c54d5..4b8ca7e 100644 --- a/libk3b/tools/k3bdirsizejob.h +++ b/libk3b/tools/k3bdirsizejob.h @@ -34,7 +34,7 @@ class LIBK3B_EXPORT K3bDirSizeJob : public K3bThreadJob TQ_OBJECT public: - K3bDirSizeJob( TQObject* tqparent = 0 ); + K3bDirSizeJob( TQObject* parent = 0 ); ~K3bDirSizeJob(); KIO::filesize_t totalSize() const; diff --git a/libk3b/tools/k3bintmapcombobox.cpp b/libk3b/tools/k3bintmapcombobox.cpp index c3db356..3dd9731 100644 --- a/libk3b/tools/k3bintmapcombobox.cpp +++ b/libk3b/tools/k3bintmapcombobox.cpp @@ -31,8 +31,8 @@ public: }; -K3bIntMapComboBox::K3bIntMapComboBox( TQWidget* tqparent, const char* name ) - : KComboBox( tqparent, name ) +K3bIntMapComboBox::K3bIntMapComboBox( TQWidget* parent, const char* name ) + : KComboBox( parent, name ) { d = new Private; connect( this, TQT_SIGNAL(highlighted(int)), diff --git a/libk3b/tools/k3bintmapcombobox.h b/libk3b/tools/k3bintmapcombobox.h index 622c202..f1da427 100644 --- a/libk3b/tools/k3bintmapcombobox.h +++ b/libk3b/tools/k3bintmapcombobox.h @@ -33,7 +33,7 @@ class LIBK3B_EXPORT K3bIntMapComboBox : public KComboBox TQ_OBJECT public: - K3bIntMapComboBox( TQWidget* tqparent = 0, const char* name = 0 ); + K3bIntMapComboBox( TQWidget* parent = 0, const char* name = 0 ); ~K3bIntMapComboBox(); int selectedValue() const; diff --git a/libk3b/tools/k3bintvalidator.cpp b/libk3b/tools/k3bintvalidator.cpp index ed38088..725de5a 100644 --- a/libk3b/tools/k3bintvalidator.cpp +++ b/libk3b/tools/k3bintvalidator.cpp @@ -24,15 +24,15 @@ #include <kdebug.h> -K3bIntValidator::K3bIntValidator ( TQWidget * tqparent, const char * name ) - : TQValidator(TQT_TQOBJECT(tqparent), name) +K3bIntValidator::K3bIntValidator ( TQWidget * parent, const char * name ) + : TQValidator(TQT_TQOBJECT(parent), name) { m_min = m_max = 0; } -K3bIntValidator::K3bIntValidator ( int bottom, int top, TQWidget * tqparent, const char * name ) - : TQValidator(TQT_TQOBJECT(tqparent), name) +K3bIntValidator::K3bIntValidator ( int bottom, int top, TQWidget * parent, const char * name ) + : TQValidator(TQT_TQOBJECT(parent), name) { m_min = bottom; m_max = top; diff --git a/libk3b/tools/k3bintvalidator.h b/libk3b/tools/k3bintvalidator.h index 0945f89..ecb1a9e 100644 --- a/libk3b/tools/k3bintvalidator.h +++ b/libk3b/tools/k3bintvalidator.h @@ -34,12 +34,12 @@ class LIBK3B_EXPORT K3bIntValidator : public TQValidator /** * Constuctor. Also sets the base value. */ - K3bIntValidator ( TQWidget * tqparent, const char * name = 0 ); + K3bIntValidator ( TQWidget * parent, const char * name = 0 ); /** * Constructor. Also sets the minimum, maximum, and numeric base values. */ - K3bIntValidator ( int bottom, int top, TQWidget * tqparent, const char * name = 0 ); + K3bIntValidator ( int bottom, int top, TQWidget * parent, const char * name = 0 ); /** * Destructs the validator. diff --git a/libk3b/tools/k3blistview.cpp b/libk3b/tools/k3blistview.cpp index 4af4480..fb3be4b 100644 --- a/libk3b/tools/k3blistview.cpp +++ b/libk3b/tools/k3blistview.cpp @@ -97,70 +97,70 @@ public: -K3bListViewItem::K3bListViewItem(TQListView *tqparent) - : KListViewItem( tqparent ) +K3bListViewItem::K3bListViewItem(TQListView *parent) + : KListViewItem( parent ) { init(); } -K3bListViewItem::K3bListViewItem(TQListViewItem *tqparent) - : KListViewItem( tqparent ) +K3bListViewItem::K3bListViewItem(TQListViewItem *parent) + : KListViewItem( parent ) { init(); } -K3bListViewItem::K3bListViewItem(TQListView *tqparent, TQListViewItem *after) - : KListViewItem( tqparent, after ) +K3bListViewItem::K3bListViewItem(TQListView *parent, TQListViewItem *after) + : KListViewItem( parent, after ) { init(); } -K3bListViewItem::K3bListViewItem(TQListViewItem *tqparent, TQListViewItem *after) - : KListViewItem( tqparent, after ) +K3bListViewItem::K3bListViewItem(TQListViewItem *parent, TQListViewItem *after) + : KListViewItem( parent, after ) { init(); } -K3bListViewItem::K3bListViewItem(TQListView *tqparent, +K3bListViewItem::K3bListViewItem(TQListView *parent, const TQString& s1, const TQString& s2, const TQString& s3, const TQString& s4, const TQString& s5, const TQString& s6, const TQString& s7, const TQString& s8) - : KListViewItem( tqparent, s1, s2, s3, s4, s5, s6, s7, s8 ) + : KListViewItem( parent, s1, s2, s3, s4, s5, s6, s7, s8 ) { init(); } -K3bListViewItem::K3bListViewItem(TQListViewItem *tqparent, +K3bListViewItem::K3bListViewItem(TQListViewItem *parent, const TQString& s1, const TQString& s2, const TQString& s3, const TQString& s4, const TQString& s5, const TQString& s6, const TQString& s7, const TQString& s8) - : KListViewItem( tqparent, s1, s2, s3, s4, s5, s6, s7, s8 ) + : KListViewItem( parent, s1, s2, s3, s4, s5, s6, s7, s8 ) { init(); } -K3bListViewItem::K3bListViewItem(TQListView *tqparent, TQListViewItem *after, +K3bListViewItem::K3bListViewItem(TQListView *parent, TQListViewItem *after, const TQString& s1, const TQString& s2, const TQString& s3, const TQString& s4, const TQString& s5, const TQString& s6, const TQString& s7, const TQString& s8) - : KListViewItem( tqparent, after, s1, s2, s3, s4, s5, s6, s7, s8 ) + : KListViewItem( parent, after, s1, s2, s3, s4, s5, s6, s7, s8 ) { init(); } -K3bListViewItem::K3bListViewItem(TQListViewItem *tqparent, TQListViewItem *after, +K3bListViewItem::K3bListViewItem(TQListViewItem *parent, TQListViewItem *after, const TQString& s1, const TQString& s2, const TQString& s3, const TQString& s4, const TQString& s5, const TQString& s6, const TQString& s7, const TQString& s8) - : KListViewItem( tqparent, after, s1, s2, s3, s4, s5, s6, s7, s8 ) + : KListViewItem( parent, after, s1, s2, s3, s4, s5, s6, s7, s8 ) { init(); } @@ -461,29 +461,29 @@ void K3bListViewItem::paintProgressBar( TQPainter* p, const TQColorGroup& cgh, i -K3bCheckListViewItem::K3bCheckListViewItem(TQListView *tqparent) - : K3bListViewItem( tqparent ), +K3bCheckListViewItem::K3bCheckListViewItem(TQListView *parent) + : K3bListViewItem( parent ), m_checked(false) { } -K3bCheckListViewItem::K3bCheckListViewItem(TQListViewItem *tqparent) - : K3bListViewItem( tqparent ), +K3bCheckListViewItem::K3bCheckListViewItem(TQListViewItem *parent) + : K3bListViewItem( parent ), m_checked(false) { } -K3bCheckListViewItem::K3bCheckListViewItem(TQListView *tqparent, TQListViewItem *after) - : K3bListViewItem( tqparent, after ), +K3bCheckListViewItem::K3bCheckListViewItem(TQListView *parent, TQListViewItem *after) + : K3bListViewItem( parent, after ), m_checked(false) { } -K3bCheckListViewItem::K3bCheckListViewItem(TQListViewItem *tqparent, TQListViewItem *after) - : K3bListViewItem( tqparent, after ), +K3bCheckListViewItem::K3bCheckListViewItem(TQListViewItem *parent, TQListViewItem *after) + : K3bListViewItem( parent, after ), m_checked(false) { } @@ -545,8 +545,8 @@ public: }; -K3bListView::K3bListView( TQWidget* tqparent, const char* name ) - : KListView( tqparent, name ), +K3bListView::K3bListView( TQWidget* parent, const char* name ) + : KListView( parent, name ), m_noItemVMargin( 20 ), m_noItemHMargin( 20 ) { @@ -1210,8 +1210,8 @@ TQListViewItem* K3bListView::parentItem( TQListViewItem* item ) { if( !item ) return 0; - if( item->tqparent() ) - return item->tqparent(); + if( item->parent() ) + return item->parent(); else return K3bListView::parentItem( item->itemAbove() ); } @@ -1221,7 +1221,7 @@ KPixmap K3bListView::createDragPixmap( const TQPtrList<TQListViewItem>& items ) { // // Create drag pixmap. - // If there are too many items fade the pixmap using the tqmask + // If there are too many items fade the pixmap using the mask // always fade invisible items // int width = header()->width(); @@ -1245,7 +1245,7 @@ KPixmap K3bListView::createDragPixmap( const TQPtrList<TQListViewItem>& items ) KPixmap pix; pix.resize( width, height ); pix.fill( TQt::white ); - // TQBitmap tqmask( width, bottom-top ); + // TQBitmap mask( width, bottom-top ); // now paint all the visible items into the pixmap // FIXME: only paint the visible items diff --git a/libk3b/tools/k3blistview.h b/libk3b/tools/k3blistview.h index 03daf00..6512052 100644 --- a/libk3b/tools/k3blistview.h +++ b/libk3b/tools/k3blistview.h @@ -42,30 +42,30 @@ class K3bListView; class LIBK3B_EXPORT K3bListViewItem : public KListViewItem { public: - K3bListViewItem(TQListView *tqparent); - K3bListViewItem(TQListViewItem *tqparent); - K3bListViewItem(TQListView *tqparent, TQListViewItem *after); - K3bListViewItem(TQListViewItem *tqparent, TQListViewItem *after); + K3bListViewItem(TQListView *parent); + K3bListViewItem(TQListViewItem *parent); + K3bListViewItem(TQListView *parent, TQListViewItem *after); + K3bListViewItem(TQListViewItem *parent, TQListViewItem *after); - K3bListViewItem(TQListView *tqparent, + K3bListViewItem(TQListView *parent, const TQString&, const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString()); - K3bListViewItem(TQListViewItem *tqparent, + K3bListViewItem(TQListViewItem *parent, const TQString&, const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString()); - K3bListViewItem(TQListView *tqparent, TQListViewItem *after, + K3bListViewItem(TQListView *parent, TQListViewItem *after, const TQString&, const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString()); - K3bListViewItem(TQListViewItem *tqparent, TQListViewItem *after, + K3bListViewItem(TQListViewItem *parent, TQListViewItem *after, const TQString&, const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), const TQString& = TQString(), @@ -136,10 +136,10 @@ class LIBK3B_EXPORT K3bListViewItem : public KListViewItem class LIBK3B_EXPORT K3bCheckListViewItem : public K3bListViewItem { public: - K3bCheckListViewItem(TQListView *tqparent); - K3bCheckListViewItem(TQListViewItem *tqparent); - K3bCheckListViewItem(TQListView *tqparent, TQListViewItem *after); - K3bCheckListViewItem(TQListViewItem *tqparent, TQListViewItem *after); + K3bCheckListViewItem(TQListView *parent); + K3bCheckListViewItem(TQListViewItem *parent); + K3bCheckListViewItem(TQListView *parent, TQListViewItem *after); + K3bCheckListViewItem(TQListViewItem *parent, TQListViewItem *after); virtual bool isChecked() const; virtual void setChecked( bool checked ); @@ -161,7 +161,7 @@ class LIBK3B_EXPORT K3bListView : public KListView TQ_OBJECT public: - K3bListView (TQWidget *tqparent = 0, const char *name = 0); + K3bListView (TQWidget *parent = 0, const char *name = 0); virtual ~K3bListView(); virtual void setCurrentItem( TQListViewItem* ); diff --git a/libk3b/tools/k3blistviewitemanimator.cpp b/libk3b/tools/k3blistviewitemanimator.cpp index b1bcf71..eef276e 100644 --- a/libk3b/tools/k3blistviewitemanimator.cpp +++ b/libk3b/tools/k3blistviewitemanimator.cpp @@ -22,15 +22,15 @@ #include <kpixmapeffect.h> -K3bListViewItemAnimator::K3bListViewItemAnimator( TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ) +K3bListViewItemAnimator::K3bListViewItemAnimator( TQObject* parent, const char* name ) + : TQObject( parent, name ) { init(); } -K3bListViewItemAnimator::K3bListViewItemAnimator( TQListViewItem* item, int col, TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ) +K3bListViewItemAnimator::K3bListViewItemAnimator( TQListViewItem* item, int col, TQObject* parent, const char* name ) + : TQObject( parent, name ) { init(); setItem( item, col ); diff --git a/libk3b/tools/k3blistviewitemanimator.h b/libk3b/tools/k3blistviewitemanimator.h index 660ee98..c4dfabc 100644 --- a/libk3b/tools/k3blistviewitemanimator.h +++ b/libk3b/tools/k3blistviewitemanimator.h @@ -33,11 +33,11 @@ class LIBK3B_EXPORT K3bListViewItemAnimator : public TQObject TQ_OBJECT public: - K3bListViewItemAnimator( TQObject* tqparent = 0, const char* name = 0 ); + K3bListViewItemAnimator( TQObject* parent = 0, const char* name = 0 ); /** * Will use the items pixmap. */ - K3bListViewItemAnimator( TQListViewItem* item, int col, TQObject* tqparent = 0, const char* name = 0 ); + K3bListViewItemAnimator( TQListViewItem* item, int col, TQObject* parent = 0, const char* name = 0 ); ~K3bListViewItemAnimator(); TQListViewItem* item() const; diff --git a/libk3b/tools/k3bmd5job.cpp b/libk3b/tools/k3bmd5job.cpp index 7c46eea..a04c9a0 100644 --- a/libk3b/tools/k3bmd5job.cpp +++ b/libk3b/tools/k3bmd5job.cpp @@ -68,8 +68,8 @@ public: }; -K3bMd5Job::K3bMd5Job( K3bJobHandler* jh, TQObject* tqparent, const char* name ) - : K3bJob( jh, tqparent, name ) +K3bMd5Job::K3bMd5Job( K3bJobHandler* jh, TQObject* parent, const char* name ) + : K3bJob( jh, parent, name ) { d = new K3bMd5JobPrivate; d->data = new char[K3bMd5JobPrivate::BUFFERSIZE]; diff --git a/libk3b/tools/k3bmd5job.h b/libk3b/tools/k3bmd5job.h index 8c487a2..8292862 100644 --- a/libk3b/tools/k3bmd5job.h +++ b/libk3b/tools/k3bmd5job.h @@ -34,7 +34,7 @@ class LIBK3B_EXPORT K3bMd5Job : public K3bJob TQ_OBJECT public: - K3bMd5Job( K3bJobHandler* jh , TQObject* tqparent = 0, const char* name = 0 ); + K3bMd5Job( K3bJobHandler* jh , TQObject* parent = 0, const char* name = 0 ); ~K3bMd5Job(); TQCString hexDigest(); diff --git a/libk3b/tools/k3bmsfedit.cpp b/libk3b/tools/k3bmsfedit.cpp index 86c018a..2266be8 100644 --- a/libk3b/tools/k3bmsfedit.cpp +++ b/libk3b/tools/k3bmsfedit.cpp @@ -26,15 +26,15 @@ -K3bMsfValidator::K3bMsfValidator( TQObject* tqparent, const char* name ) - : TQRegExpValidator( K3b::Msf::regExp(), tqparent, name ) +K3bMsfValidator::K3bMsfValidator( TQObject* parent, const char* name ) + : TQRegExpValidator( K3b::Msf::regExp(), parent, name ) { } -K3bMsfEdit::K3bMsfEdit( TQWidget* tqparent, const char* name ) - : TQSpinBox( tqparent, name ) +K3bMsfEdit::K3bMsfEdit( TQWidget* parent, const char* name ) + : TQSpinBox( parent, name ) { setValidator( new K3bMsfValidator( TQT_TQOBJECT(this) ) ); setMinValue( 0 ); diff --git a/libk3b/tools/k3bmsfedit.h b/libk3b/tools/k3bmsfedit.h index 984c674..d3e75ec 100644 --- a/libk3b/tools/k3bmsfedit.h +++ b/libk3b/tools/k3bmsfedit.h @@ -28,7 +28,7 @@ class K3bMsfValidator : public TQRegExpValidator { public: - K3bMsfValidator( TQObject* tqparent = 0, const char* name = 0 ); + K3bMsfValidator( TQObject* parent = 0, const char* name = 0 ); }; @@ -38,7 +38,7 @@ class LIBK3B_EXPORT K3bMsfEdit : public TQSpinBox TQ_OBJECT public: - K3bMsfEdit( TQWidget* tqparent = 0, const char* name = 0 ); + K3bMsfEdit( TQWidget* parent = 0, const char* name = 0 ); ~K3bMsfEdit(); TQSize tqsizeHint() const; diff --git a/libk3b/tools/k3bmultichoicedialog.cpp b/libk3b/tools/k3bmultichoicedialog.cpp index e4cc364..01f64cd 100644 --- a/libk3b/tools/k3bmultichoicedialog.cpp +++ b/libk3b/tools/k3bmultichoicedialog.cpp @@ -78,8 +78,8 @@ static TQPixmap themedMessageBoxIcon(TQMessageBox::Icon icon) K3bMultiChoiceDialog::K3bMultiChoiceDialog( const TQString& caption, const TQString& text, TQMessageBox::Icon icon, - TQWidget* tqparent, const char* name ) - : KDialog( tqparent, name ) + TQWidget* parent, const char* name ) + : KDialog( parent, name ) { d = new Private(); d->mapper = new TQSignalMapper( TQT_TQOBJECT(this) ); @@ -161,7 +161,7 @@ void K3bMultiChoiceDialog::closeEvent( TQCloseEvent* e ) int K3bMultiChoiceDialog::choose( const TQString& caption, const TQString& text, TQMessageBox::Icon icon, - TQWidget* tqparent, + TQWidget* parent, const char* name, int buttonCount, const KGuiItem& b1, @@ -171,7 +171,7 @@ int K3bMultiChoiceDialog::choose( const TQString& caption, const KGuiItem& b5, const KGuiItem& b6 ) { - K3bMultiChoiceDialog dlg( caption, text, icon, tqparent, name ); + K3bMultiChoiceDialog dlg( caption, text, icon, parent, name ); dlg.addButton( b1 ); if( buttonCount > 1 ) dlg.addButton( b2 ); diff --git a/libk3b/tools/k3bmultichoicedialog.h b/libk3b/tools/k3bmultichoicedialog.h index be0748a..bfa57af 100644 --- a/libk3b/tools/k3bmultichoicedialog.h +++ b/libk3b/tools/k3bmultichoicedialog.h @@ -34,7 +34,7 @@ class LIBK3B_EXPORT K3bMultiChoiceDialog : public KDialog K3bMultiChoiceDialog( const TQString& caption, const TQString& text, TQMessageBox::Icon = TQMessageBox::Information, - TQWidget* tqparent = 0, const char* name = 0 ); + TQWidget* parent = 0, const char* name = 0 ); ~K3bMultiChoiceDialog(); /** @@ -45,7 +45,7 @@ class LIBK3B_EXPORT K3bMultiChoiceDialog : public KDialog static int choose( const TQString& caption, const TQString& text, TQMessageBox::Icon = TQMessageBox::Information, - TQWidget* tqparent = 0, + TQWidget* parent = 0, const char* name = 0, int buttonCount = 2, const KGuiItem& b1 = KStdGuiItem::yes(), diff --git a/libk3b/tools/k3bprogressdialog.cpp b/libk3b/tools/k3bprogressdialog.cpp index e0e5a05..fe7b2af 100644 --- a/libk3b/tools/k3bprogressdialog.cpp +++ b/libk3b/tools/k3bprogressdialog.cpp @@ -28,10 +28,10 @@ K3bProgressDialog::K3bProgressDialog( const TQString& text, - TQWidget* tqparent, + TQWidget* parent, const TQString& caption, const char* name ) - : KDialogBase( tqparent, name, true, caption, Cancel|Ok, Ok, true ) + : KDialogBase( parent, name, true, caption, Cancel|Ok, Ok, true ) { TQFrame* main = makeMainWidget(); TQGridLayout* mainLayout = new TQGridLayout( main ); diff --git a/libk3b/tools/k3bprogressdialog.h b/libk3b/tools/k3bprogressdialog.h index 5ff9ad8..35cc73d 100644 --- a/libk3b/tools/k3bprogressdialog.h +++ b/libk3b/tools/k3bprogressdialog.h @@ -38,7 +38,7 @@ class LIBK3B_EXPORT K3bProgressDialog : public KDialogBase public: K3bProgressDialog( const TQString& text = TQString(), - TQWidget* tqparent = 0, + TQWidget* parent = 0, const TQString& caption = TQString(), const char* name = 0 ); ~K3bProgressDialog(); diff --git a/libk3b/tools/k3bpushbutton.cpp b/libk3b/tools/k3bpushbutton.cpp index 43ac0a3..a4c58bd 100644 --- a/libk3b/tools/k3bpushbutton.cpp +++ b/libk3b/tools/k3bpushbutton.cpp @@ -37,16 +37,16 @@ public: -K3bPushButton::K3bPushButton( TQWidget* tqparent, const char* name ) - : KPushButton( tqparent, name ) +K3bPushButton::K3bPushButton( TQWidget* parent, const char* name ) + : KPushButton( parent, name ) { d = new Private(); installEventFilter(this); } -K3bPushButton::K3bPushButton( const TQString& text, TQWidget* tqparent, const char* name ) - : KPushButton( text, tqparent, name ) +K3bPushButton::K3bPushButton( const TQString& text, TQWidget* parent, const char* name ) + : KPushButton( text, parent, name ) { d = new Private(); installEventFilter(this); @@ -54,16 +54,16 @@ K3bPushButton::K3bPushButton( const TQString& text, TQWidget* tqparent, const ch K3bPushButton::K3bPushButton( const TQIconSet& icon, const TQString& text, - TQWidget* tqparent, const char* name ) - : KPushButton( icon, text, tqparent, name ) + TQWidget* parent, const char* name ) + : KPushButton( icon, text, parent, name ) { d = new Private(); installEventFilter(this); } -K3bPushButton::K3bPushButton( const KGuiItem& item, TQWidget* tqparent, const char* name ) - : KPushButton( item, tqparent, name ) +K3bPushButton::K3bPushButton( const KGuiItem& item, TQWidget* parent, const char* name ) + : KPushButton( item, parent, name ) { d = new Private(); installEventFilter(this); diff --git a/libk3b/tools/k3bpushbutton.h b/libk3b/tools/k3bpushbutton.h index 523cefe..89729b2 100644 --- a/libk3b/tools/k3bpushbutton.h +++ b/libk3b/tools/k3bpushbutton.h @@ -32,24 +32,24 @@ class LIBK3B_EXPORT K3bPushButton : public KPushButton /** * Default constructor. */ - K3bPushButton( TQWidget* tqparent = 0, const char* name = 0 ); + K3bPushButton( TQWidget* parent = 0, const char* name = 0 ); /** * Constructor, that sets the button-text to @p text */ - K3bPushButton( const TQString& text, TQWidget* tqparent = 0, const char* name = 0 ); + K3bPushButton( const TQString& text, TQWidget* parent = 0, const char* name = 0 ); /** * Constructor, that sets an icon and the button-text to @p text */ K3bPushButton( const TQIconSet& icon, const TQString& text, - TQWidget* tqparent = 0, const char* name = 0 ); + TQWidget* parent = 0, const char* name = 0 ); /** * Constructor that takes a KGuiItem for the text, the icon, the tooltip * and the what's this help */ - K3bPushButton( const KGuiItem& item, TQWidget* tqparent = 0, const char* name = 0 ); + K3bPushButton( const KGuiItem& item, TQWidget* parent = 0, const char* name = 0 ); /** * Destructs the button. diff --git a/libk3b/tools/k3bradioaction.cpp b/libk3b/tools/k3bradioaction.cpp index 5315dcd..4293322 100644 --- a/libk3b/tools/k3bradioaction.cpp +++ b/libk3b/tools/k3bradioaction.cpp @@ -18,32 +18,32 @@ #include <ktoolbarbutton.h> K3bRadioAction::K3bRadioAction( const TQString& text, const KShortcut& cut, - TQObject* tqparent, const char* name ) - : KToggleAction( text, cut, tqparent, name ), + TQObject* parent, const char* name ) + : KToggleAction( text, cut, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const KShortcut& cut, const TQObject* receiver, const char* slot, - TQObject* tqparent, const char* name ) - : KToggleAction( text, cut, receiver, slot, tqparent, name ), + TQObject* parent, const char* name ) + : KToggleAction( text, cut, receiver, slot, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, - TQObject* tqparent, const char* name ) - : KToggleAction( text, pix, cut, tqparent, name ), + TQObject* parent, const char* name ) + : KToggleAction( text, pix, cut, parent, name ), m_alwaysEmit(false) { } K3bRadioAction::K3bRadioAction( const TQString& text, const TQString& pix, const KShortcut& cut, - TQObject* tqparent, const char* name ) - : KToggleAction( text, pix, cut, tqparent, name ), + TQObject* parent, const char* name ) + : KToggleAction( text, pix, cut, parent, name ), m_alwaysEmit(false) { } @@ -51,8 +51,8 @@ K3bRadioAction::K3bRadioAction( const TQString& text, const TQString& pix, K3bRadioAction::K3bRadioAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, const TQObject* receiver, const char* slot, - TQObject* tqparent, const char* name ) - : KToggleAction( text, pix, cut, receiver, slot, tqparent, name ), + TQObject* parent, const char* name ) + : KToggleAction( text, pix, cut, receiver, slot, parent, name ), m_alwaysEmit(false) { } @@ -60,14 +60,14 @@ K3bRadioAction::K3bRadioAction( const TQString& text, const TQIconSet& pix, K3bRadioAction::K3bRadioAction( const TQString& text, const TQString& pix, const KShortcut& cut, const TQObject* receiver, const char* slot, - TQObject* tqparent, const char* name ) - : KToggleAction( text, pix, cut, receiver, slot, tqparent, name ), + TQObject* parent, const char* name ) + : KToggleAction( text, pix, cut, receiver, slot, parent, name ), m_alwaysEmit(false) { } -K3bRadioAction::K3bRadioAction( TQObject* tqparent, const char* name ) - : KToggleAction( tqparent, name ), +K3bRadioAction::K3bRadioAction( TQObject* parent, const char* name ) + : KToggleAction( parent, name ), m_alwaysEmit(false) { } diff --git a/libk3b/tools/k3bradioaction.h b/libk3b/tools/k3bradioaction.h index d65b3f5..262e153 100644 --- a/libk3b/tools/k3bradioaction.h +++ b/libk3b/tools/k3bradioaction.h @@ -39,72 +39,72 @@ class LIBK3B_EXPORT K3bRadioAction : public KToggleAction * * @param text The text that will be displayed. * @param cut The corresponding keyboard accelerator (shortcut). - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ - K3bRadioAction( const TQString& text, const KShortcut& cut = KShortcut(), TQObject* tqparent = 0, const char* name = 0 ); + K3bRadioAction( const TQString& text, const KShortcut& cut = KShortcut(), TQObject* parent = 0, const char* name = 0 ); /** * @param text The text that will be displayed. * @param cut The corresponding keyboard accelerator (shortcut). - * @param receiver The SLOT's tqparent. + * @param receiver The SLOT's parent. * @param slot The TQT_SLOT to invoke to execute this action. - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ K3bRadioAction( const TQString& text, const KShortcut& cut, - const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 ); + const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 ); /** * @param text The text that will be displayed. * @param pix The icons that go with this action. * @param cut The corresponding keyboard accelerator (shortcut). - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ K3bRadioAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut = KShortcut(), - TQObject* tqparent = 0, const char* name = 0 ); + TQObject* parent = 0, const char* name = 0 ); /** * @param text The text that will be displayed. * @param pix The dynamically loaded icon that goes with this action. * @param cut The corresponding keyboard accelerator (shortcut). - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ K3bRadioAction( const TQString& text, const TQString& pix, const KShortcut& cut = KShortcut(), - TQObject* tqparent = 0, const char* name = 0 ); + TQObject* parent = 0, const char* name = 0 ); /** * @param text The text that will be displayed. * @param pix The icons that go with this action. * @param cut The corresponding keyboard accelerator (shortcut). - * @param receiver The SLOT's tqparent. + * @param receiver The SLOT's parent. * @param slot The TQT_SLOT to invoke to execute this action. - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ K3bRadioAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, - const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 ); + const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 ); /** * @param text The text that will be displayed. * @param pix The dynamically loaded icon that goes with this action. * @param cut The corresponding keyboard accelerator (shortcut). - * @param receiver The SLOT's tqparent. + * @param receiver The SLOT's parent. * @param slot The TQT_SLOT to invoke to execute this action. - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ K3bRadioAction( const TQString& text, const TQString& pix, const KShortcut& cut, const TQObject* receiver, const char* slot, - TQObject* tqparent, const char* name = 0 ); + TQObject* parent, const char* name = 0 ); /** - * @param tqparent This action's tqparent. + * @param parent This action's parent. * @param name An internal name for this action. */ - K3bRadioAction( TQObject* tqparent = 0, const char* name = 0 ); + K3bRadioAction( TQObject* parent = 0, const char* name = 0 ); /** * @param b if true the action will always emit the activated signal diff --git a/libk3b/tools/k3brichtextlabel.cpp b/libk3b/tools/k3brichtextlabel.cpp index af6c471..02878c2 100644 --- a/libk3b/tools/k3brichtextlabel.cpp +++ b/libk3b/tools/k3brichtextlabel.cpp @@ -35,15 +35,15 @@ static TQString qrichtextify( const TQString& text ) return lines.join(TQString()); } -K3bRichTextLabel::K3bRichTextLabel( const TQString &text , TQWidget *tqparent, const char *name ) - : TQLabel ( tqparent, name ) { +K3bRichTextLabel::K3bRichTextLabel( const TQString &text , TQWidget *parent, const char *name ) + : TQLabel ( parent, name ) { m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5); tqsetAlignment( TQt::WordBreak ); setText(text); } -K3bRichTextLabel::K3bRichTextLabel( TQWidget *tqparent, const char *name ) - : TQLabel ( tqparent, name ) { +K3bRichTextLabel::K3bRichTextLabel( TQWidget *parent, const char *name ) + : TQLabel ( parent, name ) { m_defaultWidth = TQMIN(400, KGlobalSettings::desktopGeometry(this).width()*2/5); tqsetAlignment( TQt::WordBreak ); } diff --git a/libk3b/tools/k3brichtextlabel.h b/libk3b/tools/k3brichtextlabel.h index 3f1c407..cf1bc79 100644 --- a/libk3b/tools/k3brichtextlabel.h +++ b/libk3b/tools/k3brichtextlabel.h @@ -37,8 +37,8 @@ public: /** * Default constructor. */ - K3bRichTextLabel( TQWidget *tqparent, const char *name = 0 ); - K3bRichTextLabel( const TQString &text, TQWidget *tqparent, const char *name = 0 ); + K3bRichTextLabel( TQWidget *parent, const char *name = 0 ); + K3bRichTextLabel( const TQString &text, TQWidget *parent, const char *name = 0 ); int defaultWidth() const { return m_defaultWidth; } void setDefaultWidth(int defaultWidth); diff --git a/libk3b/tools/k3bstdguiitems.cpp b/libk3b/tools/k3bstdguiitems.cpp index ebc9666..c8fee1b 100644 --- a/libk3b/tools/k3bstdguiitems.cpp +++ b/libk3b/tools/k3bstdguiitems.cpp @@ -25,9 +25,9 @@ #include <klocale.h> -TQCheckBox* K3bStdGuiItems::simulateCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::simulateCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Simulate"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Simulate"), parent, name ); TQWhatsThis::add( c, i18n("<p>If this option is checked K3b will perform all writing steps with the " "laser turned off." "<p>This is useful, for example, to test a higher writing speed " @@ -37,9 +37,9 @@ TQCheckBox* K3bStdGuiItems::simulateCheckbox( TQWidget* tqparent, const char* na return c; } -TQCheckBox* K3bStdGuiItems::daoCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::daoCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Disk at once"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Disk at once"), parent, name ); TQWhatsThis::add( c, i18n("<p>If this option is checked, K3b will write the CD in 'disk at once' mode as " "compared to 'track at once' (TAO)." "<p>It is always recommended to use DAO where possible." @@ -49,9 +49,9 @@ TQCheckBox* K3bStdGuiItems::daoCheckbox( TQWidget* tqparent, const char* name ) return c; } -TQCheckBox* K3bStdGuiItems::burnproofCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::burnproofCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Use Burnfree"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Use Burnfree"), parent, name ); TQToolTip::add( c, i18n("Enable Burnfree (or Just Link) to avoid buffer underruns") ); TQWhatsThis::add( c, i18n("<p>If this option is checked, K3b enables <em>Burnfree</em> " "(or <em>Just Link</em>). This is " @@ -70,9 +70,9 @@ TQCheckBox* K3bStdGuiItems::burnproofCheckbox( TQWidget* tqparent, const char* n return c; } -TQCheckBox* K3bStdGuiItems::onlyCreateImagesCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::onlyCreateImagesCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Only create image"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Only create image"), parent, name ); TQWhatsThis::add( c, i18n("<p>If this option is checked, K3b will only create an " "image and not do any actual writing." "<p>The image can later be written to a CD/DVD with most current writing " @@ -81,9 +81,9 @@ TQCheckBox* K3bStdGuiItems::onlyCreateImagesCheckbox( TQWidget* tqparent, const return c; } -TQCheckBox* K3bStdGuiItems::createCacheImageCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::createCacheImageCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Create image"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Create image"), parent, name ); TQWhatsThis::add( c, i18n("<p>If this option is checked, K3b will create an image before writing " "the files to the CD/DVD. Otherwise the data will be written <em>on-the-fly</em>, " "i.e. no intermediate image will be created." @@ -94,9 +94,9 @@ TQCheckBox* K3bStdGuiItems::createCacheImageCheckbox( TQWidget* tqparent, const return c; } -TQCheckBox* K3bStdGuiItems::removeImagesCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::removeImagesCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Remove image"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Remove image"), parent, name ); TQWhatsThis::add( c, i18n("<p>If this option is checked, K3b will remove any created images after the " "writing has finished." "<p>Uncheck this if you want to keep the images.") ); @@ -104,9 +104,9 @@ TQCheckBox* K3bStdGuiItems::removeImagesCheckbox( TQWidget* tqparent, const char return c; } -TQCheckBox* K3bStdGuiItems::onTheFlyCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::onTheFlyCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("On the fly"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("On the fly"), parent, name ); TQWhatsThis::add( c, i18n("<p>If this option is checked, K3b will not create an image first but write " "the files directly to the CD/DVD." "<p><b>Caution:</b> Although this should work on most systems, make sure " @@ -116,9 +116,9 @@ TQCheckBox* K3bStdGuiItems::onTheFlyCheckbox( TQWidget* tqparent, const char* na return c; } -TQCheckBox* K3bStdGuiItems::cdTextCheckbox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::cdTextCheckbox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Write CD-TEXT"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Write CD-TEXT"), parent, name ); TQToolTip::add( c, i18n("Create CD-TEXT entries") ); TQWhatsThis::add( c, i18n("<p>If this option is checked K3b uses some otherwise-unused space on the audio " "CD to store additional information, like the artist or the CD title." @@ -131,9 +131,9 @@ TQCheckBox* K3bStdGuiItems::cdTextCheckbox( TQWidget* tqparent, const char* name } -TQComboBox* K3bStdGuiItems::paranoiaModeComboBox( TQWidget* tqparent, const char* name ) +TQComboBox* K3bStdGuiItems::paranoiaModeComboBox( TQWidget* parent, const char* name ) { - TQComboBox* c = new TQComboBox( tqparent, name ); + TQComboBox* c = new TQComboBox( parent, name ); c->insertItem( "0" ); c->insertItem( "1" ); c->insertItem( "2" ); @@ -150,9 +150,9 @@ TQComboBox* K3bStdGuiItems::paranoiaModeComboBox( TQWidget* tqparent, const char } -TQCheckBox* K3bStdGuiItems::startMultisessionCheckBox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::startMultisessionCheckBox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Start multisession CD"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Start multisession CD"), parent, name ); TQToolTip::add( c, i18n("Do not close the disk to allow additional sessions to be added later") ); TQWhatsThis::add( c, i18n("<p>If this option is checked K3b will not close the CD, and will write " "a temporary table of contents.</p>" @@ -161,9 +161,9 @@ TQCheckBox* K3bStdGuiItems::startMultisessionCheckBox( TQWidget* tqparent, const } -TQCheckBox* K3bStdGuiItems::normalizeCheckBox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::normalizeCheckBox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Normalize volume levels"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Normalize volume levels"), parent, name ); TQToolTip::add( c, i18n("Adjust the volume levels of all tracks") ); TQWhatsThis::add( c, i18n("<p>If this option is checked K3b will adjust the volume of all tracks " "to a standard level. This is useful for things like creating mixes, " @@ -175,9 +175,9 @@ TQCheckBox* K3bStdGuiItems::normalizeCheckBox( TQWidget* tqparent, const char* n } -TQCheckBox* K3bStdGuiItems::verifyCheckBox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::verifyCheckBox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Verify written data"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Verify written data"), parent, name ); TQToolTip::add( c, i18n("Compare original with written data") ); TQWhatsThis::add( c, i18n("<p>If this option is checked, then after successfully " "writing the disk K3b will compare the original source data " @@ -187,9 +187,9 @@ TQCheckBox* K3bStdGuiItems::verifyCheckBox( TQWidget* tqparent, const char* name } -TQCheckBox* K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( TQWidget* tqparent, const char* name ) +TQCheckBox* K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( TQWidget* parent, const char* name ) { - TQCheckBox* c = new TQCheckBox( i18n("Ignore read errors"), tqparent, name ); + TQCheckBox* c = new TQCheckBox( i18n("Ignore read errors"), parent, name ); TQToolTip::add( c, i18n("Skip unreadable audio sectors") ); TQWhatsThis::add( c, i18n("<p>If this option is checked and K3b is not able to read an " "audio sector from the source CD it will be replaced with zeros " @@ -200,16 +200,16 @@ TQCheckBox* K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( TQWidget* tqparent, c } -TQFrame* K3bStdGuiItems::horizontalLine( TQWidget* tqparent, const char* name ) +TQFrame* K3bStdGuiItems::horizontalLine( TQWidget* parent, const char* name ) { - TQFrame* line = new TQFrame( tqparent, name ); + TQFrame* line = new TQFrame( parent, name ); line->setFrameStyle( TQFrame::HLine | TQFrame::Sunken ); return line; } -TQFrame* K3bStdGuiItems::verticalLine( TQWidget* tqparent, const char* name ) +TQFrame* K3bStdGuiItems::verticalLine( TQWidget* parent, const char* name ) { - TQFrame* line = new TQFrame( tqparent, name ); + TQFrame* line = new TQFrame( parent, name ); line->setFrameStyle( TQFrame::VLine | TQFrame::Sunken ); return line; } diff --git a/libk3b/tools/k3bstdguiitems.h b/libk3b/tools/k3bstdguiitems.h index c90aaf8..d65133c 100644 --- a/libk3b/tools/k3bstdguiitems.h +++ b/libk3b/tools/k3bstdguiitems.h @@ -25,21 +25,21 @@ class TQFrame; namespace K3bStdGuiItems { - LIBK3B_EXPORT TQCheckBox* simulateCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* daoCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* burnproofCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* onlyCreateImagesCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* createCacheImageCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* removeImagesCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* onTheFlyCheckbox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* cdTextCheckbox( TQWidget* tqparent = 0, const char* name = 0); - LIBK3B_EXPORT TQComboBox* paranoiaModeComboBox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* startMultisessionCheckBox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* normalizeCheckBox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* verifyCheckBox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQCheckBox* ignoreAudioReadErrorsCheckBox( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQFrame* horizontalLine( TQWidget* tqparent = 0, const char* name = 0 ); - LIBK3B_EXPORT TQFrame* verticalLine( TQWidget* tqparent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* simulateCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* daoCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* burnproofCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* onlyCreateImagesCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* createCacheImageCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* removeImagesCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* onTheFlyCheckbox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* cdTextCheckbox( TQWidget* parent = 0, const char* name = 0); + LIBK3B_EXPORT TQComboBox* paranoiaModeComboBox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* startMultisessionCheckBox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* normalizeCheckBox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* verifyCheckBox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQCheckBox* ignoreAudioReadErrorsCheckBox( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQFrame* horizontalLine( TQWidget* parent = 0, const char* name = 0 ); + LIBK3B_EXPORT TQFrame* verticalLine( TQWidget* parent = 0, const char* name = 0 ); } #endif diff --git a/libk3b/tools/k3bthreadwidget.cpp b/libk3b/tools/k3bthreadwidget.cpp index efbe2fa..103b67b 100644 --- a/libk3b/tools/k3bthreadwidget.cpp +++ b/libk3b/tools/k3bthreadwidget.cpp @@ -34,14 +34,14 @@ public: class K3bThreadWidget::DeviceSelectionEvent : public TQCustomEvent { public: - DeviceSelectionEvent( TQWidget* tqparent, const TQString& text, int id ) + DeviceSelectionEvent( TQWidget* parent, const TQString& text, int id ) : TQCustomEvent( TQEvent::User + 22 ), - m_parent(tqparent), + m_parent(parent), m_text(text), m_id(id) { } - TQWidget* tqparent() const { return m_parent; } + TQWidget* parent() const { return m_parent; } const TQString& text() const { return m_text; } int id() const { return m_id; } @@ -102,7 +102,7 @@ K3bThreadWidget* K3bThreadWidget::instance() // static -K3bDevice::Device* K3bThreadWidget::selectDevice( TQWidget* tqparent, +K3bDevice::Device* K3bThreadWidget::selectDevice( TQWidget* parent, const TQString& text ) { // request a new data set @@ -110,7 +110,7 @@ K3bDevice::Device* K3bThreadWidget::selectDevice( TQWidget* tqparent, // inform the instance about the request TQApplication::postEvent( K3bThreadWidget::instance(), - new K3bThreadWidget::DeviceSelectionEvent( tqparent, text, data->id ) ); + new K3bThreadWidget::DeviceSelectionEvent( parent, text, data->id ) ); // wait for the result to be ready data->con.wait(); @@ -128,7 +128,7 @@ void K3bThreadWidget::customEvent( TQCustomEvent* e ) { if( DeviceSelectionEvent* dse = dynamic_cast<DeviceSelectionEvent*>(e) ) { // create dialog - K3bDevice::Device* dev = K3bDeviceSelectionDialog::selectDevice( dse->tqparent(), dse->text() ); + K3bDevice::Device* dev = K3bDeviceSelectionDialog::selectDevice( dse->parent(), dse->text() ); // return it to the thread Data* dat = data( dse->id() ); diff --git a/libk3b/tools/k3bthreadwidget.h b/libk3b/tools/k3bthreadwidget.h index 1b514c2..6bf67ea 100644 --- a/libk3b/tools/k3bthreadwidget.h +++ b/libk3b/tools/k3bthreadwidget.h @@ -45,7 +45,7 @@ class K3bThreadWidget : public TQObject /** * Call this from a thread to show a device selection dialog. */ - static K3bDevice::Device* selectDevice( TQWidget* tqparent, + static K3bDevice::Device* selectDevice( TQWidget* parent, const TQString& text = TQString() ); protected: diff --git a/libk3b/tools/k3bthroughputestimator.cpp b/libk3b/tools/k3bthroughputestimator.cpp index d6183b3..7e330b4 100644 --- a/libk3b/tools/k3bthroughputestimator.cpp +++ b/libk3b/tools/k3bthroughputestimator.cpp @@ -38,8 +38,8 @@ public: }; -K3bThroughputEstimator::K3bThroughputEstimator( TQObject* tqparent, const char* name ) - : TQObject( tqparent, name ) +K3bThroughputEstimator::K3bThroughputEstimator( TQObject* parent, const char* name ) + : TQObject( parent, name ) { d = new Private(); } diff --git a/libk3b/tools/k3bthroughputestimator.h b/libk3b/tools/k3bthroughputestimator.h index 52d3272..07b0a54 100644 --- a/libk3b/tools/k3bthroughputestimator.h +++ b/libk3b/tools/k3bthroughputestimator.h @@ -31,7 +31,7 @@ class K3bThroughputEstimator : public TQObject TQ_OBJECT public: - K3bThroughputEstimator( TQObject* tqparent = 0, const char* name = 0 ); + K3bThroughputEstimator( TQObject* parent = 0, const char* name = 0 ); ~K3bThroughputEstimator(); int average() const; diff --git a/libk3b/tools/k3btitlelabel.cpp b/libk3b/tools/k3btitlelabel.cpp index db9edc0..21476b0 100644 --- a/libk3b/tools/k3btitlelabel.cpp +++ b/libk3b/tools/k3btitlelabel.cpp @@ -94,8 +94,8 @@ public: -K3bTitleLabel::K3bTitleLabel( TQWidget* tqparent, const char* name ) - : TQFrame( tqparent, name ) +K3bTitleLabel::K3bTitleLabel( TQWidget* parent, const char* name ) + : TQFrame( parent, name ) { d = new Private(); m_toolTip = new ToolTip( this ); diff --git a/libk3b/tools/k3btitlelabel.h b/libk3b/tools/k3btitlelabel.h index 3547a5c..b850b12 100644 --- a/libk3b/tools/k3btitlelabel.h +++ b/libk3b/tools/k3btitlelabel.h @@ -29,7 +29,7 @@ class LIBK3B_EXPORT K3bTitleLabel : public TQFrame TQ_OBJECT public: - K3bTitleLabel( TQWidget* tqparent = 0, const char* name = 0 ); + K3bTitleLabel( TQWidget* parent = 0, const char* name = 0 ); ~K3bTitleLabel(); TQSize tqsizeHint() const; diff --git a/libk3b/tools/k3btoolbox.cpp b/libk3b/tools/k3btoolbox.cpp index 2adf274..cf72a3b 100644 --- a/libk3b/tools/k3btoolbox.cpp +++ b/libk3b/tools/k3btoolbox.cpp @@ -42,7 +42,7 @@ class K3bToolBoxSeparator : public TQWidget TQ_OBJECT public: - K3bToolBoxSeparator( K3bToolBox* tqparent ); + K3bToolBoxSeparator( K3bToolBox* parent ); TQSize tqsizeHint() const; @@ -51,8 +51,8 @@ class K3bToolBoxSeparator : public TQWidget }; -K3bToolBoxSeparator::K3bToolBoxSeparator( K3bToolBox* tqparent ) - : TQWidget( tqparent ) +K3bToolBoxSeparator::K3bToolBoxSeparator( K3bToolBox* parent ) + : TQWidget( parent ) { tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ) ); } @@ -77,8 +77,8 @@ void K3bToolBoxSeparator::paintEvent( TQPaintEvent* ) -K3bToolBoxButton::K3bToolBoxButton( KAction* action, TQWidget* tqparent ) - : TQToolButton( tqparent ), +K3bToolBoxButton::K3bToolBoxButton( KAction* action, TQWidget* parent ) + : TQToolButton( parent ), m_popupMenu(0) { tqsetSizePolicy( TQSizePolicy(TQSizePolicy::Fixed, tqsizePolicy().verData()) ); @@ -123,8 +123,8 @@ K3bToolBoxButton::K3bToolBoxButton( KAction* action, TQWidget* tqparent ) K3bToolBoxButton::K3bToolBoxButton( const TQString& text, const TQString& icon, const TQString& tooltip, const TQString& whatsthis, TQObject* receiver, const char* slot, - TQWidget* tqparent ) - : TQToolButton( tqparent ), + TQWidget* parent ) + : TQToolButton( parent ), m_popupMenu(0) { tqsetSizePolicy( TQSizePolicy(TQSizePolicy::Fixed, tqsizePolicy().verData()) ); @@ -168,8 +168,8 @@ void K3bToolBoxButton::resizeEvent( TQResizeEvent* e ) -K3bToolBox::K3bToolBox( TQWidget* tqparent, const char* name ) - : TQFrame( tqparent, name ) +K3bToolBox::K3bToolBox( TQWidget* parent, const char* name ) + : TQFrame( parent, name ) { tqsetSizePolicy( TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed) ); diff --git a/libk3b/tools/k3btoolbox.h b/libk3b/tools/k3btoolbox.h index b93346b..77f2424 100644 --- a/libk3b/tools/k3btoolbox.h +++ b/libk3b/tools/k3btoolbox.h @@ -39,11 +39,11 @@ class LIBK3B_EXPORT K3bToolBoxButton : public TQToolButton TQ_OBJECT public: - K3bToolBoxButton( KAction*, TQWidget* tqparent ); + K3bToolBoxButton( KAction*, TQWidget* parent ); K3bToolBoxButton( const TQString& text, const TQString& icon, const TQString& tooltip, const TQString& whatsthis, TQObject* receiver, const char* slot, - TQWidget* tqparent ); + TQWidget* parent ); private slots: void slotPopupActivated(); @@ -62,7 +62,7 @@ class LIBK3B_EXPORT K3bToolBox : public TQFrame TQ_OBJECT public: - K3bToolBox( TQWidget* tqparent = 0, const char* name = 0 ); + K3bToolBox( TQWidget* parent = 0, const char* name = 0 ); ~K3bToolBox(); K3bToolBoxButton* addButton( const TQString& text, const TQString& icon, diff --git a/libk3b/tools/k3btoolbutton.cpp b/libk3b/tools/k3btoolbutton.cpp index 6f63c63..67af0d5 100644 --- a/libk3b/tools/k3btoolbutton.cpp +++ b/libk3b/tools/k3btoolbutton.cpp @@ -31,8 +31,8 @@ public: }; -K3bToolButton::K3bToolButton( TQWidget* tqparent ) - : TQToolButton( tqparent ) +K3bToolButton::K3bToolButton( TQWidget* parent ) + : TQToolButton( parent ) { d = new Private; d->instantMenu = false; diff --git a/libk3b/tools/k3btoolbutton.h b/libk3b/tools/k3btoolbutton.h index 707801f..6b2057d 100644 --- a/libk3b/tools/k3btoolbutton.h +++ b/libk3b/tools/k3btoolbutton.h @@ -33,7 +33,7 @@ class TQEvent; class LIBK3B_EXPORT K3bToolButton : public TQToolButton { public: - K3bToolButton( TQWidget* tqparent = 0 ); + K3bToolButton( TQWidget* parent = 0 ); ~K3bToolButton(); void setInstantMenu( bool ); diff --git a/libk3b/tools/k3bvalidators.cpp b/libk3b/tools/k3bvalidators.cpp index b8a6e65..6bf63b6 100644 --- a/libk3b/tools/k3bvalidators.cpp +++ b/libk3b/tools/k3bvalidators.cpp @@ -19,8 +19,8 @@ #include <ctype.h> -K3bCharValidator::K3bCharValidator( TQObject* tqparent, const char* name ) - : TQValidator( tqparent, name ), +K3bCharValidator::K3bCharValidator( TQObject* parent, const char* name ) + : TQValidator( parent, name ), m_replaceChar( '_' ) { } @@ -49,8 +49,8 @@ void K3bCharValidator::fixup( TQString& s ) const } -K3bLatin1Validator::K3bLatin1Validator( TQObject* tqparent, const char* name ) - : K3bCharValidator( tqparent, name ) +K3bLatin1Validator::K3bLatin1Validator( TQObject* parent, const char* name ) + : K3bCharValidator( parent, name ) { } @@ -64,8 +64,8 @@ TQValidator::State K3bLatin1Validator::validateChar( const TQChar& c ) const } -K3bAsciiValidator::K3bAsciiValidator( TQObject* tqparent, const char* name ) - : K3bLatin1Validator( tqparent, name ) +K3bAsciiValidator::K3bAsciiValidator( TQObject* parent, const char* name ) + : K3bLatin1Validator( parent, name ) { } @@ -82,15 +82,15 @@ TQValidator::State K3bAsciiValidator::validateChar( const TQChar& c ) const -K3bValidator::K3bValidator( TQObject* tqparent, const char* name ) - : TQRegExpValidator( tqparent, name ), +K3bValidator::K3bValidator( TQObject* parent, const char* name ) + : TQRegExpValidator( parent, name ), m_replaceChar('_') { } -K3bValidator::K3bValidator( const TQRegExp& rx, TQObject* tqparent, const char* name ) - : TQRegExpValidator( rx, tqparent, name ), +K3bValidator::K3bValidator( const TQRegExp& rx, TQObject* parent, const char* name ) + : TQRegExpValidator( rx, parent, name ), m_replaceChar('_') { } @@ -116,22 +116,22 @@ TQString K3bValidators::fixup( const TQString& input, const TQRegExp& rx, const } -K3bValidator* K3bValidators::isrcValidator( TQObject* tqparent, const char* name ) +K3bValidator* K3bValidators::isrcValidator( TQObject* parent, const char* name ) { - return new K3bValidator( TQRegExp("^[A-Z\\d]{2,2}-[A-Z\\d]{3,3}-\\d{2,2}-\\d{5,5}$"), tqparent, name ); + return new K3bValidator( TQRegExp("^[A-Z\\d]{2,2}-[A-Z\\d]{3,3}-\\d{2,2}-\\d{5,5}$"), parent, name ); } -K3bValidator* K3bValidators::iso9660Validator( bool allowEmpty, TQObject* tqparent, const char* name ) +K3bValidator* K3bValidators::iso9660Validator( bool allowEmpty, TQObject* parent, const char* name ) { if( allowEmpty ) - return new K3bValidator( TQRegExp( "[^/]*" ), tqparent, name ); + return new K3bValidator( TQRegExp( "[^/]*" ), parent, name ); else - return new K3bValidator( TQRegExp( "[^/]+" ), tqparent, name ); + return new K3bValidator( TQRegExp( "[^/]+" ), parent, name ); } -K3bValidator* K3bValidators::iso646Validator( int type, bool AllowLowerCase, TQObject* tqparent, const char* name ) +K3bValidator* K3bValidators::iso646Validator( int type, bool AllowLowerCase, TQObject* parent, const char* name ) { TQRegExp rx; switch ( type ) { @@ -150,5 +150,5 @@ K3bValidator* K3bValidators::iso646Validator( int type, bool AllowLowerCase, TQO break; } - return new K3bValidator( rx, tqparent, name ); + return new K3bValidator( rx, parent, name ); } diff --git a/libk3b/tools/k3bvalidators.h b/libk3b/tools/k3bvalidators.h index d391cb9..42197f4 100644 --- a/libk3b/tools/k3bvalidators.h +++ b/libk3b/tools/k3bvalidators.h @@ -26,7 +26,7 @@ class LIBK3B_EXPORT K3bCharValidator : public TQValidator { public: - K3bCharValidator( TQObject* tqparent = 0, const char* name = 0 ); + K3bCharValidator( TQObject* parent = 0, const char* name = 0 ); virtual State validateChar( const TQChar& ) const = 0; @@ -50,7 +50,7 @@ class LIBK3B_EXPORT K3bCharValidator : public TQValidator class LIBK3B_EXPORT K3bLatin1Validator : public K3bCharValidator { public: - K3bLatin1Validator( TQObject* tqparent = 0, const char* name = 0 ); + K3bLatin1Validator( TQObject* parent = 0, const char* name = 0 ); virtual State validateChar( const TQChar& ) const; }; @@ -59,7 +59,7 @@ class LIBK3B_EXPORT K3bLatin1Validator : public K3bCharValidator class LIBK3B_EXPORT K3bAsciiValidator : public K3bLatin1Validator { public: - K3bAsciiValidator( TQObject* tqparent = 0, const char* name = 0 ); + K3bAsciiValidator( TQObject* parent = 0, const char* name = 0 ); virtual State validateChar( const TQChar& ) const; }; @@ -74,8 +74,8 @@ class LIBK3B_EXPORT K3bAsciiValidator : public K3bLatin1Validator class LIBK3B_EXPORT K3bValidator : public TQRegExpValidator { public: - K3bValidator( TQObject* tqparent, const char * name = 0 ); - K3bValidator( const TQRegExp& rx, TQObject* tqparent, const char* name = 0 ); + K3bValidator( TQObject* parent, const char * name = 0 ); + K3bValidator( const TQRegExp& rx, TQObject* parent, const char* name = 0 ); void setReplaceChar( const TQChar& s ) { m_replaceChar = s; } const TQChar& replaceChar() const { return m_replaceChar; } @@ -105,13 +105,13 @@ namespace K3bValidators * <li>S: serial number (digits)</li> * </ul> */ - LIBK3B_EXPORT K3bValidator* isrcValidator( TQObject* tqparent = 0, const char* name = 0 ); + LIBK3B_EXPORT K3bValidator* isrcValidator( TQObject* parent = 0, const char* name = 0 ); /** * This needs to be replaced by something better in the future... * Even the name sucks! */ - LIBK3B_EXPORT K3bValidator* iso9660Validator( bool allowEmpty = true, TQObject* tqparent = 0, const char* name = 0 ); + LIBK3B_EXPORT K3bValidator* iso9660Validator( bool allowEmpty = true, TQObject* parent = 0, const char* name = 0 ); /** * (1) d-characters are: A-Z, 0-9, _ (see ISO-9660:1988, Annex A, Table 15) @@ -125,7 +125,7 @@ namespace K3bValidators LIBK3B_EXPORT K3bValidator* iso646Validator( int type = Iso646_a, bool AllowLowerCase = false, - TQObject* tqparent = 0, const char* name = 0 ); + TQObject* parent = 0, const char* name = 0 ); } #endif diff --git a/libk3b/tools/kcutlabel.cpp b/libk3b/tools/kcutlabel.cpp index 650f83d..fd806ba 100644 --- a/libk3b/tools/kcutlabel.cpp +++ b/libk3b/tools/kcutlabel.cpp @@ -23,8 +23,8 @@ #include <kdebug.h> -KCutLabel::KCutLabel( const TQString &text , TQWidget *tqparent, const char *name ) - : TQLabel ( tqparent, name ), +KCutLabel::KCutLabel( const TQString &text , TQWidget *parent, const char *name ) + : TQLabel ( parent, name ), m_minChars(1) { TQSizePolicy myLabelSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ); tqsetSizePolicy(myLabelSizePolicy); @@ -32,8 +32,8 @@ KCutLabel::KCutLabel( const TQString &text , TQWidget *tqparent, const char *nam cutTextToLabel(); } -KCutLabel::KCutLabel( TQWidget *tqparent, const char *name ) - : TQLabel ( tqparent, name ), +KCutLabel::KCutLabel( TQWidget *parent, const char *name ) + : TQLabel ( parent, name ), m_minChars(1) { TQSizePolicy myLabelSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ); tqsetSizePolicy(myLabelSizePolicy); diff --git a/libk3b/tools/kcutlabel.h b/libk3b/tools/kcutlabel.h index 5df44b3..7b96fe2 100644 --- a/libk3b/tools/kcutlabel.h +++ b/libk3b/tools/kcutlabel.h @@ -33,8 +33,8 @@ class LIBK3B_EXPORT KCutLabel : public TQLabel /** * Default constructor. */ - KCutLabel( TQWidget *tqparent = 0, const char *name = 0); - KCutLabel( const TQString &text, TQWidget *tqparent = 0, const char *name = 0 ); + KCutLabel( TQWidget *parent = 0, const char *name = 0); + KCutLabel( const TQString &text, TQWidget *parent = 0, const char *name = 0 ); virtual TQSize tqminimumSizeHint() const; diff --git a/libk3b/tools/libisofs/iso_fs.h b/libk3b/tools/libisofs/iso_fs.h index b726b9f..43353b0 100644 --- a/libk3b/tools/libisofs/iso_fs.h +++ b/libk3b/tools/libisofs/iso_fs.h @@ -131,13 +131,13 @@ struct hs_primary_descriptor { char root_directory_record [ISODCL (181, 214)]; /* 9.1 */ }; -/* We use this to help us look up the tqparent inode numbers. */ +/* We use this to help us look up the parent inode numbers. */ struct iso_path_table{ char name_len[1]; /* 711 */ char ext_attr_length[1]; /* 711 */ char extent[4]; /* 731 */ - char tqparent[2]; /* 721 */ + char parent[2]; /* 721 */ char name[1]; }; diff --git a/libk3b/tools/libisofs/isofs.h b/libk3b/tools/libisofs/isofs.h index 6f2fe2d..f284903 100644 --- a/libk3b/tools/libisofs/isofs.h +++ b/libk3b/tools/libisofs/isofs.h @@ -43,7 +43,7 @@ typedef struct _rr_entry { int serno; int dev_major; int dev_minor; - int pl; /* tqparent location */ + int pl; /* parent location */ int cl; /* child location */ int re; /* relocated */ char z_algo[2]; /* zizofs algorithm */ @@ -60,7 +60,7 @@ typedef struct _iso_vol_desc { typedef struct _boot_entry { struct _boot_entry *next; struct _boot_entry *prev; - struct _boot_entry *tqparent; + struct _boot_entry *parent; struct _boot_entry *child; char data[32]; } boot_entry; |