diff options
Diffstat (limited to 'korn')
44 files changed, 118 insertions, 118 deletions
diff --git a/korn/account_input.cpp b/korn/account_input.cpp index c7b35228e..7603e56b2 100644 --- a/korn/account_input.cpp +++ b/korn/account_input.cpp @@ -44,11 +44,11 @@ TQString AccountInput::configName() const return *_configName; } -TextInput::TextInput( TQWidget *tqparent, const TQString& title, Type type, const TQString& defaul, const TQString& configName ) +TextInput::TextInput( TQWidget *parent, const TQString& title, Type type, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _left = new TQLabel( title, tqparent, "label" ); - _right = new KLineEdit( "", tqparent, "edit" ); + _left = new TQLabel( title, parent, "label" ); + _right = new KLineEdit( "", parent, "edit" ); switch( type ) { case text: @@ -60,11 +60,11 @@ TextInput::TextInput( TQWidget *tqparent, const TQString& title, Type type, cons setValue( defaul ); } -TextInput::TextInput( TQWidget *tqparent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName ) +TextInput::TextInput( TQWidget *parent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _left = new TQLabel( title, tqparent, "label" ); - _right = new KLineEdit( "", tqparent, "edit" ); + _left = new TQLabel( title, parent, "label" ); + _right = new KLineEdit( "", parent, "edit" ); _right->setValidator( new TQIntValidator( min, max, TQT_TQOBJECT(_right), "validator" ) ); setValue( defaul ); } @@ -85,11 +85,11 @@ void TextInput::setValue( const TQString& value ) return _right->setText( value ); } -URLInput::URLInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName ) +URLInput::URLInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _left = new TQLabel( title, tqparent, "label" ); - _right = new KURLRequester( "", tqparent, "kurledit" ); + _left = new TQLabel( title, parent, "label" ); + _right = new KURLRequester( "", parent, "kurledit" ); setValue( defaul ); } @@ -109,13 +109,13 @@ void URLInput::setValue( const TQString& value ) _right->setURL( value ); } -ComboInput::ComboInput( TQWidget *tqparent, const TQString& title, const TQMap<TQString, TQString>& list, +ComboInput::ComboInput( TQWidget *parent, const TQString& title, const TQMap<TQString, TQString>& list, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) , _list( new TQMap< TQString, TQString >( list ) ) { - _left = new TQLabel( title, tqparent, "label" ); - _right = new TQComboBox( false, tqparent, "combo" ); + _left = new TQLabel( title, parent, "label" ); + _right = new TQComboBox( false, parent, "combo" ); _right->insertStringList( TQStringList( _list->values() ) ); setValue( defaul ); } @@ -142,10 +142,10 @@ void ComboInput::setValue( const TQString& value ) _right->setCurrentItem( -1 ); } -CheckboxInput::CheckboxInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName ) +CheckboxInput::CheckboxInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName ) : AccountInput( configName ) { - _right = new TQCheckBox( title, tqparent, "checkbox" ); + _right = new TQCheckBox( title, parent, "checkbox" ); setValue( defaul ); } diff --git a/korn/account_input.h b/korn/account_input.h index 8cff757ce..548db498b 100644 --- a/korn/account_input.h +++ b/korn/account_input.h @@ -106,24 +106,24 @@ public: /** * Constructor * - * @param tqparent The tqparent widget + * @param parent The parent widget * @param title The title that appears on the screen * @param type The type of TextEdit which is used * @param defaul The default value of this object * @param configName The name it has in the configuration box. */ - TextInput( TQWidget *tqparent, const TQString& title, Type type, const TQString& defaul, const TQString& configName ); + TextInput( TQWidget *parent, const TQString& title, Type type, const TQString& defaul, const TQString& configName ); /** * Constructor. Use this one if you want to ensure a number is inserted. * - * @param tqparent The tqparent widget + * @param parent The parent widget * @param title The title that appears on the screen * @param min The minimum value that can be inserted * @param max The maximum value that can be inserted * @param defaul The default value of this object * @param configName The name it has in the configuration box. */ - TextInput( TQWidget *tqparent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName ); + TextInput( TQWidget *parent, const TQString& title, int min, int max, const TQString& defaul, const TQString& configName ); /** * Destructor */ @@ -163,12 +163,12 @@ class URLInput : public AccountInput public: /** * Constructor - * @param tqparent The tqparent of this object + * @param parent The parent of this object * @param title The title of the label next to the URL. * @param defaul The default value * @param configName The name of the configuration entry */ - URLInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName ); + URLInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName ); /** * Destructor */ @@ -210,14 +210,14 @@ public: /** * Constructor * - * @param tqparent The tqparent of the widgets which are created + * @param parent The parent of the widgets which are created * @param title The title next to the combo box * @param list A mapping which maps a value in the configuration to a (translated) entry in the * combo box. * @param default The default value of the combo box. * @param configName The name in which the option is saved. */ - ComboInput( TQWidget *tqparent, const TQString& title, const TQMap<TQString,TQString>& list, + ComboInput( TQWidget *parent, const TQString& title, const TQMap<TQString,TQString>& list, const TQString& defaul, const TQString& configName ); /** * Destructor @@ -264,12 +264,12 @@ public: /** * Constructor * - * @param tqparent The tqparent for the objects which are created + * @param parent The parent for the objects which are created * @param title The title of the checkbox * @param defaul The default value ("true" for checked, "false" otherwise") * @param configName The name of the configuration entry of this object */ - CheckboxInput( TQWidget *tqparent, const TQString& title, const TQString& defaul, const TQString& configName ); + CheckboxInput( TQWidget *parent, const TQString& title, const TQString& defaul, const TQString& configName ); /** * Destructor */ diff --git a/korn/accountmanager.cpp b/korn/accountmanager.cpp index fec63a2b2..ddadf7c23 100644 --- a/korn/accountmanager.cpp +++ b/korn/accountmanager.cpp @@ -34,8 +34,8 @@ KornSubjectsDlg* AccountManager::_subjectsDlg = 0; -AccountManager::AccountManager( TQObject * tqparent, const char * name ) - : TQObject( tqparent, name ), +AccountManager::AccountManager( TQObject * parent, const char * name ) + : TQObject( parent, name ), _kioList( new TQPtrList< KMailDrop > ), _dcopList( new TQPtrList< DCOPDrop > ), _dropInfo( new TQMap< KMailDrop*, Dropinfo* > ) diff --git a/korn/accountmanager.h b/korn/accountmanager.h index 27c4cd079..3c0c652d1 100644 --- a/korn/accountmanager.h +++ b/korn/accountmanager.h @@ -45,7 +45,7 @@ public: /** * Constructor, parameters are directed to TQObject. */ - AccountManager( TQObject * tqparent = 0, const char * name = 0 ); + AccountManager( TQObject * parent = 0, const char * name = 0 ); /** * Destructor diff --git a/korn/boxcontainer.cpp b/korn/boxcontainer.cpp index 4f8312177..72719812d 100644 --- a/korn/boxcontainer.cpp +++ b/korn/boxcontainer.cpp @@ -24,8 +24,8 @@ #include <tqptrlist.h> -BoxContainer::BoxContainer( TQObject * tqparent, const char * name ) - : TQObject( tqparent, name ), +BoxContainer::BoxContainer( TQObject * parent, const char * name ) + : TQObject( parent, name ), _items( new TQPtrList< BoxContainerItem > ) { _items->setAutoDelete( true ); diff --git a/korn/boxcontainer.h b/korn/boxcontainer.h index 33e1c63d6..3f5a54e05 100644 --- a/korn/boxcontainer.h +++ b/korn/boxcontainer.h @@ -38,10 +38,10 @@ public: /** * Constructor: everything is passed to TQObject. * - * @param tqparent The tqparent of this object + * @param parent The parent of this object * @param name The name of this object */ - BoxContainer( TQObject *tqparent = 0, const char * name = 0 ); + BoxContainer( TQObject *parent = 0, const char * name = 0 ); /** * Destructor */ diff --git a/korn/boxcontaineritem.cpp b/korn/boxcontaineritem.cpp index 1f4be46a2..c412a07b2 100644 --- a/korn/boxcontaineritem.cpp +++ b/korn/boxcontaineritem.cpp @@ -47,8 +47,8 @@ #include <tqtooltip.h> #include <tqvbox.h> -BoxContainerItem::BoxContainerItem( TQObject * tqparent, const char * name ) - : AccountManager( tqparent, name ), +BoxContainerItem::BoxContainerItem( TQObject * parent, const char * name ) + : AccountManager( parent, name ), DCOPObject(), _command( new TQString ) { @@ -211,10 +211,10 @@ void BoxContainerItem::fillKPopupMenu( KPopupMenu* popupMenu, KActionCollection* KStdAction::aboutApp( this, TQT_SLOT( about() ), actions )->plug( popupMenu ); } -void BoxContainerItem::showPassivePopup( TQWidget* tqparent, TQPtrList< KornMailSubject >* list, int total, +void BoxContainerItem::showPassivePopup( TQWidget* parent, TQPtrList< KornMailSubject >* list, int total, const TQString &accountName, bool date ) { - KPassivePopup *popup = new KPassivePopup( tqparent, "Passive popup" ); + KPassivePopup *popup = new KPassivePopup( parent, "Passive popup" ); TQVBox *mainvtqlayout = popup->standardView( i18n( "KOrn - %1/%2 (total: %3)" ).tqarg( TQString(objId()) ).tqarg( accountName ) .tqarg( total ), "", TQPixmap(), 0 ); diff --git a/korn/boxcontaineritem.h b/korn/boxcontaineritem.h index 5393852ae..bd03801a8 100644 --- a/korn/boxcontaineritem.h +++ b/korn/boxcontaineritem.h @@ -51,11 +51,11 @@ public: * This constructor implements the default arguments for any TQObject. * Note that is does not give a name to DCOPObject; that name * is set in the readConfig-function. - * @param tqparent The tqparent of this object, See Object::TQObject + * @param parent The parent of this object, See Object::TQObject * @param name The name of this object, See TQObject::TQObject * @see BoxContainerItem::readConfig */ - BoxContainerItem( TQObject * tqparent = 0, const char * name = 0 ); + BoxContainerItem( TQObject * parent = 0, const char * name = 0 ); /** * The default destructor. This only removes _command-pointer. @@ -124,13 +124,13 @@ protected: /** * This displays the passive popup. * - * @param tqparent The Winget of the visual widget + * @param parent The Winget of the visual widget * @param list List with the first (five) subjects * @param total The total numbers of unread mail * @param accountName The name of the account it belongs to * @param date Should the date be displayed? */ - void showPassivePopup( TQWidget* tqparent, TQPtrList< KornMailSubject >* list, int total, const TQString& accountName, bool date ); + void showPassivePopup( TQWidget* parent, TQPtrList< KornMailSubject >* list, int total, const TQString& accountName, bool date ); //this functions should be reimplemented /** diff --git a/korn/dcopdropif.h b/korn/dcopdropif.h index 48514164a..9e755ac69 100644 --- a/korn/dcopdropif.h +++ b/korn/dcopdropif.h @@ -32,7 +32,7 @@ K_DCOP public: /** * Constructor - * @param drop The tqparent DCOPDrop + * @param drop The parent DCOPDrop * @param name The name of the dcop-object */ DCOPDropInterface( DCOPDrop* drop, const char* name ); diff --git a/korn/dockedcontainer.cpp b/korn/dockedcontainer.cpp index 989e19f03..5e2463886 100644 --- a/korn/dockedcontainer.cpp +++ b/korn/dockedcontainer.cpp @@ -20,8 +20,8 @@ #include "dockeditem.h" -DockedContainer::DockedContainer( TQObject * tqparent, const char * name ) - : BoxContainer( tqparent, name ) +DockedContainer::DockedContainer( TQObject * parent, const char * name ) + : BoxContainer( parent, name ) { } diff --git a/korn/dockedcontainer.h b/korn/dockedcontainer.h index d40623b65..06a833f28 100644 --- a/korn/dockedcontainer.h +++ b/korn/dockedcontainer.h @@ -31,7 +31,7 @@ class DockedContainer : public BoxContainer { Q_OBJECT TQ_OBJECT public: - DockedContainer( TQObject * tqparent = 0, const char * name = 0 ); + DockedContainer( TQObject * parent = 0, const char * name = 0 ); ~DockedContainer(); protected: diff --git a/korn/dockeditem.cpp b/korn/dockeditem.cpp index dc55b3c08..5ff6fb8af 100644 --- a/korn/dockeditem.cpp +++ b/korn/dockeditem.cpp @@ -36,9 +36,9 @@ #include <tqpixmap.h> #include <tqmovie.h> -DockedItem::DockedItem( TQWidget * tqparent, const char * name ) - : BoxContainerItem( TQT_TQOBJECT(tqparent), name ), - _systemtray( new SystemTray( tqparent, "System tray" ) ) +DockedItem::DockedItem( TQWidget * parent, const char * name ) + : BoxContainerItem( TQT_TQOBJECT(parent), name ), + _systemtray( new SystemTray( parent, "System tray" ) ) { this->fillKPopupMenu( _systemtray->contextMenu(), _systemtray->actionCollection() ); diff --git a/korn/dockeditem.h b/korn/dockeditem.h index 4500d8776..e5737608e 100644 --- a/korn/dockeditem.h +++ b/korn/dockeditem.h @@ -40,10 +40,10 @@ class DockedItem : public BoxContainerItem public: /** * This contructor gives all it parameters to its parents. - * @param parant The tqparent window + * @param parant The parent window * @param name The name of the TQObject's parents. */ - DockedItem( TQWidget * tqparent = 0, const char * name = 0 ); + DockedItem( TQWidget * parent = 0, const char * name = 0 ); /** * Empty destructor; does nothing at the moment */ @@ -55,7 +55,7 @@ public: virtual void showBox(); /** - * This functions reads the config. It used the tqparent + * This functions reads the config. It used the parent * version for the main things, but it is possible to * add some configurations over here. * @param config The KConfig-instance which contains the settings of this tray-item. diff --git a/korn/hvcontainer.cpp b/korn/hvcontainer.cpp index 636a9a8fc..fa815179d 100644 --- a/korn/hvcontainer.cpp +++ b/korn/hvcontainer.cpp @@ -24,8 +24,8 @@ #include <tqvbox.h> -HVContainer::HVContainer( Qt::Orientation orientation, TQObject * tqparent, const char * name ) - : BoxContainer( tqparent, name ), +HVContainer::HVContainer( Qt::Orientation orientation, TQObject * parent, const char * name ) + : BoxContainer( parent, name ), box( 0 ) { if( orientation == Qt::Horizontal ) diff --git a/korn/hvcontainer.h b/korn/hvcontainer.h index b590aa553..049d32d6e 100644 --- a/korn/hvcontainer.h +++ b/korn/hvcontainer.h @@ -38,7 +38,7 @@ public: * * @param orientation The orientation of the box: it is a vertical or horizontal box? */ - HVContainer( Qt::Orientation orientation, TQObject * tqparent = 0 , const char * name = 0 ); + HVContainer( Qt::Orientation orientation, TQObject * parent = 0 , const char * name = 0 ); ~HVContainer(); /** diff --git a/korn/hvitem.cpp b/korn/hvitem.cpp index fa4190d3e..bf621445f 100644 --- a/korn/hvitem.cpp +++ b/korn/hvitem.cpp @@ -30,9 +30,9 @@ #include <tqcursor.h> #include <tqtooltip.h> -HVItem::HVItem( TQWidget *tqparent, const char *name ) +HVItem::HVItem( TQWidget *parent, const char *name ) : BoxContainerItem( 0, name ), - _label( new Label( tqparent, "label" ) ), + _label( new Label( parent, "label" ) ), _popup( new KPopupMenu( _label, "popupmenu" ) ), _actions( new KActionCollection( _popup, "actions" ) ) { diff --git a/korn/hvitem.h b/korn/hvitem.h index 8cb62eaa8..98e420252 100644 --- a/korn/hvitem.h +++ b/korn/hvitem.h @@ -33,7 +33,7 @@ class HVItem : public BoxContainerItem { Q_OBJECT TQ_OBJECT public: - HVItem( TQWidget *tqparent = 0, const char *name = 0 ); + HVItem( TQWidget *parent = 0, const char *name = 0 ); ~HVItem(); /** diff --git a/korn/keditlistboxman.cpp b/korn/keditlistboxman.cpp index 44ef514c4..d5ae323a5 100644 --- a/korn/keditlistboxman.cpp +++ b/korn/keditlistboxman.cpp @@ -24,9 +24,9 @@ #include <tqmap.h> #include <tqstring.h> -KEditListBoxManager::KEditListBoxManager( TQWidget *tqparent, const char *name, +KEditListBoxManager::KEditListBoxManager( TQWidget *parent, const char *name, bool checkAtEntering, int buttons ) - : KEditListBox( tqparent, name, checkAtEntering, buttons ), + : KEditListBox( parent, name, checkAtEntering, buttons ), _config( 0 ), _groupName( 0 ), _subGroupName( 0 ), @@ -35,10 +35,10 @@ KEditListBoxManager::KEditListBoxManager( TQWidget *tqparent, const char *name, init(); } -KEditListBoxManager::KEditListBoxManager( const TQString& title, TQWidget *tqparent, +KEditListBoxManager::KEditListBoxManager( const TQString& title, TQWidget *parent, const char *name, bool checkAtEntering, int buttons) - : KEditListBox( title, tqparent, name, checkAtEntering, buttons ), + : KEditListBox( title, parent, name, checkAtEntering, buttons ), _config( 0 ), _groupName( 0 ), _subGroupName( 0 ), @@ -49,9 +49,9 @@ KEditListBoxManager::KEditListBoxManager( const TQString& title, TQWidget *tqpar KEditListBoxManager::KEditListBoxManager( const TQString& title, const KEditListBox::CustomEditor &customEditor, - TQWidget *tqparent, const char *name, + TQWidget *parent, const char *name, bool checkAtEntering, int buttons ) - : KEditListBox( title, customEditor, tqparent, name, checkAtEntering, buttons ), + : KEditListBox( title, customEditor, parent, name, checkAtEntering, buttons ), _config( 0 ), _groupName( 0 ), _subGroupName( 0 ), diff --git a/korn/keditlistboxman.h b/korn/keditlistboxman.h index 45fb9d69a..0432e76e7 100644 --- a/korn/keditlistboxman.h +++ b/korn/keditlistboxman.h @@ -38,13 +38,13 @@ public: /** * Constructor: @see KEditListBoxManager::KEditListBoxManager( const TQString&, TQWidget, const char * name, bool, int ) */ - KEditListBoxManager( TQWidget *tqparent = 0, const char *name = 0, + KEditListBoxManager( TQWidget *parent = 0, const char *name = 0, bool checkAtEntering=true, int buttons = All ); /** * The save as above, but with other options for KEditListBox. */ - KEditListBoxManager( const TQString& title, TQWidget *tqparent = 0, + KEditListBoxManager( const TQString& title, TQWidget *parent = 0, const char *name = 0, bool checkAtEntering=true, int buttons = All ); @@ -53,7 +53,7 @@ public: */ KEditListBoxManager( const TQString& title, const KEditListBox::CustomEditor &customEditor, - TQWidget *tqparent = 0, const char *name = 0, + TQWidget *parent = 0, const char *name = 0, bool checkAtEntering = true, int buttons = All ); /** diff --git a/korn/kio_count.cpp b/korn/kio_count.cpp index e43b97060..a1635fd9f 100644 --- a/korn/kio_count.cpp +++ b/korn/kio_count.cpp @@ -34,8 +34,8 @@ #include <tqstring.h> -KIO_Count::KIO_Count( TQObject * tqparent, const char * name ) - : TQObject ( tqparent, name ), +KIO_Count::KIO_Count( TQObject * parent, const char * name ) + : TQObject ( parent, name ), _kurl( 0 ), _metadata( 0 ), _protocol( 0 ), diff --git a/korn/kio_count.h b/korn/kio_count.h index c97ce2f64..3b555739d 100644 --- a/korn/kio_count.h +++ b/korn/kio_count.h @@ -45,7 +45,7 @@ class KIO_Count : public TQObject { Q_OBJECT TQ_OBJECT public: - KIO_Count( TQObject * tqparent = 0, const char * name = 0 ); + KIO_Count( TQObject * parent = 0, const char * name = 0 ); ~KIO_Count(); //This function starts counting diff --git a/korn/kio_delete.cpp b/korn/kio_delete.cpp index b506f0b2c..576463bef 100644 --- a/korn/kio_delete.cpp +++ b/korn/kio_delete.cpp @@ -32,7 +32,7 @@ #include <tqptrlist.h> -KIO_Delete::KIO_Delete( TQObject * tqparent, const char * name ) : TQObject( tqparent, name ), +KIO_Delete::KIO_Delete( TQObject * parent, const char * name ) : TQObject( parent, name ), _kio( 0 ), _total( 0 ), _jobs( 0 ), diff --git a/korn/kio_delete.h b/korn/kio_delete.h index 30c955549..3358d8b33 100644 --- a/korn/kio_delete.h +++ b/korn/kio_delete.h @@ -39,7 +39,7 @@ class KIO_Delete : public TQObject TQ_OBJECT public: //constructors - KIO_Delete( TQObject * tqparent = 0, const char * name = 0 ); + KIO_Delete( TQObject * parent = 0, const char * name = 0 ); ~KIO_Delete( ); //This function should be called if there are messages to be deleted. diff --git a/korn/kio_read.cpp b/korn/kio_read.cpp index 840c09f27..c14377c0b 100644 --- a/korn/kio_read.cpp +++ b/korn/kio_read.cpp @@ -33,8 +33,8 @@ #include <tqcstring.h> #include <tqstring.h> -KIO_Read::KIO_Read( TQObject * tqparent, const char * name ) - : TQObject( tqparent, name ), +KIO_Read::KIO_Read( TQObject * parent, const char * name ) + : TQObject( parent, name ), _job( 0 ), _message( 0 ) { diff --git a/korn/kio_read.h b/korn/kio_read.h index 234cd36af..c890b2ec5 100644 --- a/korn/kio_read.h +++ b/korn/kio_read.h @@ -36,7 +36,7 @@ class KIO_Read : public TQObject { Q_OBJECT TQ_OBJECT public: - KIO_Read( TQObject * tqparent = 0, const char * name = 0 ); + KIO_Read( TQObject * parent = 0, const char * name = 0 ); ~KIO_Read(); public slots: diff --git a/korn/kio_single_subject.cpp b/korn/kio_single_subject.cpp index 7d6e87987..fad2790b5 100644 --- a/korn/kio_single_subject.cpp +++ b/korn/kio_single_subject.cpp @@ -35,10 +35,10 @@ #include <tqcstring.h> #include <tqstring.h> -KIO_Single_Subject::KIO_Single_Subject( TQObject * tqparent, const char * name, +KIO_Single_Subject::KIO_Single_Subject( TQObject * parent, const char * name, KURL &kurl, KIO::MetaData &metadata, const KIO_Protocol * protocol, KIO::Slave *& slave, const TQString &url, const long size ) - : TQObject( tqparent, name ) + : TQObject( parent, name ) { _kurl = new KURL( kurl ); _metadata = new KIO::MetaData( metadata ); diff --git a/korn/kio_single_subject.h b/korn/kio_single_subject.h index 800638cb6..472148e9c 100644 --- a/korn/kio_single_subject.h +++ b/korn/kio_single_subject.h @@ -36,7 +36,7 @@ class KIO_Single_Subject : public TQObject { Q_OBJECT TQ_OBJECT public: - KIO_Single_Subject( TQObject * tqparent, const char * name, KURL &, KIO::MetaData &, const KIO_Protocol *, + KIO_Single_Subject( TQObject * parent, const char * name, KURL &, KIO::MetaData &, const KIO_Protocol *, KIO::Slave *&, const TQString &, const long ); ~KIO_Single_Subject( ); diff --git a/korn/kio_subjects.cpp b/korn/kio_subjects.cpp index 91da7a823..2e1e33855 100644 --- a/korn/kio_subjects.cpp +++ b/korn/kio_subjects.cpp @@ -31,8 +31,8 @@ #include <tqvaluelist.h> #include <tqstring.h> -KIO_Subjects::KIO_Subjects( TQObject * tqparent, const char * name ) - : TQObject( tqparent, name ), +KIO_Subjects::KIO_Subjects( TQObject * parent, const char * name ) + : TQObject( parent, name ), _protocol( 0 ), _slave( 0 ), _valid( true ) diff --git a/korn/kio_subjects.h b/korn/kio_subjects.h index 3e16d3269..871054761 100644 --- a/korn/kio_subjects.h +++ b/korn/kio_subjects.h @@ -38,7 +38,7 @@ class KIO_Subjects : public TQObject { Q_OBJECT TQ_OBJECT public: - KIO_Subjects( TQObject * tqparent, const char * name ); + KIO_Subjects( TQObject * parent, const char * name ); ~KIO_Subjects( ); //This function let it start fetching headers. diff --git a/korn/kornaccountcfgimpl.cpp b/korn/kornaccountcfgimpl.cpp index 56f64b765..ce1c9058b 100644 --- a/korn/kornaccountcfgimpl.cpp +++ b/korn/kornaccountcfgimpl.cpp @@ -37,8 +37,8 @@ #include <tqlabel.h> #include <tqwidget.h> -KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * tqparent, const char * name ) - : KornAccountCfg( tqparent, name ), +KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * parent, const char * name ) + : KornAccountCfg( parent, name ), _config( 0 ), _fields( 0 ), _urlfields( 0 ), @@ -49,8 +49,8 @@ KornAccountCfgImpl::KornAccountCfgImpl( TQWidget * tqparent, const char * name ) _groupBoxes( 0 ), _accountinput( new TQPtrList< AccountInput >() ) { - connect( tqparent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); - connect( tqparent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); + connect( parent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); + connect( parent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); this->cbProtocol->insertStringList( Protocols::getProtocols() ); @@ -205,14 +205,14 @@ void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto ) grid->setMargin( 15 ); for( input = _accountinput->first(); input; input = _accountinput->next() ) { - if( input->leftWidget() && TQT_BASE_OBJECT(_groupBoxes->at( groupCounter )) == TQT_BASE_OBJECT(input->leftWidget()->tqparent()) ) + if( input->leftWidget() && TQT_BASE_OBJECT(_groupBoxes->at( groupCounter )) == TQT_BASE_OBJECT(input->leftWidget()->parent()) ) { grid->addWidget( input->leftWidget(), counter, 0 ); - if( input->rightWidget() && TQT_BASE_OBJECT(_groupBoxes->at( groupCounter )) == TQT_BASE_OBJECT(input->rightWidget()->tqparent()) ) + if( input->rightWidget() && TQT_BASE_OBJECT(_groupBoxes->at( groupCounter )) == TQT_BASE_OBJECT(input->rightWidget()->parent()) ) grid->addWidget( input->rightWidget(), counter, 1 ); ++counter; } else { - if( input->rightWidget() && TQT_BASE_OBJECT(_groupBoxes->at( groupCounter )) == TQT_BASE_OBJECT(input->rightWidget()->tqparent()) ) + if( input->rightWidget() && TQT_BASE_OBJECT(_groupBoxes->at( groupCounter )) == TQT_BASE_OBJECT(input->rightWidget()->parent()) ) { grid->addWidget( input->rightWidget(), counter, 1 ); ++counter; diff --git a/korn/kornaccountcfgimpl.h b/korn/kornaccountcfgimpl.h index d00da5091..10c1cbf71 100644 --- a/korn/kornaccountcfgimpl.h +++ b/korn/kornaccountcfgimpl.h @@ -39,7 +39,7 @@ class KornAccountCfgImpl : public KornAccountCfg { Q_OBJECT TQ_OBJECT public: - KornAccountCfgImpl( TQWidget * tqparent = 0, const char * name = 0 ); + KornAccountCfgImpl( TQWidget * parent = 0, const char * name = 0 ); ~KornAccountCfgImpl(); void readConfig( KConfigGroup *config, TQMap< TQString, TQString > *entries, int boxnr, int accountnr ); diff --git a/korn/kornboxcfgimpl.cpp b/korn/kornboxcfgimpl.cpp index ff6b034fd..4cb911bef 100644 --- a/korn/kornboxcfgimpl.cpp +++ b/korn/kornboxcfgimpl.cpp @@ -38,8 +38,8 @@ class KConfig; #include <tqlabel.h> #include <tqstring.h> -KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * tqparent, const char * name ) - : KornBoxCfg( tqparent, name ), +KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * parent, const char * name ) + : KornBoxCfg( parent, name ), _config( 0 ), _base( 0 ), _index( -1 ) @@ -56,8 +56,8 @@ KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * tqparent, const char * name ) if( lbRight->text() == "Right" ) lbRight->setText( i18n( "Right" ) ); - connect( tqparent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); - connect( tqparent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); + connect( parent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); + connect( parent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); elbAccounts->setTitle( i18n( "Accounts" ) ); diff --git a/korn/kornboxcfgimpl.h b/korn/kornboxcfgimpl.h index a3802b810..ffcd97474 100644 --- a/korn/kornboxcfgimpl.h +++ b/korn/kornboxcfgimpl.h @@ -33,7 +33,7 @@ class KornBoxCfgImpl : public KornBoxCfg { Q_OBJECT TQ_OBJECT public: - KornBoxCfgImpl( TQWidget *tqparent, const char * name ); + KornBoxCfgImpl( TQWidget *parent, const char * name ); ~KornBoxCfgImpl(); /** diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp index 219cbcc0f..0616e6fee 100644 --- a/korn/korncfgimpl.cpp +++ b/korn/korncfgimpl.cpp @@ -35,10 +35,10 @@ /* - * tqparent should be of type KDialogBase + * parent should be of type KDialogBase */ -KornCfgImpl::KornCfgImpl( TQWidget * tqparent, const char * name ) - : KornCfgWidget( tqparent, name ), +KornCfgImpl::KornCfgImpl( TQWidget * parent, const char * name ) + : KornCfgWidget( parent, name ), _config( new KConfig( "kornrc" ) ), _base( 0 ) { @@ -47,9 +47,9 @@ KornCfgImpl::KornCfgImpl( TQWidget * tqparent, const char * name ) elbBoxes->setConfig( _config ); elbBoxes->setTitle( i18n( "Boxes" ) ); - connect( tqparent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); - connect( tqparent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); - connect( tqparent, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( slotApply() ) ); + connect( parent, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOK() ) ); + connect( parent, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotCancel() ) ); + connect( parent, TQT_SIGNAL( applyClicked() ), this, TQT_SLOT( slotApply() ) ); connect( elbBoxes, TQT_SIGNAL( elementsSwapped( int, int ) ), this, TQT_SLOT( slotElementsSwapped( int, int ) ) ); connect( elbBoxes, TQT_SIGNAL( elementDeleted( int ) ), this, TQT_SLOT( slotElementDeleted( int ) ) ); diff --git a/korn/korncfgimpl.h b/korn/korncfgimpl.h index 1168ec08c..aef4be1f2 100644 --- a/korn/korncfgimpl.h +++ b/korn/korncfgimpl.h @@ -31,7 +31,7 @@ class KornCfgImpl : public KornCfgWidget { Q_OBJECT TQ_OBJECT public: - KornCfgImpl( TQWidget * tqparent = 0, const char * name = 0 ); + KornCfgImpl( TQWidget * parent = 0, const char * name = 0 ); ~KornCfgImpl(); private slots: diff --git a/korn/kornshell.cpp b/korn/kornshell.cpp index 78db0b256..eb3a0253b 100644 --- a/korn/kornshell.cpp +++ b/korn/kornshell.cpp @@ -32,8 +32,8 @@ #include <tqtimer.h> -KornShell::KornShell( TQWidget * tqparent, const char * name ) - : TQWidget( tqparent, name ), +KornShell::KornShell( TQWidget * parent, const char * name ) + : TQWidget( parent, name ), _config( new KConfig( "kornrc" ) ), _box( 0 ), _configDialog( 0 ), diff --git a/korn/kornshell.h b/korn/kornshell.h index aa97c40a5..56859863f 100644 --- a/korn/kornshell.h +++ b/korn/kornshell.h @@ -33,7 +33,7 @@ class KornShell : public TQWidget { Q_OBJECT TQ_OBJECT public: - KornShell( TQWidget * tqparent = 0, const char * name = 0 ); + KornShell( TQWidget * parent = 0, const char * name = 0 ); ~KornShell(); void show(); diff --git a/korn/label.h b/korn/label.h index 86db3c427..c8d9b4852 100644 --- a/korn/label.h +++ b/korn/label.h @@ -29,7 +29,7 @@ class Label : public TQLabel { Q_OBJECT TQ_OBJECT public: - Label( TQWidget * tqparent = 0, const char * name = 0 ) : TQLabel( tqparent, name ) {} + Label( TQWidget * parent = 0, const char * name = 0 ) : TQLabel( parent, name ) {} virtual ~Label() {} protected: diff --git a/korn/maildlg.cpp b/korn/maildlg.cpp index 5ea61430f..3424e19e4 100644 --- a/korn/maildlg.cpp +++ b/korn/maildlg.cpp @@ -7,8 +7,8 @@ #include <tqprogressdialog.h> #include "maildrop.h" -KornMailDlg::KornMailDlg( TQWidget *tqparent ) - : KDialogBase( tqparent, "maildialog", true, i18n("Mail Details"), User1|Close, Close, true, KGuiItem(i18n("&Full Message"))), +KornMailDlg::KornMailDlg( TQWidget *parent ) + : KDialogBase( parent, "maildialog", true, i18n("Mail Details"), User1|Close, Close, true, KGuiItem(i18n("&Full Message"))), _progress( 0 ) { TQWidget * page = new TQWidget( this ); diff --git a/korn/maildlg.h b/korn/maildlg.h index 68f8f30e9..81917bb40 100644 --- a/korn/maildlg.h +++ b/korn/maildlg.h @@ -46,9 +46,9 @@ class KornMailDlg : public KDialogBase public: /** * KornMailDlg Constructor - * @param tqparent tqparent widget + * @param parent parent widget */ - KornMailDlg( TQWidget *tqparent=0 ); + KornMailDlg( TQWidget *parent=0 ); /** * Set the mail details to show. The mails body is transfered to the edit control diff --git a/korn/subjectsdlg.cpp b/korn/subjectsdlg.cpp index 593ea212b..43e5102dc 100644 --- a/korn/subjectsdlg.cpp +++ b/korn/subjectsdlg.cpp @@ -13,9 +13,9 @@ #include "maildlg.h" #include "progress_dialog.h" -KornSubjectsDlg::SubjectListViewItem::SubjectListViewItem( TQListView *tqparent, KornMailSubject * item) +KornSubjectsDlg::SubjectListViewItem::SubjectListViewItem( TQListView *parent, KornMailSubject * item) // set the column strings except column 2 (date) - : KListViewItem(tqparent, item->getSender(), item->getSubject(), "", KGlobal::locale()->formatNumber(item->getSize(), 0)) + : KListViewItem(parent, item->getSender(), item->getSubject(), "", KGlobal::locale()->formatNumber(item->getSize(), 0)) , _mailSubject( new KornMailSubject( *item ) ) { // convert the date according to the user settings and show it in column 2 @@ -53,8 +53,8 @@ int KornSubjectsDlg::SubjectListViewItem::compare( TQListViewItem* item, int col } } -KornSubjectsDlg::KornSubjectsDlg( TQWidget *tqparent ) - : KDialogBase( tqparent, "urldialog", true, "test", Close, Close, true), _mailDrop( new TQPtrList< KMailDrop > ), +KornSubjectsDlg::KornSubjectsDlg( TQWidget *parent ) + : KDialogBase( parent, "urldialog", true, "test", Close, Close, true), _mailDrop( new TQPtrList< KMailDrop > ), _subjects(0), _delete(0), mailDlg(0), _canDeleteMaildrop( true ) { _loadSubjectsCanceled = false; diff --git a/korn/subjectsdlg.h b/korn/subjectsdlg.h index 8201e8e6d..e7c8a985e 100644 --- a/korn/subjectsdlg.h +++ b/korn/subjectsdlg.h @@ -36,11 +36,11 @@ class KornSubjectsDlg: public KDialogBase public: /** * SubjectListViewItem Constructor - * @param tqparent list view + * @param parent list view * @param item KornMailSubject this item should represent. It is NOT deleted * if SubjectListViewItem is deleted. */ - SubjectListViewItem( TQListView *tqparent, KornMailSubject * item); + SubjectListViewItem( TQListView *parent, KornMailSubject * item); /** * SubjectListViewItem Destructor @@ -104,9 +104,9 @@ class KornSubjectsDlg: public KDialogBase public: /** * KornSubjectsDlg Constructor - * @param tqparent tqparent widget + * @param parent parent widget */ - KornSubjectsDlg( TQWidget *tqparent=0 ); + KornSubjectsDlg( TQWidget *parent=0 ); /** * This functions clears all available KMailDrop's. diff --git a/korn/systemtray.cpp b/korn/systemtray.cpp index 67a58eb0d..e7ca45f73 100644 --- a/korn/systemtray.cpp +++ b/korn/systemtray.cpp @@ -24,8 +24,8 @@ #include <tqmovie.h> -SystemTray::SystemTray( TQWidget * tqparent, const char * name ) - : KSystemTray( tqparent, name ) +SystemTray::SystemTray( TQWidget * parent, const char * name ) + : KSystemTray( parent, name ) { } diff --git a/korn/systemtray.h b/korn/systemtray.h index 54fba1a4f..3cf3fe2cc 100644 --- a/korn/systemtray.h +++ b/korn/systemtray.h @@ -35,10 +35,10 @@ class SystemTray : public KSystemTray public: /** * This contructor gives all it parameters to its parents. - * @param parant The tqparent window + * @param parant The parent window * @param name The name of the TQObject's parents. */ - SystemTray( TQWidget * tqparent = 0, const char * name = 0 ); + SystemTray( TQWidget * parent = 0, const char * name = 0 ); /** * Empty destructor; does nothing at the moment */ |