summaryrefslogtreecommitdiffstats
path: root/kaddressbook
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /kaddressbook
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook')
-rw-r--r--kaddressbook/addresseditwidget.cpp18
-rw-r--r--kaddressbook/addresseditwidget.h6
-rw-r--r--kaddressbook/addresseeeditorbase.h4
-rw-r--r--kaddressbook/addresseeeditordialog.cpp4
-rw-r--r--kaddressbook/addresseeeditordialog.h2
-rw-r--r--kaddressbook/addresseeeditorextension.cpp4
-rw-r--r--kaddressbook/addresseeeditorextension.h2
-rw-r--r--kaddressbook/addresseeeditorwidget.cpp4
-rw-r--r--kaddressbook/addresseeeditorwidget.h2
-rw-r--r--kaddressbook/addviewdialog.cpp4
-rw-r--r--kaddressbook/addviewdialog.h2
-rw-r--r--kaddressbook/advancedcustomfields.cpp4
-rw-r--r--kaddressbook/advancedcustomfields.h2
-rw-r--r--kaddressbook/contacteditorwidgetmanager.cpp4
-rw-r--r--kaddressbook/contacteditorwidgetmanager.h2
-rw-r--r--kaddressbook/customfieldswidget.cpp12
-rw-r--r--kaddressbook/customfieldswidget.h10
-rw-r--r--kaddressbook/distributionlisteditor.cpp8
-rw-r--r--kaddressbook/distributionlisteditor.h2
-rw-r--r--kaddressbook/distributionlisteditor_p.h4
-rw-r--r--kaddressbook/distributionlistentryview.cpp2
-rw-r--r--kaddressbook/distributionlistentryview.h2
-rw-r--r--kaddressbook/distributionlistpicker.cpp2
-rw-r--r--kaddressbook/distributionlistpicker.h2
-rw-r--r--kaddressbook/editors/cryptowidget.cpp4
-rw-r--r--kaddressbook/editors/cryptowidget.h6
-rw-r--r--kaddressbook/editors/imaddresswidget.cpp8
-rw-r--r--kaddressbook/editors/imaddresswidget.h4
-rw-r--r--kaddressbook/editors/imeditorwidget.cpp8
-rw-r--r--kaddressbook/editors/imeditorwidget.h4
-rw-r--r--kaddressbook/emaileditwidget.cpp12
-rw-r--r--kaddressbook/emaileditwidget.h4
-rw-r--r--kaddressbook/extensionmanager.cpp4
-rw-r--r--kaddressbook/extensionmanager.h2
-rw-r--r--kaddressbook/features/distributionlistngwidget.cpp8
-rw-r--r--kaddressbook/features/distributionlistngwidget.h4
-rw-r--r--kaddressbook/features/distributionlistwidget.cpp28
-rw-r--r--kaddressbook/features/distributionlistwidget.h8
-rw-r--r--kaddressbook/features/resourceselection.cpp16
-rw-r--r--kaddressbook/features/resourceselection.h2
-rw-r--r--kaddressbook/filtereditdialog.cpp8
-rw-r--r--kaddressbook/filtereditdialog.h4
-rw-r--r--kaddressbook/filterselectionwidget.cpp4
-rw-r--r--kaddressbook/filterselectionwidget.h2
-rw-r--r--kaddressbook/freebusywidget.cpp4
-rw-r--r--kaddressbook/freebusywidget.h6
-rw-r--r--kaddressbook/geowidget.cpp12
-rw-r--r--kaddressbook/geowidget.h10
-rw-r--r--kaddressbook/imagewidget.cpp16
-rw-r--r--kaddressbook/imagewidget.h12
-rw-r--r--kaddressbook/imeditwidget.cpp4
-rw-r--r--kaddressbook/imeditwidget.h2
-rw-r--r--kaddressbook/incsearchwidget.cpp4
-rw-r--r--kaddressbook/incsearchwidget.h2
-rw-r--r--kaddressbook/interfaces/configurewidget.cpp4
-rw-r--r--kaddressbook/interfaces/configurewidget.h2
-rw-r--r--kaddressbook/interfaces/contacteditorwidget.cpp4
-rw-r--r--kaddressbook/interfaces/contacteditorwidget.h4
-rw-r--r--kaddressbook/interfaces/core.cpp4
-rw-r--r--kaddressbook/interfaces/core.h6
-rw-r--r--kaddressbook/interfaces/extensionwidget.cpp4
-rw-r--r--kaddressbook/interfaces/extensionwidget.h4
-rw-r--r--kaddressbook/interfaces/xxport.cpp4
-rw-r--r--kaddressbook/interfaces/xxport.h10
-rw-r--r--kaddressbook/jumpbuttonbar.cpp10
-rw-r--r--kaddressbook/jumpbuttonbar.h2
-rw-r--r--kaddressbook/kabcore.cpp20
-rw-r--r--kaddressbook/kabcore.h8
-rw-r--r--kaddressbook/kaddressbook_part.cpp4
-rw-r--r--kaddressbook/kaddressbook_part.h2
-rw-r--r--kaddressbook/kaddressbookview.cpp8
-rw-r--r--kaddressbook/kaddressbookview.h10
-rw-r--r--kaddressbook/kcmconfigs/addhostdialog.cpp4
-rw-r--r--kaddressbook/kcmconfigs/addhostdialog.h2
-rw-r--r--kaddressbook/kcmconfigs/addresseewidget.cpp8
-rw-r--r--kaddressbook/kcmconfigs/addresseewidget.h4
-rw-r--r--kaddressbook/kcmconfigs/extensionconfigdialog.cpp4
-rw-r--r--kaddressbook/kcmconfigs/extensionconfigdialog.h2
-rw-r--r--kaddressbook/kcmconfigs/kabconfigwidget.cpp4
-rw-r--r--kaddressbook/kcmconfigs/kabconfigwidget.h2
-rw-r--r--kaddressbook/kcmconfigs/kcmkabconfig.cpp8
-rw-r--r--kaddressbook/kcmconfigs/kcmkabconfig.h2
-rw-r--r--kaddressbook/kcmconfigs/kcmkabcustomfields.cpp8
-rw-r--r--kaddressbook/kcmconfigs/kcmkabcustomfields.h2
-rw-r--r--kaddressbook/kcmconfigs/kcmkabldapconfig.cpp8
-rw-r--r--kaddressbook/kcmconfigs/kcmkabldapconfig.h2
-rw-r--r--kaddressbook/kcmconfigs/ldapoptionswidget.cpp8
-rw-r--r--kaddressbook/kcmconfigs/ldapoptionswidget.h2
-rw-r--r--kaddressbook/keywidget.cpp4
-rw-r--r--kaddressbook/keywidget.h2
-rw-r--r--kaddressbook/ldapsearchdialog.cpp8
-rw-r--r--kaddressbook/ldapsearchdialog.h2
-rw-r--r--kaddressbook/nameeditdialog.cpp4
-rw-r--r--kaddressbook/nameeditdialog.h2
-rw-r--r--kaddressbook/phoneeditwidget.cpp16
-rw-r--r--kaddressbook/phoneeditwidget.h8
-rw-r--r--kaddressbook/printing/detailledstyle.cpp10
-rw-r--r--kaddressbook/printing/detailledstyle.h4
-rw-r--r--kaddressbook/printing/mikesstyle.cpp8
-rw-r--r--kaddressbook/printing/mikesstyle.h4
-rw-r--r--kaddressbook/printing/printingwizard.cpp4
-rw-r--r--kaddressbook/printing/printingwizard.h2
-rw-r--r--kaddressbook/printing/printprogress.cpp4
-rw-r--r--kaddressbook/printing/printprogress.h2
-rw-r--r--kaddressbook/printing/printstyle.cpp8
-rw-r--r--kaddressbook/printing/printstyle.h4
-rw-r--r--kaddressbook/printing/selectionpage.cpp4
-rw-r--r--kaddressbook/printing/selectionpage.h2
-rw-r--r--kaddressbook/printing/stylepage.cpp4
-rw-r--r--kaddressbook/printing/stylepage.h2
-rw-r--r--kaddressbook/searchmanager.cpp4
-rw-r--r--kaddressbook/searchmanager.h2
-rw-r--r--kaddressbook/secrecywidget.cpp4
-rw-r--r--kaddressbook/secrecywidget.h2
-rw-r--r--kaddressbook/simpleaddresseeeditor.cpp4
-rw-r--r--kaddressbook/simpleaddresseeeditor.h2
-rw-r--r--kaddressbook/soundwidget.cpp4
-rw-r--r--kaddressbook/soundwidget.h6
-rw-r--r--kaddressbook/typecombo.h6
-rw-r--r--kaddressbook/viewconfigurefieldspage.cpp12
-rw-r--r--kaddressbook/viewconfigurefieldspage.h2
-rw-r--r--kaddressbook/viewconfigurefilterpage.cpp4
-rw-r--r--kaddressbook/viewconfigurefilterpage.h2
-rw-r--r--kaddressbook/viewconfigurewidget.cpp8
-rw-r--r--kaddressbook/viewconfigurewidget.h4
-rw-r--r--kaddressbook/viewmanager.cpp4
-rw-r--r--kaddressbook/viewmanager.h2
-rw-r--r--kaddressbook/views/cardview.cpp12
-rw-r--r--kaddressbook/views/cardview.h10
-rw-r--r--kaddressbook/views/colorlistbox.cpp4
-rw-r--r--kaddressbook/views/colorlistbox.h2
-rw-r--r--kaddressbook/views/configurecardviewdialog.cpp8
-rw-r--r--kaddressbook/views/configurecardviewdialog.h4
-rw-r--r--kaddressbook/views/configuretableviewdialog.cpp8
-rw-r--r--kaddressbook/views/configuretableviewdialog.h4
-rw-r--r--kaddressbook/views/contactlistview.cpp16
-rw-r--r--kaddressbook/views/contactlistview.h8
-rw-r--r--kaddressbook/views/kaddressbookcardview.cpp20
-rw-r--r--kaddressbook/views/kaddressbookcardview.h4
-rw-r--r--kaddressbook/views/kaddressbookiconview.cpp16
-rw-r--r--kaddressbook/views/kaddressbookiconview.h4
-rw-r--r--kaddressbook/views/kaddressbooktableview.cpp12
-rw-r--r--kaddressbook/views/kaddressbooktableview.h2
-rw-r--r--kaddressbook/xxport/bookmark_xxport.cpp4
-rw-r--r--kaddressbook/xxport/bookmark_xxport.h2
-rw-r--r--kaddressbook/xxport/csv_xxport.cpp4
-rw-r--r--kaddressbook/xxport/csv_xxport.h2
-rw-r--r--kaddressbook/xxport/csvimportdialog.cpp4
-rw-r--r--kaddressbook/xxport/csvimportdialog.h2
-rw-r--r--kaddressbook/xxport/eudora_xxport.cpp4
-rw-r--r--kaddressbook/xxport/eudora_xxport.h2
-rw-r--r--kaddressbook/xxport/gnokii_xxport.cpp6
-rw-r--r--kaddressbook/xxport/gnokii_xxport.h2
-rw-r--r--kaddressbook/xxport/kde2_xxport.cpp4
-rw-r--r--kaddressbook/xxport/kde2_xxport.h2
-rw-r--r--kaddressbook/xxport/ldif_xxport.cpp4
-rw-r--r--kaddressbook/xxport/ldif_xxport.h2
-rw-r--r--kaddressbook/xxport/opera_xxport.cpp4
-rw-r--r--kaddressbook/xxport/opera_xxport.h2
-rw-r--r--kaddressbook/xxport/pab_mapihd.cpp2
-rw-r--r--kaddressbook/xxport/pab_mapihd.h2
-rw-r--r--kaddressbook/xxport/pab_pablib.h2
-rw-r--r--kaddressbook/xxport/pab_xxport.cpp4
-rw-r--r--kaddressbook/xxport/pab_xxport.h2
-rw-r--r--kaddressbook/xxport/vcard_xxport.cpp16
-rw-r--r--kaddressbook/xxport/vcard_xxport.h2
-rw-r--r--kaddressbook/xxportmanager.cpp4
-rw-r--r--kaddressbook/xxportmanager.h2
-rw-r--r--kaddressbook/xxportselectdialog.cpp4
-rw-r--r--kaddressbook/xxportselectdialog.h2
170 files changed, 453 insertions, 453 deletions
diff --git a/kaddressbook/addresseditwidget.cpp b/kaddressbook/addresseditwidget.cpp
index 61b8ec90b..a23c4436b 100644
--- a/kaddressbook/addresseditwidget.cpp
+++ b/kaddressbook/addresseditwidget.cpp
@@ -57,8 +57,8 @@
class TabPressEater : public TQObject
{
public:
- TabPressEater( TQObject *tqparent )
- : TQObject( tqparent, "TabPressEater" )
+ TabPressEater( TQObject *parent )
+ : TQObject( parent, "TabPressEater" )
{
}
@@ -68,7 +68,7 @@ class TabPressEater : public TQObject
if ( event->type() == TQEvent::KeyPress ) {
TQKeyEvent *keyEvent = (TQKeyEvent*)event;
if ( keyEvent->key() == TQt::Key_Tab ) {
- TQApplication::sendEvent( tqparent(), event );
+ TQApplication::sendEvent( parent(), event );
return true;
} else
return false;
@@ -79,8 +79,8 @@ class TabPressEater : public TQObject
};
-AddressEditWidget::AddressEditWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+AddressEditWidget::AddressEditWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQBoxLayout *tqlayout = new TQVBoxLayout( this, 4, 2 );
tqlayout->setSpacing( KDialog::spacingHint() );
@@ -257,10 +257,10 @@ void AddressEditWidget::updateAddressEdit()
}
AddressEditDialog::AddressEditDialog( const KABC::Address::List &list,
- int selected, TQWidget *tqparent,
+ int selected, TQWidget *parent,
const char *name )
: KDialogBase( Plain, i18n( "street/postal", "Edit Address" ), Ok | Cancel, Ok,
- tqparent, name, true, true ),
+ parent, name, true, true ),
mPreviousAddress( 0 )
{
mAddressList = list;
@@ -599,9 +599,9 @@ void AddressEditDialog::fillCountryCombo()
}
-AddressTypeDialog::AddressTypeDialog( int type, TQWidget *tqparent )
+AddressTypeDialog::AddressTypeDialog( int type, TQWidget *parent )
: KDialogBase( Plain, i18n( "street/postal", "Edit Address Type" ), Ok | Cancel, Ok,
- tqparent, "AddressTypeDialog" )
+ parent, "AddressTypeDialog" )
{
TQWidget *page = plainPage();
TQVBoxLayout *tqlayout = new TQVBoxLayout( page );
diff --git a/kaddressbook/addresseditwidget.h b/kaddressbook/addresseditwidget.h
index 40465d373..b68583f0a 100644
--- a/kaddressbook/addresseditwidget.h
+++ b/kaddressbook/addresseditwidget.h
@@ -55,7 +55,7 @@ class AddressEditWidget : public TQWidget
TQ_OBJECT
public:
- AddressEditWidget( TQWidget *tqparent, const char *name = 0 );
+ AddressEditWidget( TQWidget *parent, const char *name = 0 );
~AddressEditWidget();
KABC::Address::List addresses();
@@ -97,7 +97,7 @@ class AddressEditDialog : public KDialogBase
public:
AddressEditDialog( const KABC::Address::List &list, int selected,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
~AddressEditDialog();
KABC::Address::List addresses();
@@ -142,7 +142,7 @@ class AddressEditDialog : public KDialogBase
class AddressTypeDialog : public KDialogBase
{
public:
- AddressTypeDialog( int type, TQWidget *tqparent );
+ AddressTypeDialog( int type, TQWidget *parent );
~AddressTypeDialog();
int type() const;
diff --git a/kaddressbook/addresseeeditorbase.h b/kaddressbook/addresseeeditorbase.h
index 3dc670b4f..3dc9749f7 100644
--- a/kaddressbook/addresseeeditorbase.h
+++ b/kaddressbook/addresseeeditorbase.h
@@ -34,8 +34,8 @@ class AddresseeEditorBase : public TQWidget
TQ_OBJECT
public:
- AddresseeEditorBase( TQWidget *tqparent, const char *name = 0 )
- : TQWidget( tqparent, name )
+ AddresseeEditorBase( TQWidget *parent, const char *name = 0 )
+ : TQWidget( parent, name )
{
}
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp
index 7b1276c83..a742c3f76 100644
--- a/kaddressbook/addresseeeditordialog.cpp
+++ b/kaddressbook/addresseeeditordialog.cpp
@@ -35,10 +35,10 @@
#include "addresseeeditordialog.h"
AddresseeEditorDialog::AddresseeEditorDialog( KAB::Core *core,
- TQWidget *tqparent, const char *name )
+ TQWidget *parent, const char *name )
: KDialogBase( KDialogBase::Plain, i18n( "Edit Contact" ),
KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::Apply,
- KDialogBase::Ok, tqparent, name, false )
+ KDialogBase::Ok, parent, name, false )
{
// Set this to be the group leader for all subdialogs - this means
// modal subdialogs will only affect this dialog, not the other windows
diff --git a/kaddressbook/addresseeeditordialog.h b/kaddressbook/addresseeeditordialog.h
index 7d0258e97..eedb3ae4f 100644
--- a/kaddressbook/addresseeeditordialog.h
+++ b/kaddressbook/addresseeeditordialog.h
@@ -39,7 +39,7 @@ class AddresseeEditorDialog : public KDialogBase
public:
AddresseeEditorDialog( KAB::Core *core,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
~AddresseeEditorDialog();
void setAddressee( const KABC::Addressee& );
diff --git a/kaddressbook/addresseeeditorextension.cpp b/kaddressbook/addresseeeditorextension.cpp
index 61ba5c18e..72e119d9a 100644
--- a/kaddressbook/addresseeeditorextension.cpp
+++ b/kaddressbook/addresseeeditorextension.cpp
@@ -33,8 +33,8 @@
#include "addresseeeditorextension.h"
-AddresseeEditorExtension::AddresseeEditorExtension( KAB::Core *core, TQWidget *tqparent, const char *name )
- : KAB::ExtensionWidget( core, tqparent, name )
+AddresseeEditorExtension::AddresseeEditorExtension( KAB::Core *core, TQWidget *parent, const char *name )
+ : KAB::ExtensionWidget( core, parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
diff --git a/kaddressbook/addresseeeditorextension.h b/kaddressbook/addresseeeditorextension.h
index 0c1a735b0..b54ef86a2 100644
--- a/kaddressbook/addresseeeditorextension.h
+++ b/kaddressbook/addresseeeditorextension.h
@@ -33,7 +33,7 @@ class AddresseeEditorExtension : public KAB::ExtensionWidget
TQ_OBJECT
public:
- AddresseeEditorExtension( KAB::Core *core, TQWidget *tqparent, const char *name = 0 );
+ AddresseeEditorExtension( KAB::Core *core, TQWidget *parent, const char *name = 0 );
~AddresseeEditorExtension();
/**
diff --git a/kaddressbook/addresseeeditorwidget.cpp b/kaddressbook/addresseeeditorwidget.cpp
index da551648d..6892f909b 100644
--- a/kaddressbook/addresseeeditorwidget.cpp
+++ b/kaddressbook/addresseeeditorwidget.cpp
@@ -67,8 +67,8 @@
#include "addresseeeditorwidget.h"
-AddresseeEditorWidget::AddresseeEditorWidget( TQWidget *tqparent, const char *name )
- : AddresseeEditorBase( tqparent, name ),
+AddresseeEditorWidget::AddresseeEditorWidget( TQWidget *parent, const char *name )
+ : AddresseeEditorBase( parent, name ),
mBlockSignals( false ), mReadOnly( false )
{
kdDebug(5720) << "AddresseeEditorWidget()" << endl;
diff --git a/kaddressbook/addresseeeditorwidget.h b/kaddressbook/addresseeeditorwidget.h
index 3e04dcd7b..56a98adb5 100644
--- a/kaddressbook/addresseeeditorwidget.h
+++ b/kaddressbook/addresseeeditorwidget.h
@@ -69,7 +69,7 @@ class AddresseeEditorWidget : public AddresseeEditorBase
TQ_OBJECT
public:
- AddresseeEditorWidget( TQWidget *tqparent, const char *name = 0 );
+ AddresseeEditorWidget( TQWidget *parent, const char *name = 0 );
~AddresseeEditorWidget();
void setAddressee( const KABC::Addressee& );
diff --git a/kaddressbook/addviewdialog.cpp b/kaddressbook/addviewdialog.cpp
index 15bfe7a00..d63a33fab 100644
--- a/kaddressbook/addviewdialog.cpp
+++ b/kaddressbook/addviewdialog.cpp
@@ -34,10 +34,10 @@
#include "addviewdialog.h"
AddViewDialog::AddViewDialog( TQDict<ViewFactory> *viewFactoryDict,
- TQWidget *tqparent, const char *name )
+ TQWidget *parent, const char *name )
: KDialogBase( KDialogBase::Plain, i18n( "Add View" ),
KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok,
- tqparent, name ),
+ parent, name ),
mViewFactoryDict( viewFactoryDict )
{
mTypeId = 0;
diff --git a/kaddressbook/addviewdialog.h b/kaddressbook/addviewdialog.h
index 6e1fcd446..27a91682b 100644
--- a/kaddressbook/addviewdialog.h
+++ b/kaddressbook/addviewdialog.h
@@ -44,7 +44,7 @@ class AddViewDialog : public KDialogBase
TQ_OBJECT
public:
- AddViewDialog( TQDict<ViewFactory> *viewFactoryDict, TQWidget *tqparent,
+ AddViewDialog( TQDict<ViewFactory> *viewFactoryDict, TQWidget *parent,
const char *name = 0 );
~AddViewDialog();
diff --git a/kaddressbook/advancedcustomfields.cpp b/kaddressbook/advancedcustomfields.cpp
index 3606fdac3..ee3c179f1 100644
--- a/kaddressbook/advancedcustomfields.cpp
+++ b/kaddressbook/advancedcustomfields.cpp
@@ -85,8 +85,8 @@ class KABCStorage : public KPIM::DesignerFields::Storage
AdvancedCustomFields::AdvancedCustomFields( const TQString &uiFile, KABC::AddressBook *ab,
- TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name )
+ TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name )
{
initGUI( uiFile );
}
diff --git a/kaddressbook/advancedcustomfields.h b/kaddressbook/advancedcustomfields.h
index fd00b58e1..ea184f9b8 100644
--- a/kaddressbook/advancedcustomfields.h
+++ b/kaddressbook/advancedcustomfields.h
@@ -43,7 +43,7 @@ class AdvancedCustomFields : public KAB::ContactEditorWidget
public:
AdvancedCustomFields( const TQString &uiFile, KABC::AddressBook *ab,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
void loadContact( KABC::Addressee *addr );
void storeContact( KABC::Addressee *addr );
diff --git a/kaddressbook/contacteditorwidgetmanager.cpp b/kaddressbook/contacteditorwidgetmanager.cpp
index e0afc9d6a..1e3677c55 100644
--- a/kaddressbook/contacteditorwidgetmanager.cpp
+++ b/kaddressbook/contacteditorwidgetmanager.cpp
@@ -107,8 +107,8 @@ void ContactEditorWidgetManager::reload()
///////////////////////////////////////////////////////////////////////////////
-ContactEditorTabPage::ContactEditorTabPage( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+ContactEditorTabPage::ContactEditorTabPage( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
mLayout = new TQGridLayout( this, 0, 2, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/contacteditorwidgetmanager.h b/kaddressbook/contacteditorwidgetmanager.h
index ae9c69b93..5c7ff9fb1 100644
--- a/kaddressbook/contacteditorwidgetmanager.h
+++ b/kaddressbook/contacteditorwidgetmanager.h
@@ -70,7 +70,7 @@ class ContactEditorTabPage : public TQWidget
TQ_OBJECT
public:
- ContactEditorTabPage( TQWidget *tqparent, const char *name = 0 );
+ ContactEditorTabPage( TQWidget *parent, const char *name = 0 );
/**
Adds a widget to the tab.
diff --git a/kaddressbook/customfieldswidget.cpp b/kaddressbook/customfieldswidget.cpp
index d78c48c61..1466e9900 100644
--- a/kaddressbook/customfieldswidget.cpp
+++ b/kaddressbook/customfieldswidget.cpp
@@ -42,9 +42,9 @@
#include "customfieldswidget.h"
-AddFieldDialog::AddFieldDialog( TQWidget *tqparent, const char *name )
+AddFieldDialog::AddFieldDialog( TQWidget *parent, const char *name )
: KDialogBase( Plain, i18n( "Add Field" ), Ok | Cancel,
- Ok, tqparent, name, true, true )
+ Ok, parent, name, true, true )
{
TQWidget *page = plainPage();
@@ -121,8 +121,8 @@ void AddFieldDialog::nameChanged( const TQString &name )
enableButton( Ok, !name.isEmpty() );
}
-FieldWidget::FieldWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+FieldWidget::FieldWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
@@ -377,8 +377,8 @@ void FieldWidget::recalculateLayout()
}
CustomFieldsWidget::CustomFieldsWidget( KABC::AddressBook *ab,
- TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name )
+ TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name )
{
initGUI();
diff --git a/kaddressbook/customfieldswidget.h b/kaddressbook/customfieldswidget.h
index c1dc6b8c8..07c5812e1 100644
--- a/kaddressbook/customfieldswidget.h
+++ b/kaddressbook/customfieldswidget.h
@@ -64,7 +64,7 @@ class AddFieldDialog : public KDialogBase
TQ_OBJECT
public:
- AddFieldDialog( TQWidget *tqparent, const char *name = 0 );
+ AddFieldDialog( TQWidget *parent, const char *name = 0 );
TQString title() const;
TQString identifier() const;
@@ -89,7 +89,7 @@ class FieldWidget : public TQWidget
TQ_OBJECT
public:
- FieldWidget( TQWidget *tqparent, const char *name = 0 );
+ FieldWidget( TQWidget *parent, const char *name = 0 );
void addField( const TQString &identifier, const TQString &title,
const TQString &type, bool isGlobal );
@@ -124,7 +124,7 @@ class CustomFieldsWidget : public KAB::ContactEditorWidget
TQ_OBJECT
public:
- CustomFieldsWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ CustomFieldsWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
void loadContact( KABC::Addressee *addr );
void storeContact( KABC::Addressee *addr );
@@ -151,9 +151,9 @@ class CustomFieldsWidget : public KAB::ContactEditorWidget
class CustomFieldsWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
- return new CustomFieldsWidget( ab, tqparent, name );
+ return new CustomFieldsWidget( ab, parent, name );
}
TQString pageTitle() const { return i18n( "Custom Fields" ); }
diff --git a/kaddressbook/distributionlisteditor.cpp b/kaddressbook/distributionlisteditor.cpp
index 2c6d39c95..b206e886d 100644
--- a/kaddressbook/distributionlisteditor.cpp
+++ b/kaddressbook/distributionlisteditor.cpp
@@ -64,7 +64,7 @@ public:
};
-KPIM::DistributionListEditor::Line::Line( KABC::AddressBook* book, TQWidget* tqparent ) : TQWidget( tqparent ), m_addressBook( book )
+KPIM::DistributionListEditor::Line::Line( KABC::AddressBook* book, TQWidget* parent ) : TQWidget( parent ), m_addressBook( book )
{
Q_ASSERT( m_addressBook );
TQBoxLayout* tqlayout = new TQHBoxLayout( this );
@@ -147,14 +147,14 @@ KPIM::DistributionList::Entry KPIM::DistributionListEditor::Line::entry() const
}
-KPIM::DistributionListEditor::LineEdit::LineEdit( TQWidget* tqparent ) : KPIM::AddresseeLineEdit( tqparent )
+KPIM::DistributionListEditor::LineEdit::LineEdit( TQWidget* parent ) : KPIM::AddresseeLineEdit( parent )
{
allowDistributionLists( false );
}
-KPIM::DistributionListEditor::EditorWidget::EditorWidget( KABC::AddressBook* book, TQWidget* tqparent )
- : KDialogBase( tqparent, /*name=*/0, /*modal=*/ true, /*caption=*/TQString(), KDialogBase::Ok|KDialogBase::Cancel ), d( new DistributionListEditor::EditorWidgetPrivate )
+KPIM::DistributionListEditor::EditorWidget::EditorWidget( KABC::AddressBook* book, TQWidget* parent )
+ : KDialogBase( parent, /*name=*/0, /*modal=*/ true, /*caption=*/TQString(), KDialogBase::Ok|KDialogBase::Cancel ), d( new DistributionListEditor::EditorWidgetPrivate )
{
d->addressBook = book;
Q_ASSERT( d->addressBook );
diff --git a/kaddressbook/distributionlisteditor.h b/kaddressbook/distributionlisteditor.h
index 448221ce4..6cbe9310a 100644
--- a/kaddressbook/distributionlisteditor.h
+++ b/kaddressbook/distributionlisteditor.h
@@ -41,7 +41,7 @@ class EditorWidget : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- explicit EditorWidget( KABC::AddressBook* book, TQWidget* tqparent = 0 );
+ explicit EditorWidget( KABC::AddressBook* book, TQWidget* parent = 0 );
~EditorWidget();
void setDistributionList( const KPIM::DistributionList& list );
diff --git a/kaddressbook/distributionlisteditor_p.h b/kaddressbook/distributionlisteditor_p.h
index e4754e5a9..8be9aadce 100644
--- a/kaddressbook/distributionlisteditor_p.h
+++ b/kaddressbook/distributionlisteditor_p.h
@@ -44,7 +44,7 @@ class LineEdit : public KPIM::AddresseeLineEdit
Q_OBJECT
TQ_OBJECT
public:
- explicit LineEdit( TQWidget* tqparent = 0 );
+ explicit LineEdit( TQWidget* parent = 0 );
};
@@ -53,7 +53,7 @@ class Line : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- explicit Line( KABC::AddressBook* book, TQWidget* tqparent = 0 );
+ explicit Line( KABC::AddressBook* book, TQWidget* parent = 0 );
void setEntry( const KPIM::DistributionList::Entry& entry );
KPIM::DistributionList::Entry entry() const;
diff --git a/kaddressbook/distributionlistentryview.cpp b/kaddressbook/distributionlistentryview.cpp
index 7b515782f..030f58197 100644
--- a/kaddressbook/distributionlistentryview.cpp
+++ b/kaddressbook/distributionlistentryview.cpp
@@ -20,7 +20,7 @@
#include <tqstringlist.h>
#include <tqvbuttongroup.h>
-KAB::DistributionListEntryView::DistributionListEntryView( KAB::Core* core, TQWidget* tqparent ) : TQWidget( tqparent ), m_core( core ), m_emailGroup( 0 )
+KAB::DistributionListEntryView::DistributionListEntryView( KAB::Core* core, TQWidget* parent ) : TQWidget( parent ), m_core( core ), m_emailGroup( 0 )
{
m_mainLayout = new TQVBoxLayout( this );
m_mainLayout->setSpacing( KDialog::spacingHint() );
diff --git a/kaddressbook/distributionlistentryview.h b/kaddressbook/distributionlistentryview.h
index 3eba6efa8..e8a58146d 100644
--- a/kaddressbook/distributionlistentryview.h
+++ b/kaddressbook/distributionlistentryview.h
@@ -27,7 +27,7 @@ class DistributionListEntryView : public TQWidget
TQ_OBJECT
public:
- explicit DistributionListEntryView( KAB::Core* core, TQWidget* tqparent = 0 );
+ explicit DistributionListEntryView( KAB::Core* core, TQWidget* parent = 0 );
void setEntry( const KPIM::DistributionList& list, const KPIM::DistributionList::Entry& entry );
public slots:
diff --git a/kaddressbook/distributionlistpicker.cpp b/kaddressbook/distributionlistpicker.cpp
index 9b4d3f727..c721ae6f5 100644
--- a/kaddressbook/distributionlistpicker.cpp
+++ b/kaddressbook/distributionlistpicker.cpp
@@ -41,7 +41,7 @@
#include <tqregexp.h>
#include <tqvalidator.h>
-KPIM::DistributionListPickerDialog::DistributionListPickerDialog( KABC::AddressBook* book, TQWidget* tqparent ) : KDialogBase( tqparent, 0, true, TQString(), Ok | Cancel | User1 ), m_book( book )
+KPIM::DistributionListPickerDialog::DistributionListPickerDialog( KABC::AddressBook* book, TQWidget* parent ) : KDialogBase( parent, 0, true, TQString(), Ok | Cancel | User1 ), m_book( book )
{
Q_ASSERT( m_book );
setModal( true );
diff --git a/kaddressbook/distributionlistpicker.h b/kaddressbook/distributionlistpicker.h
index 9d7d23faf..22e814f4c 100644
--- a/kaddressbook/distributionlistpicker.h
+++ b/kaddressbook/distributionlistpicker.h
@@ -40,7 +40,7 @@ class DistributionListPickerDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- explicit DistributionListPickerDialog( KABC::AddressBook* book, TQWidget* tqparent = 0 );
+ explicit DistributionListPickerDialog( KABC::AddressBook* book, TQWidget* parent = 0 );
TQString selectedDistributionList() const;
void setLabelText( const TQString& text );
diff --git a/kaddressbook/editors/cryptowidget.cpp b/kaddressbook/editors/cryptowidget.cpp
index a4d8b8bb0..89d41ab35 100644
--- a/kaddressbook/editors/cryptowidget.cpp
+++ b/kaddressbook/editors/cryptowidget.cpp
@@ -68,8 +68,8 @@ TQString CryptoWidgetFactory::pageIdentifier() const
return "crypto";
}
-CryptoWidget::CryptoWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name ), mReadOnly( false )
+CryptoWidget::CryptoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name ), mReadOnly( false )
{
TQGridLayout *topLayout = new TQGridLayout( this, 2, 5, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/editors/cryptowidget.h b/kaddressbook/editors/cryptowidget.h
index 12f3ba992..4fda99d5a 100644
--- a/kaddressbook/editors/cryptowidget.h
+++ b/kaddressbook/editors/cryptowidget.h
@@ -39,7 +39,7 @@ class CryptoWidget : public KAB::ContactEditorWidget
TQ_OBJECT
public:
- CryptoWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ CryptoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~CryptoWidget();
void loadContact( KABC::Addressee *addr );
@@ -60,9 +60,9 @@ class CryptoWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
CryptoWidgetFactory();
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
- return new CryptoWidget( ab, tqparent, name );
+ return new CryptoWidget( ab, parent, name );
}
TQString pageTitle() const;
diff --git a/kaddressbook/editors/imaddresswidget.cpp b/kaddressbook/editors/imaddresswidget.cpp
index 1d64c5b98..4b3516ea1 100644
--- a/kaddressbook/editors/imaddresswidget.cpp
+++ b/kaddressbook/editors/imaddresswidget.cpp
@@ -33,18 +33,18 @@
#include "imaddresswidget.h"
-IMAddressWidget::IMAddressWidget( TQWidget *tqparent, TQValueList<KPluginInfo *> protocols )
- : IMAddressBase( tqparent )
+IMAddressWidget::IMAddressWidget( TQWidget *parent, TQValueList<KPluginInfo *> protocols )
+ : IMAddressBase( parent )
{
mProtocols = protocols;
populateProtocols();
init();
}
-IMAddressWidget::IMAddressWidget( TQWidget *tqparent, TQValueList<KPluginInfo *> protocols,
+IMAddressWidget::IMAddressWidget( TQWidget *parent, TQValueList<KPluginInfo *> protocols,
KPluginInfo *protocol, const TQString& address,
const IMContext& context )
- : IMAddressBase( tqparent )
+ : IMAddressBase( parent )
{
Q_UNUSED( context );
diff --git a/kaddressbook/editors/imaddresswidget.h b/kaddressbook/editors/imaddresswidget.h
index 3cec21cfd..5ac2a1960 100644
--- a/kaddressbook/editors/imaddresswidget.h
+++ b/kaddressbook/editors/imaddresswidget.h
@@ -45,8 +45,8 @@ class IMAddressWidget : public IMAddressBase
TQ_OBJECT
public:
- IMAddressWidget( TQWidget *tqparent, TQValueList<KPluginInfo *> protocols);
- IMAddressWidget( TQWidget *tqparent, TQValueList<KPluginInfo *> protocols,
+ IMAddressWidget( TQWidget *parent, TQValueList<KPluginInfo *> protocols);
+ IMAddressWidget( TQWidget *parent, TQValueList<KPluginInfo *> protocols,
KPluginInfo *protocol, const TQString& address,
const IMContext& context = Any );
diff --git a/kaddressbook/editors/imeditorwidget.cpp b/kaddressbook/editors/imeditorwidget.cpp
index 0c4717b95..533b7d4b7 100644
--- a/kaddressbook/editors/imeditorwidget.cpp
+++ b/kaddressbook/editors/imeditorwidget.cpp
@@ -43,9 +43,9 @@
#include "imeditorwidget.h"
-IMAddressLVI::IMAddressLVI( KListView *tqparent, KPluginInfo *protocol,
+IMAddressLVI::IMAddressLVI( KListView *parent, KPluginInfo *protocol,
const TQString &address, const IMContext &context )
- : KListViewItem( tqparent )
+ : KListViewItem( parent )
{
setProtocol( protocol );
setAddress( address );
@@ -140,8 +140,8 @@ void IMAddressLVI::activate()
/*===========================================================================*/
-IMEditorWidget::IMEditorWidget( TQWidget *tqparent, const TQString &preferredIM, const char *name )
- : KDialogBase( tqparent, name, false, i18n( "Edit Instant Messenging Address" ),
+IMEditorWidget::IMEditorWidget( TQWidget *parent, const TQString &preferredIM, const char *name )
+ : KDialogBase( parent, name, false, i18n( "Edit Instant Messenging Address" ),
Help | Ok | Cancel, Ok, false ),
mReadOnly( false )
{
diff --git a/kaddressbook/editors/imeditorwidget.h b/kaddressbook/editors/imeditorwidget.h
index f1f2708db..3c9b85cee 100644
--- a/kaddressbook/editors/imeditorwidget.h
+++ b/kaddressbook/editors/imeditorwidget.h
@@ -52,7 +52,7 @@ class IMEditorWidget : public KDialogBase
TQ_OBJECT
public:
- IMEditorWidget( TQWidget *tqparent, const TQString &preferredIM, const char *name = 0 );
+ IMEditorWidget( TQWidget *parent, const TQString &preferredIM, const char *name = 0 );
~IMEditorWidget() {};
void loadContact( KABC::Addressee *addr );
@@ -100,7 +100,7 @@ class IMEditorWidget : public KDialogBase
class IMAddressLVI : public KListViewItem
{
public:
- IMAddressLVI( KListView *tqparent, KPluginInfo * protocol,
+ IMAddressLVI( KListView *parent, KPluginInfo * protocol,
const TQString &address, const IMContext &context = Any );
void setAddress( const TQString &address );
diff --git a/kaddressbook/emaileditwidget.cpp b/kaddressbook/emaileditwidget.cpp
index 75677a698..4ecee68a1 100644
--- a/kaddressbook/emaileditwidget.cpp
+++ b/kaddressbook/emaileditwidget.cpp
@@ -58,8 +58,8 @@ class EmailValidator : public TQRegExpValidator
class EmailItem : public TQListBoxText
{
public:
- EmailItem( TQListBox *tqparent, const TQString &text, bool preferred )
- : TQListBoxText( tqparent, text ), mPreferred( preferred )
+ EmailItem( TQListBox *parent, const TQString &text, bool preferred )
+ : TQListBoxText( parent, text ), mPreferred( preferred )
{}
void setPreferred( bool preferred ) { mPreferred = preferred; }
@@ -86,8 +86,8 @@ class EmailItem : public TQListBoxText
bool mPreferred;
};
-EmailEditWidget::EmailEditWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+EmailEditWidget::EmailEditWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQGridLayout *topLayout = new TQGridLayout( this, 2, 2, KDialog::marginHint(),
KDialog::spacingHint() );
@@ -171,11 +171,11 @@ void EmailEditWidget::textChanged( const TQString &text )
}
-EmailEditDialog::EmailEditDialog( const TQStringList &list, TQWidget *tqparent,
+EmailEditDialog::EmailEditDialog( const TQStringList &list, TQWidget *parent,
const char *name )
: KDialogBase( KDialogBase::Plain, i18n( "Edit Email Addresses" ),
KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Help,
- tqparent, name, true )
+ parent, name, true )
{
TQWidget *page = plainPage();
diff --git a/kaddressbook/emaileditwidget.h b/kaddressbook/emaileditwidget.h
index c73308f0b..3f26bd9e3 100644
--- a/kaddressbook/emaileditwidget.h
+++ b/kaddressbook/emaileditwidget.h
@@ -47,7 +47,7 @@ class EmailEditWidget : public TQWidget
TQ_OBJECT
public:
- EmailEditWidget( TQWidget *tqparent, const char *name = 0 );
+ EmailEditWidget( TQWidget *parent, const char *name = 0 );
~EmailEditWidget();
void setEmails( const TQStringList &list );
@@ -74,7 +74,7 @@ class EmailEditDialog : public KDialogBase
TQ_OBJECT
public:
- EmailEditDialog( const TQStringList &list, TQWidget *tqparent,
+ EmailEditDialog( const TQStringList &list, TQWidget *parent,
const char *name = 0 );
~EmailEditDialog();
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp
index 77f53a976..6e854ebca 100644
--- a/kaddressbook/extensionmanager.cpp
+++ b/kaddressbook/extensionmanager.cpp
@@ -44,9 +44,9 @@ ExtensionData::ExtensionData() : action( 0 ), widget( 0 ), weight( 0 ), isDetail
{
}
-ExtensionManager::ExtensionManager( TQWidget* extensionBar, TQWidgetStack* detailsStack, KAB::Core *core, TQObject *tqparent,
+ExtensionManager::ExtensionManager( TQWidget* extensionBar, TQWidgetStack* detailsStack, KAB::Core *core, TQObject *parent,
const char *name )
- : TQObject( tqparent, name ), mExtensionBar( extensionBar ), mCore( core ),
+ : TQObject( parent, name ), mExtensionBar( extensionBar ), mCore( core ),
mMapper( 0 ), mDetailsStack( detailsStack ), mActiveDetailsWidget( 0 )
{
Q_ASSERT( mExtensionBar );
diff --git a/kaddressbook/extensionmanager.h b/kaddressbook/extensionmanager.h
index 5c5a14c4d..f0af5ecce 100644
--- a/kaddressbook/extensionmanager.h
+++ b/kaddressbook/extensionmanager.h
@@ -59,7 +59,7 @@ class ExtensionManager : public TQObject
TQ_OBJECT
public:
- ExtensionManager( TQWidget *extensionBar, TQWidgetStack *detailsStack, KAB::Core *core, TQObject *tqparent, const char *name = 0 );
+ ExtensionManager( TQWidget *extensionBar, TQWidgetStack *detailsStack, KAB::Core *core, TQObject *parent, const char *name = 0 );
~ExtensionManager();
/**
diff --git a/kaddressbook/features/distributionlistngwidget.cpp b/kaddressbook/features/distributionlistngwidget.cpp
index 1eac56b08..5a828ad1a 100644
--- a/kaddressbook/features/distributionlistngwidget.cpp
+++ b/kaddressbook/features/distributionlistngwidget.cpp
@@ -44,7 +44,7 @@
#include <tqpushbutton.h>
#include <tqtooltip.h>
-KAB::DistributionListNg::ListBox::ListBox( TQWidget* tqparent ) : KListBox( tqparent )
+KAB::DistributionListNg::ListBox::ListBox( TQWidget* parent ) : KListBox( parent )
{
setAcceptDrops( true );
}
@@ -84,9 +84,9 @@ namespace DistributionListNg {
class Factory : public KAB::ExtensionFactory
{
public:
- KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *tqparent, const char *name )
+ KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *parent, const char *name )
{
- return new KAB::DistributionListNg::MainWidget( core, tqparent, name );
+ return new KAB::DistributionListNg::MainWidget( core, parent, name );
}
TQString identifier() const
@@ -115,7 +115,7 @@ TQString KAB::DistributionListNg::MainWidget::identifier() const
return "distribution_list_editor_ng";
}
-KAB::DistributionListNg::MainWidget::MainWidget( KAB::Core *core, TQWidget *tqparent, const char *name ) : KAB::ExtensionWidget( core, tqparent, name )
+KAB::DistributionListNg::MainWidget::MainWidget( KAB::Core *core, TQWidget *parent, const char *name ) : KAB::ExtensionWidget( core, parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
tqlayout->setSpacing( KDialog::spacingHint() );
diff --git a/kaddressbook/features/distributionlistngwidget.h b/kaddressbook/features/distributionlistngwidget.h
index 090fe0d50..aa6b9ddc0 100644
--- a/kaddressbook/features/distributionlistngwidget.h
+++ b/kaddressbook/features/distributionlistngwidget.h
@@ -49,7 +49,7 @@ class ListBox : public KListBox
Q_OBJECT
TQ_OBJECT
public:
- ListBox( TQWidget* tqparent = 0 );
+ ListBox( TQWidget* parent = 0 );
signals:
@@ -70,7 +70,7 @@ class MainWidget : public KAB::ExtensionWidget
TQ_OBJECT
public:
- explicit MainWidget( KAB::Core *core, TQWidget *tqparent = 0, const char *name = 0 );
+ explicit MainWidget( KAB::Core *core, TQWidget *parent = 0, const char *name = 0 );
//impl
TQString title() const;
diff --git a/kaddressbook/features/distributionlistwidget.cpp b/kaddressbook/features/distributionlistwidget.cpp
index fc8af3abd..9001311d7 100644
--- a/kaddressbook/features/distributionlistwidget.cpp
+++ b/kaddressbook/features/distributionlistwidget.cpp
@@ -55,9 +55,9 @@ typedef KABC::DistributionList DistributionList;
class DistributionListFactory : public KAB::ExtensionFactory
{
public:
- KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *tqparent, const char *name )
+ KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *parent, const char *name )
{
- return new DistributionListWidget( core, tqparent, name );
+ return new DistributionListWidget( core, parent, name );
}
TQString identifier() const
@@ -81,8 +81,8 @@ extern "C" {
class DeletePressedCatcher : public TQObject
{
public:
- DeletePressedCatcher( DistributionListWidget *tqparent )
- : TQObject( tqparent, "DeletePressedCatcher" ), mWidget( tqparent )
+ DeletePressedCatcher( DistributionListWidget *parent )
+ : TQObject( parent, "DeletePressedCatcher" ), mWidget( parent )
{
}
@@ -109,9 +109,9 @@ class DeletePressedCatcher : public TQObject
class ContactItem : public TQListViewItem
{
public:
- ContactItem( DistributionListView *tqparent, const KABC::Addressee &addressee,
+ ContactItem( DistributionListView *parent, const KABC::Addressee &addressee,
const TQString &email = TQString() ) :
- TQListViewItem( tqparent ),
+ TQListViewItem( parent ),
mAddressee( addressee ),
mEmail( email )
{
@@ -146,9 +146,9 @@ class ContactItem : public TQListViewItem
TQString mEmail;
};
-DistributionListWidget::DistributionListWidget( KAB::Core *core, TQWidget *tqparent,
+DistributionListWidget::DistributionListWidget( KAB::Core *core, TQWidget *parent,
const char *name )
- : KAB::ExtensionWidget( core, tqparent, name )
+ : KAB::ExtensionWidget( core, parent, name )
#ifndef KDEPIM_NEW_DISTRLISTS
, mManager( 0 )
#endif
@@ -590,8 +590,8 @@ void DistributionListWidget::changed()
}
#endif
-DistributionListView::DistributionListView( TQWidget *tqparent, const char* name )
- : KListView( tqparent, name )
+DistributionListView::DistributionListView( TQWidget *parent, const char* name )
+ : KListView( parent, name )
{
setDragEnabled( true );
setAcceptDrops( true );
@@ -622,9 +622,9 @@ void DistributionListView::dropEvent( TQDropEvent *e )
EmailSelector::EmailSelector( const TQStringList &emails,
- const TQString &current, TQWidget *tqparent )
+ const TQString &current, TQWidget *parent )
: KDialogBase( KDialogBase::Plain, i18n("Select Email Address"), Ok|Cancel, Ok,
- tqparent )
+ parent )
{
TQFrame *topFrame = plainPage();
TQBoxLayout *topLayout = new TQVBoxLayout( topFrame );
@@ -657,9 +657,9 @@ TQString EmailSelector::selected() const
}
TQString EmailSelector::getEmail( const TQStringList &emails,
- const TQString &current, TQWidget *tqparent, bool &canceled )
+ const TQString &current, TQWidget *parent, bool &canceled )
{
- EmailSelector dlg( emails, current, tqparent );
+ EmailSelector dlg( emails, current, parent );
if(dlg.exec())
{
canceled = false;
diff --git a/kaddressbook/features/distributionlistwidget.h b/kaddressbook/features/distributionlistwidget.h
index 6890a6a72..7729b50d4 100644
--- a/kaddressbook/features/distributionlistwidget.h
+++ b/kaddressbook/features/distributionlistwidget.h
@@ -51,7 +51,7 @@ class DistributionListWidget : public KAB::ExtensionWidget
TQ_OBJECT
public:
- DistributionListWidget( KAB::Core*, TQWidget *tqparent, const char *name = 0 );
+ DistributionListWidget( KAB::Core*, TQWidget *parent, const char *name = 0 );
virtual ~DistributionListWidget();
void contactsSelectionChanged();
@@ -111,7 +111,7 @@ class DistributionListView : public KListView
TQ_OBJECT
public:
- DistributionListView( TQWidget *tqparent, const char* name = 0 );
+ DistributionListView( TQWidget *parent, const char* name = 0 );
protected:
void dragEnterEvent( TQDragEnterEvent *e );
@@ -127,12 +127,12 @@ class EmailSelector : public KDialogBase
{
public:
EmailSelector( const TQStringList &emails, const TQString &current,
- TQWidget *tqparent );
+ TQWidget *parent );
TQString selected() const;
static TQString getEmail( const TQStringList &emails, const TQString &current,
- TQWidget *tqparent, bool &canceled );
+ TQWidget *parent, bool &canceled );
private:
TQButtonGroup *mButtonGroup;
diff --git a/kaddressbook/features/resourceselection.cpp b/kaddressbook/features/resourceselection.cpp
index 0629052ab..6578b6e1e 100644
--- a/kaddressbook/features/resourceselection.cpp
+++ b/kaddressbook/features/resourceselection.cpp
@@ -57,8 +57,8 @@ class AddressBookWrapper : public KABC::AddressBook
class ResourceItem : public TQCheckListItem
{
public:
- ResourceItem( KListView *tqparent, KABC::Resource *resource )
- : TQCheckListItem( tqparent, resource->resourceName(), CheckBox ),
+ ResourceItem( KListView *parent, KABC::Resource *resource )
+ : TQCheckListItem( parent, resource->resourceName(), CheckBox ),
mResource( resource ), mChecked( false ),
mIsSubresource( false ), mSubItemsCreated( false ),
mResourceIdentifier()
@@ -68,9 +68,9 @@ class ResourceItem : public TQCheckListItem
mChecked = isOn();
}
- ResourceItem( KPIM::ResourceABC *resourceABC, ResourceItem* tqparent,
+ ResourceItem( KPIM::ResourceABC *resourceABC, ResourceItem* parent,
const TQString& resourceIdent )
- : TQCheckListItem( tqparent, resourceABC->subresourceLabel( resourceIdent ), CheckBox ),
+ : TQCheckListItem( parent, resourceABC->subresourceLabel( resourceIdent ), CheckBox ),
mResource( resourceABC ), mChecked( false ),
mIsSubresource( true ), mSubItemsCreated( false ),
mResourceIdentifier( resourceIdent )
@@ -134,8 +134,8 @@ void ResourceItem::stateChange( bool active )
////
-ResourceSelection::ResourceSelection( KAB::Core *core, TQWidget *tqparent, const char *name )
- : KAB::ExtensionWidget( core, tqparent, name ), mManager( 0 )
+ResourceSelection::ResourceSelection( KAB::Core *core, TQWidget *parent, const char *name )
+ : KAB::ExtensionWidget( core, parent, name ), mManager( 0 )
{
initGUI();
@@ -520,9 +520,9 @@ void ResourceSelection::initGUI()
class ResourceSelectionFactory : public KAB::ExtensionFactory
{
public:
- KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *tqparent, const char *name )
+ KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *parent, const char *name )
{
- return new ResourceSelection( core, tqparent, name );
+ return new ResourceSelection( core, parent, name );
}
TQString identifier() const
diff --git a/kaddressbook/features/resourceselection.h b/kaddressbook/features/resourceselection.h
index e8939812b..609f942f2 100644
--- a/kaddressbook/features/resourceselection.h
+++ b/kaddressbook/features/resourceselection.h
@@ -41,7 +41,7 @@ class ResourceSelection : public KAB::ExtensionWidget
TQ_OBJECT
public:
- ResourceSelection( KAB::Core*, TQWidget *tqparent, const char *name );
+ ResourceSelection( KAB::Core*, TQWidget *parent, const char *name );
virtual ~ResourceSelection();
TQString title() const;
diff --git a/kaddressbook/filtereditdialog.cpp b/kaddressbook/filtereditdialog.cpp
index bb9e255b3..5e1586e11 100644
--- a/kaddressbook/filtereditdialog.cpp
+++ b/kaddressbook/filtereditdialog.cpp
@@ -45,9 +45,9 @@
#include "kabprefs.h"
#include "filtereditdialog.h"
-FilterEditDialog::FilterEditDialog( TQWidget *tqparent, const char *name )
+FilterEditDialog::FilterEditDialog( TQWidget *parent, const char *name )
: KDialogBase( Plain, i18n( "Edit Address Book Filter" ),
- Help | Ok | Cancel, Ok, tqparent, name, false, true )
+ Help | Ok | Cancel, Ok, parent, name, false, true )
{
initGUI();
@@ -161,9 +161,9 @@ void FilterEditDialog::slotHelp()
kapp->invokeHelp( "using-filters" );
}
-FilterDialog::FilterDialog( TQWidget *tqparent, const char *name )
+FilterDialog::FilterDialog( TQWidget *parent, const char *name )
: KDialogBase( Plain, i18n( "Edit Address Book Filters" ),
- Ok | Cancel, Ok, tqparent, name, false, true )
+ Ok | Cancel, Ok, parent, name, false, true )
{
initGUI();
}
diff --git a/kaddressbook/filtereditdialog.h b/kaddressbook/filtereditdialog.h
index 1d3c64395..23dcfabd5 100644
--- a/kaddressbook/filtereditdialog.h
+++ b/kaddressbook/filtereditdialog.h
@@ -43,7 +43,7 @@ class FilterDialog : public KDialogBase
TQ_OBJECT
public:
- FilterDialog( TQWidget *tqparent, const char *name = 0 );
+ FilterDialog( TQWidget *parent, const char *name = 0 );
~FilterDialog();
void setFilters( const Filter::List &list );
@@ -73,7 +73,7 @@ class FilterEditDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- FilterEditDialog( TQWidget *tqparent, const char *name = 0 );
+ FilterEditDialog( TQWidget *parent, const char *name = 0 );
~FilterEditDialog();
void setFilter( const Filter &filter );
diff --git a/kaddressbook/filterselectionwidget.cpp b/kaddressbook/filterselectionwidget.cpp
index 1b4873175..32bdf7bf6 100644
--- a/kaddressbook/filterselectionwidget.cpp
+++ b/kaddressbook/filterselectionwidget.cpp
@@ -29,8 +29,8 @@
#include "filterselectionwidget.h"
-FilterSelectionWidget::FilterSelectionWidget( TQWidget *tqparent, const char *name )
- : TQHBox( tqparent, name )
+FilterSelectionWidget::FilterSelectionWidget( TQWidget *parent, const char *name )
+ : TQHBox( parent, name )
{
setSpacing( KDialog::spacingHint() );
diff --git a/kaddressbook/filterselectionwidget.h b/kaddressbook/filterselectionwidget.h
index da8077c46..162ea4ccb 100644
--- a/kaddressbook/filterselectionwidget.h
+++ b/kaddressbook/filterselectionwidget.h
@@ -39,7 +39,7 @@ class FilterSelectionWidget : public TQHBox
TQ_OBJECT
public:
- FilterSelectionWidget( TQWidget *tqparent, const char *name = 0 );
+ FilterSelectionWidget( TQWidget *parent, const char *name = 0 );
~FilterSelectionWidget();
void setItems( const TQStringList &names );
diff --git a/kaddressbook/freebusywidget.cpp b/kaddressbook/freebusywidget.cpp
index 5a4199072..7b81d9ccb 100644
--- a/kaddressbook/freebusywidget.cpp
+++ b/kaddressbook/freebusywidget.cpp
@@ -32,8 +32,8 @@
#include "freebusywidget.h"
-FreeBusyWidget::FreeBusyWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name )
+FreeBusyWidget::FreeBusyWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name )
{
TQHBoxLayout *tqlayout = new TQHBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/freebusywidget.h b/kaddressbook/freebusywidget.h
index a758f1418..f06a574e5 100644
--- a/kaddressbook/freebusywidget.h
+++ b/kaddressbook/freebusywidget.h
@@ -34,7 +34,7 @@ class FreeBusyWidget : public KAB::ContactEditorWidget
TQ_OBJECT
public:
- FreeBusyWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ FreeBusyWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~FreeBusyWidget();
void loadContact( KABC::Addressee *addr );
@@ -51,9 +51,9 @@ class FreeBusyWidget : public KAB::ContactEditorWidget
class FreeBusyWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
- return new FreeBusyWidget( ab, tqparent, name );
+ return new FreeBusyWidget( ab, parent, name );
}
TQString pageIdentifier() const { return "misc"; }
diff --git a/kaddressbook/geowidget.cpp b/kaddressbook/geowidget.cpp
index 2b9b32c96..725dde3dc 100644
--- a/kaddressbook/geowidget.cpp
+++ b/kaddressbook/geowidget.cpp
@@ -44,8 +44,8 @@
#include "geowidget.h"
-GeoWidget::GeoWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name ), mReadOnly( false )
+GeoWidget::GeoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name ), mReadOnly( false )
{
TQLabel *label = 0;
@@ -157,9 +157,9 @@ void GeoWidget::editGeoData()
-GeoDialog::GeoDialog( TQWidget *tqparent, const char *name )
+GeoDialog::GeoDialog( TQWidget *parent, const char *name )
: KDialogBase( Plain, i18n( "Geo Data Input" ), Ok | Cancel, Ok,
- tqparent, name, true, true ),
+ parent, name, true, true ),
mUpdateSexagesimalInput( true )
{
TQFrame *page = plainPage();
@@ -482,8 +482,8 @@ int GeoDialog::nearestCity( double x, double y ) const
}
-GeoMapWidget::GeoMapWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mLatitude( 0 ), mLongitude( 0 )
+GeoMapWidget::GeoMapWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mLatitude( 0 ), mLongitude( 0 )
{
setBackgroundMode( NoBackground );
diff --git a/kaddressbook/geowidget.h b/kaddressbook/geowidget.h
index f6f8dffd5..7021b4fd0 100644
--- a/kaddressbook/geowidget.h
+++ b/kaddressbook/geowidget.h
@@ -54,7 +54,7 @@ class GeoWidget : public KAB::ContactEditorWidget
TQ_OBJECT
public:
- GeoWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ GeoWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~GeoWidget();
void loadContact( KABC::Addressee *addr );
@@ -81,7 +81,7 @@ class GeoDialog : public KDialogBase
TQ_OBJECT
public:
- GeoDialog( TQWidget *tqparent, const char *name = 0 );
+ GeoDialog( TQWidget *parent, const char *name = 0 );
~GeoDialog();
void setLatitude( double latitude );
@@ -127,7 +127,7 @@ class GeoMapWidget : public TQWidget
TQ_OBJECT
public:
- GeoMapWidget( TQWidget *tqparent, const char *name = 0 );
+ GeoMapWidget( TQWidget *parent, const char *name = 0 );
~GeoMapWidget();
void setLatitude( double latitude );
@@ -151,9 +151,9 @@ class GeoMapWidget : public TQWidget
class GeoWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
- return new GeoWidget( ab, tqparent, name );
+ return new GeoWidget( ab, parent, name );
}
TQString pageIdentifier() const { return "misc"; }
diff --git a/kaddressbook/imagewidget.cpp b/kaddressbook/imagewidget.cpp
index b4219322c..5e1dc85f1 100644
--- a/kaddressbook/imagewidget.cpp
+++ b/kaddressbook/imagewidget.cpp
@@ -47,8 +47,8 @@
#include "imagewidget.h"
-ImageLoader::ImageLoader( TQWidget *tqparent )
- : TQObject( 0, "ImageLoader" ), mParent( tqparent )
+ImageLoader::ImageLoader( TQWidget *parent )
+ : TQObject( 0, "ImageLoader" ), mParent( parent )
{
}
@@ -103,8 +103,8 @@ KABC::Picture ImageLoader::loadPicture( const KURL &url, bool *ok )
}
-ImageButton::ImageButton( const TQString &title, TQWidget *tqparent )
- : TQPushButton( title, tqparent ),
+ImageButton::ImageButton( const TQString &title, TQWidget *parent )
+ : TQPushButton( title, parent ),
mReadOnly( false ), mImageLoader( 0 )
{
setAcceptDrops( true );
@@ -247,8 +247,8 @@ void ImageButton::clear()
}
ImageBaseWidget::ImageBaseWidget( const TQString &title,
- TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mReadOnly( false )
+ TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mReadOnly( false )
{
mImageLoader = new ImageLoader( this );
@@ -290,8 +290,8 @@ KABC::Picture ImageBaseWidget::image() const
}
-ImageWidget::ImageWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name )
+ImageWidget::ImageWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name )
{
TQHBoxLayout *tqlayout = new TQHBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/imagewidget.h b/kaddressbook/imagewidget.h
index 52b9c9c6c..6dbac1955 100644
--- a/kaddressbook/imagewidget.h
+++ b/kaddressbook/imagewidget.h
@@ -41,7 +41,7 @@ class ImageLoader : public TQObject
TQ_OBJECT
public:
- ImageLoader( TQWidget *tqparent );
+ ImageLoader( TQWidget *parent );
KABC::Picture loadPicture( const KURL &url, bool *ok );
@@ -59,7 +59,7 @@ class ImageButton : public TQPushButton
TQ_OBJECT
public:
- ImageButton( const TQString &title, TQWidget *tqparent );
+ ImageButton( const TQString &title, TQWidget *parent );
void setReadOnly( bool readOnly );
@@ -101,7 +101,7 @@ class ImageBaseWidget : public TQWidget
TQ_OBJECT
public:
- ImageBaseWidget( const TQString &title, TQWidget *tqparent, const char *name = 0 );
+ ImageBaseWidget( const TQString &title, TQWidget *parent, const char *name = 0 );
~ImageBaseWidget();
/**
@@ -129,7 +129,7 @@ class ImageBaseWidget : public TQWidget
class ImageWidget : public KAB::ContactEditorWidget
{
public:
- ImageWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ ImageWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
void loadContact( KABC::Addressee *addr );
void storeContact( KABC::Addressee *addr );
@@ -145,9 +145,9 @@ class ImageWidget : public KAB::ContactEditorWidget
class ImageWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
- return new ImageWidget( ab, tqparent, name );
+ return new ImageWidget( ab, parent, name );
}
TQString pageIdentifier() const { return "misc"; }
diff --git a/kaddressbook/imeditwidget.cpp b/kaddressbook/imeditwidget.cpp
index c7507afcf..2f40f5de3 100644
--- a/kaddressbook/imeditwidget.cpp
+++ b/kaddressbook/imeditwidget.cpp
@@ -43,8 +43,8 @@
#include "imeditwidget.h"
#include "imeditorwidget.h"
-IMEditWidget::IMEditWidget( TQWidget *tqparent, KABC::Addressee &addr, const char *name )
- : TQWidget( tqparent, name ), mAddressee(addr)
+IMEditWidget::IMEditWidget( TQWidget *parent, KABC::Addressee &addr, const char *name )
+ : TQWidget( parent, name ), mAddressee(addr)
{
TQGridLayout *topLayout = new TQGridLayout( this, 2, 2, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/imeditwidget.h b/kaddressbook/imeditwidget.h
index d528fafe2..03c25fcbb 100644
--- a/kaddressbook/imeditwidget.h
+++ b/kaddressbook/imeditwidget.h
@@ -47,7 +47,7 @@ class IMEditWidget : public TQWidget
TQ_OBJECT
public:
- IMEditWidget(TQWidget *tqparent, KABC::Addressee &addr, const char *name = 0 );
+ IMEditWidget(TQWidget *parent, KABC::Addressee &addr, const char *name = 0 );
~IMEditWidget();
void setIMs( const TQStringList &list );
diff --git a/kaddressbook/incsearchwidget.cpp b/kaddressbook/incsearchwidget.cpp
index 6b3463270..aaad464f1 100644
--- a/kaddressbook/incsearchwidget.cpp
+++ b/kaddressbook/incsearchwidget.cpp
@@ -37,8 +37,8 @@
#include "incsearchwidget.h"
-IncSearchWidget::IncSearchWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+IncSearchWidget::IncSearchWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQHBoxLayout *tqlayout = new TQHBoxLayout( this, 2, KDialog::spacingHint() );
diff --git a/kaddressbook/incsearchwidget.h b/kaddressbook/incsearchwidget.h
index fa3a99a2b..4277828d0 100644
--- a/kaddressbook/incsearchwidget.h
+++ b/kaddressbook/incsearchwidget.h
@@ -38,7 +38,7 @@ class IncSearchWidget : public TQWidget
TQ_OBJECT
public:
- IncSearchWidget( TQWidget *tqparent, const char *name = 0 );
+ IncSearchWidget( TQWidget *parent, const char *name = 0 );
~IncSearchWidget();
KABC::Field::List currentFields() const;
diff --git a/kaddressbook/interfaces/configurewidget.cpp b/kaddressbook/interfaces/configurewidget.cpp
index 1f9325ed0..16bec28a7 100644
--- a/kaddressbook/interfaces/configurewidget.cpp
+++ b/kaddressbook/interfaces/configurewidget.cpp
@@ -27,9 +27,9 @@
using namespace KAB;
-ConfigureWidget::ConfigureWidget( KABC::AddressBook *ab, TQWidget *tqparent,
+ConfigureWidget::ConfigureWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name ), mAddressBook( ab )
+ : TQWidget( parent, name ), mAddressBook( ab )
{
}
diff --git a/kaddressbook/interfaces/configurewidget.h b/kaddressbook/interfaces/configurewidget.h
index 89e980084..04cea9cf7 100644
--- a/kaddressbook/interfaces/configurewidget.h
+++ b/kaddressbook/interfaces/configurewidget.h
@@ -38,7 +38,7 @@ namespace KAB {
class KDE_EXPORT ConfigureWidget : public TQWidget
{
public:
- ConfigureWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ ConfigureWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~ConfigureWidget();
/**
diff --git a/kaddressbook/interfaces/contacteditorwidget.cpp b/kaddressbook/interfaces/contacteditorwidget.cpp
index 230f8d019..3059b7a40 100644
--- a/kaddressbook/interfaces/contacteditorwidget.cpp
+++ b/kaddressbook/interfaces/contacteditorwidget.cpp
@@ -26,8 +26,8 @@
using namespace KAB;
ContactEditorWidget::ContactEditorWidget( KABC::AddressBook *ab,
- TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mAddressBook( ab ), mModified( false )
+ TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mAddressBook( ab ), mModified( false )
{
}
diff --git a/kaddressbook/interfaces/contacteditorwidget.h b/kaddressbook/interfaces/contacteditorwidget.h
index dc8039b60..5903981dd 100644
--- a/kaddressbook/interfaces/contacteditorwidget.h
+++ b/kaddressbook/interfaces/contacteditorwidget.h
@@ -42,7 +42,7 @@ class KDE_EXPORT ContactEditorWidget : public TQWidget
public:
typedef TQValueList<ContactEditorWidget*> List;
- ContactEditorWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ ContactEditorWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~ContactEditorWidget();
/**
@@ -117,7 +117,7 @@ class KDE_EXPORT ContactEditorWidget : public TQWidget
class ContactEditorWidgetFactory : public KLibFactory
{
public:
- virtual ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent,
+ virtual ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name = 0 ) = 0;
/**
diff --git a/kaddressbook/interfaces/core.cpp b/kaddressbook/interfaces/core.cpp
index b604d6564..f359bc3ab 100644
--- a/kaddressbook/interfaces/core.cpp
+++ b/kaddressbook/interfaces/core.cpp
@@ -25,8 +25,8 @@
using namespace KAB;
-Core::Core( KXMLGUIClient *client, TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), mGUIClient( client )
+Core::Core( KXMLGUIClient *client, TQObject *parent, const char *name )
+ : TQObject( parent, name ), mGUIClient( client )
{
}
diff --git a/kaddressbook/interfaces/core.h b/kaddressbook/interfaces/core.h
index b4289249f..ac572004f 100644
--- a/kaddressbook/interfaces/core.h
+++ b/kaddressbook/interfaces/core.h
@@ -58,7 +58,7 @@ class KDE_EXPORT Core : public TQObject
TQ_OBJECT
public:
- Core( KXMLGUIClient *client, TQObject *tqparent, const char *name = 0 );
+ Core( KXMLGUIClient *client, TQObject *parent, const char *name = 0 );
/**
Returns a pointer to the StdAddressBook of the application.
@@ -96,10 +96,10 @@ class KDE_EXPORT Core : public TQObject
resource or a null pointer if no resource was selected by
the user.
*/
- virtual KABC::Resource *requestResource( TQWidget *tqparent ) = 0;
+ virtual KABC::Resource *requestResource( TQWidget *parent ) = 0;
/**
- Returns the tqparent widget.
+ Returns the parent widget.
*/
virtual TQWidget *widget() const = 0;
diff --git a/kaddressbook/interfaces/extensionwidget.cpp b/kaddressbook/interfaces/extensionwidget.cpp
index bae99b03f..63f90200b 100644
--- a/kaddressbook/interfaces/extensionwidget.cpp
+++ b/kaddressbook/interfaces/extensionwidget.cpp
@@ -27,9 +27,9 @@
using namespace KAB;
-ExtensionWidget::ExtensionWidget( Core *core, TQWidget *tqparent,
+ExtensionWidget::ExtensionWidget( Core *core, TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name ), mCore( core )
+ : TQWidget( parent, name ), mCore( core )
{
}
diff --git a/kaddressbook/interfaces/extensionwidget.h b/kaddressbook/interfaces/extensionwidget.h
index 7b3daca9f..8302c5b9a 100644
--- a/kaddressbook/interfaces/extensionwidget.h
+++ b/kaddressbook/interfaces/extensionwidget.h
@@ -42,7 +42,7 @@ class KDE_EXPORT ExtensionWidget : public TQWidget
TQ_OBJECT
public:
- ExtensionWidget( Core *core, TQWidget *tqparent, const char *name = 0 );
+ ExtensionWidget( Core *core, TQWidget *parent, const char *name = 0 );
~ExtensionWidget();
/**
@@ -92,7 +92,7 @@ class KDE_EXPORT ExtensionWidget : public TQWidget
class ExtensionFactory : public KLibFactory
{
public:
- virtual ExtensionWidget *extension( KAB::Core *core, TQWidget *tqparent,
+ virtual ExtensionWidget *extension( KAB::Core *core, TQWidget *parent,
const char *name = 0 ) = 0;
virtual ConfigureWidget *configureWidget( TQWidget*, const char* = 0 )
diff --git a/kaddressbook/interfaces/xxport.cpp b/kaddressbook/interfaces/xxport.cpp
index 8e8864d85..6b4340fdf 100644
--- a/kaddressbook/interfaces/xxport.cpp
+++ b/kaddressbook/interfaces/xxport.cpp
@@ -40,9 +40,9 @@ class XXPort::XXPortPrivate
KApplication *mKApp;
};
-XXPort::XXPort( KABC::AddressBook *ab, TQWidget *tqparent,
+XXPort::XXPort( KABC::AddressBook *ab, TQWidget *parent,
const char *name )
- : TQObject( tqparent, name ), mAddressBook( ab ), mParentWidget( tqparent ),
+ : TQObject( parent, name ), mAddressBook( ab ), mParentWidget( parent ),
d( new XXPortPrivate )
{
setInstance( new KInstance( "kaddressbook" ) );
diff --git a/kaddressbook/interfaces/xxport.h b/kaddressbook/interfaces/xxport.h
index 0f24f5c0e..996767185 100644
--- a/kaddressbook/interfaces/xxport.h
+++ b/kaddressbook/interfaces/xxport.h
@@ -45,10 +45,10 @@ class KApplication;
*/
#define K_EXPORT_KADDRESSBOOK_XXFILTER_CATALOG( libname, XXPortClass, catalog ) \
class KDE_NO_EXPORT localXXPortFactory : public KAB::XXPortFactory { \
- KAB::XXPort *xxportObject( KABC::AddressBook *ab, TQWidget *tqparent, const char *name ) \
+ KAB::XXPort *xxportObject( KABC::AddressBook *ab, TQWidget *parent, const char *name ) \
{ const char *cat = catalog; \
if (cat) KGlobal::locale()->insertCatalogue(cat); \
- return new XXPortClass( ab, tqparent, name ); \
+ return new XXPortClass( ab, parent, name ); \
} \
}; \
K_EXPORT_COMPONENT_FACTORY( libname, localXXPortFactory )
@@ -71,7 +71,7 @@ class KDE_EXPORT XXPort : public TQObject, virtual public KXMLGUIClient
TQ_OBJECT
public:
- XXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ XXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~XXPort();
/**
@@ -143,7 +143,7 @@ class KDE_EXPORT XXPort : public TQObject, virtual public KXMLGUIClient
KABC::AddressBook *addressBook() const;
/**
- Returns a pointer to the tqparent widget. It can be used as tqparent for
+ Returns a pointer to the parent widget. It can be used as parent for
message boxes.
*/
TQWidget *parentWidget() const;
@@ -163,7 +163,7 @@ class KDE_EXPORT XXPort : public TQObject, virtual public KXMLGUIClient
class XXPortFactory : public KLibFactory
{
public:
- virtual XXPort *xxportObject( KABC::AddressBook *ab, TQWidget *tqparent,
+ virtual XXPort *xxportObject( KABC::AddressBook *ab, TQWidget *parent,
const char *name = 0 ) = 0;
protected:
diff --git a/kaddressbook/jumpbuttonbar.cpp b/kaddressbook/jumpbuttonbar.cpp
index e4a712a9d..2b603fe23 100644
--- a/kaddressbook/jumpbuttonbar.cpp
+++ b/kaddressbook/jumpbuttonbar.cpp
@@ -43,7 +43,7 @@ class JumpButton : public TQPushButton
{
public:
JumpButton( const TQString &firstChar, const TQString &lastChar,
- TQWidget *tqparent );
+ TQWidget *parent );
TQString firstChar() const { return mChar; }
@@ -52,8 +52,8 @@ class JumpButton : public TQPushButton
};
JumpButton::JumpButton( const TQString &firstChar, const TQString &lastChar,
- TQWidget *tqparent )
- : TQPushButton( "", tqparent ), mChar( firstChar )
+ TQWidget *parent )
+ : TQPushButton( "", parent ), mChar( firstChar )
{
setToggleButton( true );
if ( !lastChar.isEmpty() )
@@ -62,8 +62,8 @@ JumpButton::JumpButton( const TQString &firstChar, const TQString &lastChar,
setText( firstChar.upper() );
}
-JumpButtonBar::JumpButtonBar( KAB::Core *core, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mCore( core )
+JumpButtonBar::JumpButtonBar( KAB::Core *core, TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mCore( core )
{
setMinimumSize( 1, 1 );
diff --git a/kaddressbook/jumpbuttonbar.h b/kaddressbook/jumpbuttonbar.h
index 6408582d9..d7471cea7 100644
--- a/kaddressbook/jumpbuttonbar.h
+++ b/kaddressbook/jumpbuttonbar.h
@@ -50,7 +50,7 @@ class JumpButtonBar : public TQWidget
TQ_OBJECT
public:
- JumpButtonBar( KAB::Core *core, TQWidget *tqparent, const char *name = 0 );
+ JumpButtonBar( KAB::Core *core, TQWidget *parent, const char *name = 0 );
~JumpButtonBar();
public slots:
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index db10f8f96..fac69a0a3 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -92,16 +92,16 @@
#include "kabcore.h"
-KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *tqparent,
+KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent,
const TQString &file, const char *name )
- : KAB::Core( client, TQT_TQOBJECT(tqparent), name ), mStatusBar( 0 ), mViewManager( 0 ),
+ : KAB::Core( client, TQT_TQOBJECT(parent), name ), mStatusBar( 0 ), mViewManager( 0 ),
mExtensionManager( 0 ), mJumpButtonBar( 0 ), mCategorySelectDialog( 0 ),
mCategoryEditDialog( 0 ), mLdapSearchDialog( 0 ), mReadWrite( readWrite ),
mModified( false )
{
- mWidget = new TQWidget( tqparent, name );
+ mWidget = new TQWidget( parent, name );
- mIsPart = !tqparent->isA( "KAddressBookMain" );
+ mIsPart = !parent->isA( "KAddressBookMain" );
mAddressBookChangedTimer = new TQTimer( this );
connect( mAddressBookChangedTimer, TQT_SIGNAL( timeout() ),
@@ -114,7 +114,7 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *tqparent,
mAddressBook = new KABC::AddressBook;
mAddressBook->addResource( new KABC::ResourceFile( file ) );
if ( !mAddressBook->load() ) {
- KMessageBox::error( tqparent, i18n("Unable to load '%1'.").tqarg( file ) );
+ KMessageBox::error( parent, i18n("Unable to load '%1'.").tqarg( file ) );
}
}
mAddressBook->setErrorHandler( new KABC::GuiErrorHandler( mWidget ) );
@@ -140,7 +140,7 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *tqparent,
mAddressBook->addCustomField( i18n( "Blog" ), KABC::Field::Personal,
"BlogFeed", "KADDRESSBOOK" );
- mSearchManager = new KAB::SearchManager( mAddressBook, TQT_TQOBJECT(tqparent) );
+ mSearchManager = new KAB::SearchManager( mAddressBook, TQT_TQOBJECT(parent) );
connect( mSearchManager, TQT_SIGNAL( contactsUpdated() ),
this, TQT_SLOT( slotContactsUpdated() ) );
@@ -270,7 +270,7 @@ TQStringList KABCore::selectedUIDs() const
return mViewManager->selectedUids();
}
-KABC::Resource *KABCore::requestResource( TQWidget *tqparent )
+KABC::Resource *KABCore::requestResource( TQWidget *parent )
{
TQPtrList<KABC::Resource> kabcResources = addressBook()->resources();
@@ -301,7 +301,7 @@ KABC::Resource *KABCore::requestResource( TQWidget *tqparent )
}
}
- KRES::Resource *res = KRES::SelectDialog::getResource( kresResources, tqparent );
+ KRES::Resource *res = KRES::SelectDialog::getResource( kresResources, parent );
return static_cast<KABC::Resource*>( res ); // upcast
}
@@ -1152,10 +1152,10 @@ void KABCore::addressBookChanged()
updateCategories();
}
-AddresseeEditorDialog *KABCore::createAddresseeEditorDialog( TQWidget *tqparent,
+AddresseeEditorDialog *KABCore::createAddresseeEditorDialog( TQWidget *parent,
const char *name )
{
- AddresseeEditorDialog *dialog = new AddresseeEditorDialog( this, tqparent,
+ AddresseeEditorDialog *dialog = new AddresseeEditorDialog( this, parent,
name ? name : "editorDialog" );
connect( dialog, TQT_SIGNAL( contactModified( const KABC::Addressee& ) ),
TQT_SLOT( contactModified( const KABC::Addressee& ) ) );
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index aed5e08f1..f8c166a2a 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -86,7 +86,7 @@ class KDE_EXPORT KABCore : public KAB::Core
TQ_OBJECT
public:
- KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *tqparent,
+ KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent,
const TQString &file = TQString(), const char *name = 0 );
~KABCore();
@@ -131,10 +131,10 @@ class KDE_EXPORT KABCore : public KAB::Core
resource or a null pointer if no resource was selected by
the user.
*/
- KABC::Resource *requestResource( TQWidget *tqparent );
+ KABC::Resource *requestResource( TQWidget *parent );
/**
- Returns the tqparent widget.
+ Returns the parent widget.
*/
TQWidget *widget() const;
@@ -435,7 +435,7 @@ class KDE_EXPORT KABCore : public KAB::Core
void updateCategories();
TQStringList allCategories() const;
- AddresseeEditorDialog *createAddresseeEditorDialog( TQWidget *tqparent,
+ AddresseeEditorDialog *createAddresseeEditorDialog( TQWidget *parent,
const char *name = 0 );
TQWidget *mWidget;
diff --git a/kaddressbook/kaddressbook_part.cpp b/kaddressbook/kaddressbook_part.cpp
index 88cd03109..5f978b4d1 100644
--- a/kaddressbook/kaddressbook_part.cpp
+++ b/kaddressbook/kaddressbook_part.cpp
@@ -43,9 +43,9 @@ typedef KParts::GenericFactory< KAddressbookPart > KAddressbookFactory;
K_EXPORT_COMPONENT_FACTORY( libkaddressbookpart, KAddressbookFactory )
KAddressbookPart::KAddressbookPart( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const TQStringList & )
- : DCOPObject( "KAddressBookIface" ), KParts::ReadOnlyPart( tqparent, name )
+ : DCOPObject( "KAddressBookIface" ), KParts::ReadOnlyPart( parent, name )
{
setInstance( KAddressbookFactory::instance() );
diff --git a/kaddressbook/kaddressbook_part.h b/kaddressbook/kaddressbook_part.h
index 264209314..366d65cbd 100644
--- a/kaddressbook/kaddressbook_part.h
+++ b/kaddressbook/kaddressbook_part.h
@@ -41,7 +41,7 @@ class KAddressbookPart: public KParts::ReadOnlyPart, virtual public KAddressBook
public:
KAddressbookPart( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name, const TQStringList& );
+ TQObject *parent, const char *name, const TQStringList& );
virtual ~KAddressbookPart();
static KAboutData *createAboutData();
diff --git a/kaddressbook/kaddressbookview.cpp b/kaddressbook/kaddressbookview.cpp
index 9f1aa3cec..43d709d2d 100644
--- a/kaddressbook/kaddressbookview.cpp
+++ b/kaddressbook/kaddressbookview.cpp
@@ -37,9 +37,9 @@
#include "kaddressbookview.h"
-KAddressBookView::KAddressBookView( KAB::Core *core, TQWidget *tqparent,
+KAddressBookView::KAddressBookView( KAB::Core *core, TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name ), mCore( core ), mFieldList()
+ : TQWidget( parent, name ), mCore( core ), mFieldList()
{
initGUI();
@@ -194,10 +194,10 @@ void KAddressBookView::updateView()
}
ViewConfigureWidget *ViewFactory::configureWidget( KABC::AddressBook *ab,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name )
{
- return new ViewConfigureWidget( ab, tqparent, name );
+ return new ViewConfigureWidget( ab, parent, name );
}
#include "kaddressbookview.moc"
diff --git a/kaddressbook/kaddressbookview.h b/kaddressbook/kaddressbookview.h
index eca5521bc..ed4cfc6c4 100644
--- a/kaddressbook/kaddressbookview.h
+++ b/kaddressbook/kaddressbookview.h
@@ -61,7 +61,7 @@ class KDE_EXPORT KAddressBookView : public TQWidget
public:
enum DefaultFilterType { None = 0, Active = 1, Specific = 2 };
- KAddressBookView( KAB::Core *core, TQWidget *tqparent, const char *name );
+ KAddressBookView( KAB::Core *core, TQWidget *parent, const char *name );
virtual ~KAddressBookView();
/**
@@ -251,8 +251,8 @@ class KDE_EXPORT KAddressBookView : public TQWidget
KABC::Addressee::List addressees();
/**
- This method returns the widget that should be used as the tqparent for
- all view components. By using this widget as the tqparent and not
+ This method returns the widget that should be used as the parent for
+ all view components. By using this widget as the parent and not
'this', the view subclass has the option of placing other widgets
around the view (ie: search fields, etc). Do not delete this widget!
*/
@@ -276,7 +276,7 @@ class KDE_EXPORT KAddressBookView : public TQWidget
class KDE_EXPORT ViewFactory : public KLibFactory
{
public:
- virtual KAddressBookView *view( KAB::Core *core, TQWidget *tqparent,
+ virtual KAddressBookView *view( KAB::Core *core, TQWidget *parent,
const char *name = 0 ) = 0;
/**
@return The type of the view. This is normally a small one word
@@ -301,7 +301,7 @@ class KDE_EXPORT ViewFactory : public KLibFactory
<B>not</B> be called.
*/
virtual ViewConfigureWidget *configureWidget( KABC::AddressBook *ab,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name = 0 );
protected:
diff --git a/kaddressbook/kcmconfigs/addhostdialog.cpp b/kaddressbook/kcmconfigs/addhostdialog.cpp
index a6174dffd..155f6f6ba 100644
--- a/kaddressbook/kcmconfigs/addhostdialog.cpp
+++ b/kaddressbook/kcmconfigs/addhostdialog.cpp
@@ -33,8 +33,8 @@
#include <klocale.h>
#include "addhostdialog.h"
-AddHostDialog::AddHostDialog( KPIM::LdapServer *server, TQWidget* tqparent, const char* name )
- : KDialogBase( Plain, i18n( "Add Host" ), Ok | Cancel, Ok, tqparent, name, true, true )
+AddHostDialog::AddHostDialog( KPIM::LdapServer *server, TQWidget* parent, const char* name )
+ : KDialogBase( Plain, i18n( "Add Host" ), Ok | Cancel, Ok, parent, name, true, true )
{
mServer = server;
diff --git a/kaddressbook/kcmconfigs/addhostdialog.h b/kaddressbook/kcmconfigs/addhostdialog.h
index 956892d9f..6a57861a1 100644
--- a/kaddressbook/kcmconfigs/addhostdialog.h
+++ b/kaddressbook/kcmconfigs/addhostdialog.h
@@ -38,7 +38,7 @@ class AddHostDialog : public KDialogBase
TQ_OBJECT
public:
- AddHostDialog( KPIM::LdapServer* server, TQWidget* tqparent = 0, const char* name = 0 );
+ AddHostDialog( KPIM::LdapServer* server, TQWidget* parent = 0, const char* name = 0 );
~AddHostDialog();
signals:
diff --git a/kaddressbook/kcmconfigs/addresseewidget.cpp b/kaddressbook/kcmconfigs/addresseewidget.cpp
index f1a3f525d..8c04002d5 100644
--- a/kaddressbook/kcmconfigs/addresseewidget.cpp
+++ b/kaddressbook/kcmconfigs/addresseewidget.cpp
@@ -41,8 +41,8 @@
#include "addresseewidget.h"
NamePartWidget::NamePartWidget( const TQString &title, const TQString &label,
- TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mTitle( title ), mLabel( label )
+ TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mTitle( title ), mLabel( label )
{
TQHBoxLayout *tqlayout = new TQHBoxLayout( this );
@@ -131,8 +131,8 @@ void NamePartWidget::selectionChanged( TQListBoxItem *item )
-AddresseeWidget::AddresseeWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+AddresseeWidget::AddresseeWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQGridLayout *tqlayout = new TQGridLayout( this, 2, 3, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/kcmconfigs/addresseewidget.h b/kaddressbook/kcmconfigs/addresseewidget.h
index 8c81ac23d..b7c55b9ea 100644
--- a/kaddressbook/kcmconfigs/addresseewidget.h
+++ b/kaddressbook/kcmconfigs/addresseewidget.h
@@ -39,7 +39,7 @@ class NamePartWidget : public TQWidget
TQ_OBJECT
public:
- NamePartWidget( const TQString &title, const TQString &label, TQWidget *tqparent,
+ NamePartWidget( const TQString &title, const TQString &label, TQWidget *parent,
const char *name = 0 );
~NamePartWidget();
@@ -72,7 +72,7 @@ class AddresseeWidget : public TQWidget
TQ_OBJECT
public:
- AddresseeWidget( TQWidget *tqparent, const char *name = 0 );
+ AddresseeWidget( TQWidget *parent, const char *name = 0 );
~AddresseeWidget();
void restoreSettings();
diff --git a/kaddressbook/kcmconfigs/extensionconfigdialog.cpp b/kaddressbook/kcmconfigs/extensionconfigdialog.cpp
index 62716886b..68f4643ab 100644
--- a/kaddressbook/kcmconfigs/extensionconfigdialog.cpp
+++ b/kaddressbook/kcmconfigs/extensionconfigdialog.cpp
@@ -30,8 +30,8 @@
#include "extensionwidget.h"
ExtensionConfigDialog::ExtensionConfigDialog( KAB::ExtensionFactory *factory, KConfig *config,
- TQWidget *tqparent, const char *name )
- : KDialogBase( Plain, i18n( "Extension Settings" ), Ok | Cancel, Ok, tqparent,
+ TQWidget *parent, const char *name )
+ : KDialogBase( Plain, i18n( "Extension Settings" ), Ok | Cancel, Ok, parent,
name, true, true ), mWidget( 0 ), mConfig( config )
{
TQFrame *page = plainPage();
diff --git a/kaddressbook/kcmconfigs/extensionconfigdialog.h b/kaddressbook/kcmconfigs/extensionconfigdialog.h
index de5f506b8..6c595b443 100644
--- a/kaddressbook/kcmconfigs/extensionconfigdialog.h
+++ b/kaddressbook/kcmconfigs/extensionconfigdialog.h
@@ -39,7 +39,7 @@ class ExtensionConfigDialog : public KDialogBase
public:
ExtensionConfigDialog( KAB::ExtensionFactory *factory, KConfig *config,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
~ExtensionConfigDialog();
protected slots:
diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.cpp b/kaddressbook/kcmconfigs/kabconfigwidget.cpp
index f2899ba35..a3775b369 100644
--- a/kaddressbook/kcmconfigs/kabconfigwidget.cpp
+++ b/kaddressbook/kcmconfigs/kabconfigwidget.cpp
@@ -45,8 +45,8 @@
#include "kabconfigwidget.h"
-KABConfigWidget::KABConfigWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+KABConfigWidget::KABConfigWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQVBoxLayout *topLayout = new TQVBoxLayout( this, 0,
KDialog::spacingHint() );
diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.h b/kaddressbook/kcmconfigs/kabconfigwidget.h
index e169f2ef5..1a4fc666a 100644
--- a/kaddressbook/kcmconfigs/kabconfigwidget.h
+++ b/kaddressbook/kcmconfigs/kabconfigwidget.h
@@ -42,7 +42,7 @@ class KABConfigWidget : public TQWidget
TQ_OBJECT
public:
- KABConfigWidget( TQWidget *tqparent, const char *name = 0 );
+ KABConfigWidget( TQWidget *parent, const char *name = 0 );
void restoreSettings();
void saveSettings();
diff --git a/kaddressbook/kcmconfigs/kcmkabconfig.cpp b/kaddressbook/kcmconfigs/kcmkabconfig.cpp
index a504af0bb..3ceca5b52 100644
--- a/kaddressbook/kcmconfigs/kcmkabconfig.cpp
+++ b/kaddressbook/kcmconfigs/kcmkabconfig.cpp
@@ -35,13 +35,13 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kabconfig( TQWidget *tqparent, const char * ) {
- return new KCMKabConfig( tqparent, "kcmkabconfig" );
+ KDE_EXPORT KCModule *create_kabconfig( TQWidget *parent, const char * ) {
+ return new KCMKabConfig( parent, "kcmkabconfig" );
}
}
-KCMKabConfig::KCMKabConfig( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMKabConfig::KCMKabConfig( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
mConfigWidget = new KABConfigWidget( this, "mConfigWidget" );
diff --git a/kaddressbook/kcmconfigs/kcmkabconfig.h b/kaddressbook/kcmconfigs/kcmkabconfig.h
index 74232946f..42348145b 100644
--- a/kaddressbook/kcmconfigs/kcmkabconfig.h
+++ b/kaddressbook/kcmconfigs/kcmkabconfig.h
@@ -34,7 +34,7 @@ class KCMKabConfig : public KCModule
TQ_OBJECT
public:
- KCMKabConfig( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKabConfig( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
diff --git a/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp b/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp
index 8c0fa7316..d6974a1b8 100644
--- a/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp
+++ b/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp
@@ -33,13 +33,13 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kabcustomfields( TQWidget *tqparent, const char * ) {
- return new KCMKabCustomFields( tqparent, "kcmkabcustomfields" );
+ KDE_EXPORT KCModule *create_kabcustomfields( TQWidget *parent, const char * ) {
+ return new KCMKabCustomFields( parent, "kcmkabcustomfields" );
}
}
-KCMKabCustomFields::KCMKabCustomFields( TQWidget *tqparent, const char *name )
- : KCMDesignerFields( tqparent, name )
+KCMKabCustomFields::KCMKabCustomFields( TQWidget *parent, const char *name )
+ : KCMDesignerFields( parent, name )
{
}
diff --git a/kaddressbook/kcmconfigs/kcmkabcustomfields.h b/kaddressbook/kcmconfigs/kcmkabcustomfields.h
index 4eb30a880..72874e1b1 100644
--- a/kaddressbook/kcmconfigs/kcmkabcustomfields.h
+++ b/kaddressbook/kcmconfigs/kcmkabcustomfields.h
@@ -28,7 +28,7 @@
class KCMKabCustomFields : public KPIM::KCMDesignerFields
{
public:
- KCMKabCustomFields( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKabCustomFields( TQWidget *parent = 0, const char *name = 0 );
protected:
TQString localUiDir();
diff --git a/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp b/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp
index b2f657c87..e6f25529c 100644
--- a/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp
+++ b/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp
@@ -36,13 +36,13 @@
extern "C"
{
- KDE_EXPORT KCModule *create_kabldapconfig( TQWidget *tqparent, const char * ) {
- return new KCMKabLdapConfig( tqparent, "kcmkabldapconfig" );
+ KDE_EXPORT KCModule *create_kabldapconfig( TQWidget *parent, const char * ) {
+ return new KCMKabLdapConfig( parent, "kcmkabldapconfig" );
}
}
-KCMKabLdapConfig::KCMKabLdapConfig( TQWidget *tqparent, const char *name )
- : KCModule( tqparent, name )
+KCMKabLdapConfig::KCMKabLdapConfig( TQWidget *parent, const char *name )
+ : KCModule( parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
mConfigWidget = new LDAPOptionsWidget( this );
diff --git a/kaddressbook/kcmconfigs/kcmkabldapconfig.h b/kaddressbook/kcmconfigs/kcmkabldapconfig.h
index 10ec0d211..cfa7028dd 100644
--- a/kaddressbook/kcmconfigs/kcmkabldapconfig.h
+++ b/kaddressbook/kcmconfigs/kcmkabldapconfig.h
@@ -36,7 +36,7 @@ class KCMKabLdapConfig : public KCModule
TQ_OBJECT
public:
- KCMKabLdapConfig( TQWidget *tqparent = 0, const char *name = 0 );
+ KCMKabLdapConfig( TQWidget *parent = 0, const char *name = 0 );
virtual void load();
virtual void save();
diff --git a/kaddressbook/kcmconfigs/ldapoptionswidget.cpp b/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
index 996da4287..a091c0f0c 100644
--- a/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
+++ b/kaddressbook/kcmconfigs/ldapoptionswidget.cpp
@@ -45,8 +45,8 @@
class LDAPItem : public TQCheckListItem
{
public:
- LDAPItem( TQListView *tqparent, const KPIM::LdapServer &server, bool isActive = false )
- : TQCheckListItem( tqparent, tqparent->lastItem(), TQString(), TQCheckListItem::CheckBox ),
+ LDAPItem( TQListView *parent, const KPIM::LdapServer &server, bool isActive = false )
+ : TQCheckListItem( parent, parent->lastItem(), TQString(), TQCheckListItem::CheckBox ),
mIsActive( isActive )
{
setServer( server );
@@ -69,8 +69,8 @@ class LDAPItem : public TQCheckListItem
bool mIsActive;
};
-LDAPOptionsWidget::LDAPOptionsWidget( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name )
+LDAPOptionsWidget::LDAPOptionsWidget( TQWidget* parent, const char* name )
+ : TQWidget( parent, name )
{
initGUI();
diff --git a/kaddressbook/kcmconfigs/ldapoptionswidget.h b/kaddressbook/kcmconfigs/ldapoptionswidget.h
index 17fbe6e6f..f8e834b62 100644
--- a/kaddressbook/kcmconfigs/ldapoptionswidget.h
+++ b/kaddressbook/kcmconfigs/ldapoptionswidget.h
@@ -37,7 +37,7 @@ class LDAPOptionsWidget : public TQWidget
TQ_OBJECT
public:
- LDAPOptionsWidget( TQWidget* tqparent = 0, const char* name = 0 );
+ LDAPOptionsWidget( TQWidget* parent = 0, const char* name = 0 );
~LDAPOptionsWidget();
void restoreSettings();
diff --git a/kaddressbook/keywidget.cpp b/kaddressbook/keywidget.cpp
index 1b6e77440..739672fc7 100644
--- a/kaddressbook/keywidget.cpp
+++ b/kaddressbook/keywidget.cpp
@@ -38,8 +38,8 @@
#include "keywidget.h"
-KeyWidget::KeyWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+KeyWidget::KeyWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQGridLayout *tqlayout = new TQGridLayout( this, 4, 2, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/keywidget.h b/kaddressbook/keywidget.h
index 7e9a7b28f..700a2fc80 100644
--- a/kaddressbook/keywidget.h
+++ b/kaddressbook/keywidget.h
@@ -37,7 +37,7 @@ class KeyWidget : public TQWidget
TQ_OBJECT
public:
- KeyWidget( TQWidget *tqparent, const char *name = 0 );
+ KeyWidget( TQWidget *parent, const char *name = 0 );
~KeyWidget();
void setKeys( const KABC::Key::List &list );
diff --git a/kaddressbook/ldapsearchdialog.cpp b/kaddressbook/ldapsearchdialog.cpp
index 19b5dd6cf..8d5b90d97 100644
--- a/kaddressbook/ldapsearchdialog.cpp
+++ b/kaddressbook/ldapsearchdialog.cpp
@@ -104,8 +104,8 @@ static TQMap<TQString, TQString>& adrbookattr2ldap()
class ContactListItem : public TQListViewItem
{
public:
- ContactListItem( TQListView* tqparent, const KPIM::LdapAttrMap& attrs )
- : TQListViewItem( tqparent ), mAttrs( attrs )
+ ContactListItem( TQListView* parent, const KPIM::LdapAttrMap& attrs )
+ : TQListViewItem( parent ), mAttrs( attrs )
{ }
KPIM::LdapAttrMap mAttrs;
@@ -139,9 +139,9 @@ TQValueList<ContactListItem*> LDAPSearchDialog::Private::selectedItems( TQListVi
}
LDAPSearchDialog::LDAPSearchDialog( KABC::AddressBook *ab, KABCore *core,
- TQWidget* tqparent, const char* name )
+ TQWidget* parent, const char* name )
: KDialogBase( Plain, i18n( "Search for Addresses in Directory" ), Help | User1 | User2 |
- Cancel, Default, tqparent, name, false, true ),
+ Cancel, Default, parent, name, false, true ),
mAddressBook( ab ), mCore( core ), d( new Private )
{
setButtonCancel( KStdGuiItem::close() );
diff --git a/kaddressbook/ldapsearchdialog.h b/kaddressbook/ldapsearchdialog.h
index 0d9727f6e..04757e51f 100644
--- a/kaddressbook/ldapsearchdialog.h
+++ b/kaddressbook/ldapsearchdialog.h
@@ -53,7 +53,7 @@ class LDAPSearchDialog : public KDialogBase
TQ_OBJECT
public:
- LDAPSearchDialog( KABC::AddressBook *ab, KABCore *core, TQWidget* tqparent, const char* name = 0 );
+ LDAPSearchDialog( KABC::AddressBook *ab, KABCore *core, TQWidget* parent, const char* name = 0 );
~LDAPSearchDialog();
bool isOK() const { return mIsOK; }
diff --git a/kaddressbook/nameeditdialog.cpp b/kaddressbook/nameeditdialog.cpp
index 248c92bdc..4bb6e3700 100644
--- a/kaddressbook/nameeditdialog.cpp
+++ b/kaddressbook/nameeditdialog.cpp
@@ -46,9 +46,9 @@
#include "nameeditdialog.h"
NameEditDialog::NameEditDialog( const KABC::Addressee &addr, int type,
- bool readOnly, TQWidget *tqparent, const char *name )
+ bool readOnly, TQWidget *parent, const char *name )
: KDialogBase( Plain, i18n( "Edit Contact Name" ), Help | Ok | Cancel,
- Ok, tqparent, name, true ), mAddressee( addr )
+ Ok, parent, name, true ), mAddressee( addr )
{
TQWidget *page = plainPage();
TQGridLayout *tqlayout = new TQGridLayout( page );
diff --git a/kaddressbook/nameeditdialog.h b/kaddressbook/nameeditdialog.h
index 8a160073c..09d13c78d 100644
--- a/kaddressbook/nameeditdialog.h
+++ b/kaddressbook/nameeditdialog.h
@@ -54,7 +54,7 @@ class NameEditDialog : public KDialogBase
};
NameEditDialog( const KABC::Addressee &addr, int type,
- bool readOnly, TQWidget *tqparent, const char *name = 0 );
+ bool readOnly, TQWidget *parent, const char *name = 0 );
~NameEditDialog();
TQString familyName() const;
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp
index 4a394621b..5c5733142 100644
--- a/kaddressbook/phoneeditwidget.cpp
+++ b/kaddressbook/phoneeditwidget.cpp
@@ -46,8 +46,8 @@
#include "phoneeditwidget.h"
-PhoneTypeCombo::PhoneTypeCombo( TQWidget *tqparent )
- : KComboBox( tqparent, "TypeCombo" ),
+PhoneTypeCombo::PhoneTypeCombo( TQWidget *parent )
+ : KComboBox( parent, "TypeCombo" ),
mType( KABC::PhoneNumber::Home ),
mLastSelected( 0 ),
mTypeList( KABC::PhoneNumber::typeList() )
@@ -126,8 +126,8 @@ void PhoneTypeCombo::otherSelected()
update();
}
-PhoneNumberWidget::PhoneNumberWidget( TQWidget *tqparent )
- : TQWidget( tqparent )
+PhoneNumberWidget::PhoneNumberWidget( TQWidget *parent )
+ : TQWidget( parent )
{
TQHBoxLayout *tqlayout = new TQHBoxLayout( this, 6, 11 );
@@ -166,8 +166,8 @@ void PhoneNumberWidget::setReadOnly( bool readOnly )
}
-PhoneEditWidget::PhoneEditWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mReadOnly( false )
+PhoneEditWidget::PhoneEditWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mReadOnly( false )
{
TQGridLayout *tqlayout = new TQGridLayout( this, 2, 2 );
tqlayout->setSpacing( KDialog::spacingHint() );
@@ -291,9 +291,9 @@ void PhoneEditWidget::changed( int pos )
///////////////////////////////////////////
// PhoneTypeDialog
-PhoneTypeDialog::PhoneTypeDialog( int type, TQWidget *tqparent )
+PhoneTypeDialog::PhoneTypeDialog( int type, TQWidget *parent )
: KDialogBase( Plain, i18n( "Edit Phone Number" ), Ok | Cancel, Ok,
- tqparent, "PhoneTypeDialog", true ),
+ parent, "PhoneTypeDialog", true ),
mType( type )
{
TQWidget *page = plainPage();
diff --git a/kaddressbook/phoneeditwidget.h b/kaddressbook/phoneeditwidget.h
index aa8eb4d54..a49f4aa9f 100644
--- a/kaddressbook/phoneeditwidget.h
+++ b/kaddressbook/phoneeditwidget.h
@@ -42,7 +42,7 @@ class PhoneTypeCombo : public KComboBox
TQ_OBJECT
public:
- PhoneTypeCombo( TQWidget *tqparent );
+ PhoneTypeCombo( TQWidget *parent );
~PhoneTypeCombo();
void setType( int type );
@@ -69,7 +69,7 @@ class PhoneNumberWidget : public TQWidget
TQ_OBJECT
public:
- PhoneNumberWidget( TQWidget *tqparent );
+ PhoneNumberWidget( TQWidget *parent );
void setNumber( const KABC::PhoneNumber &number );
KABC::PhoneNumber number() const;
@@ -94,7 +94,7 @@ class PhoneEditWidget : public TQWidget
TQ_OBJECT
public:
- PhoneEditWidget( TQWidget *tqparent, const char *name = 0 );
+ PhoneEditWidget( TQWidget *parent, const char *name = 0 );
~PhoneEditWidget();
void setPhoneNumbers( const KABC::PhoneNumber::List &list );
@@ -133,7 +133,7 @@ class PhoneTypeDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- PhoneTypeDialog( int type, TQWidget *tqparent );
+ PhoneTypeDialog( int type, TQWidget *parent );
int type() const;
diff --git a/kaddressbook/printing/detailledstyle.cpp b/kaddressbook/printing/detailledstyle.cpp
index 13e4fb4e4..5d970b3b7 100644
--- a/kaddressbook/printing/detailledstyle.cpp
+++ b/kaddressbook/printing/detailledstyle.cpp
@@ -63,9 +63,9 @@ const char *ContactHeaderForeColor = "ContactHeaderForeColor";
const char *ContactHeaderBGColor = "ContactHeaderBGColor";
-DetailledPrintStyle::DetailledPrintStyle( PrintingWizard *tqparent, const char *name )
- : PrintStyle( tqparent, name ),
- mPageAppearance( new AppearancePage( tqparent, "AppearancePage" ) ),
+DetailledPrintStyle::DetailledPrintStyle( PrintingWizard *parent, const char *name )
+ : PrintStyle( parent, name ),
+ mPageAppearance( new AppearancePage( parent, "AppearancePage" ) ),
mPainter( 0 ),
mPrintProgress( 0 )
{
@@ -272,9 +272,9 @@ bool DetailledPrintStyle::printEntries( const KABC::Addressee::List &contacts,
return true;
}
-DetailledPrintStyleFactory::DetailledPrintStyleFactory( PrintingWizard *tqparent,
+DetailledPrintStyleFactory::DetailledPrintStyleFactory( PrintingWizard *parent,
const char *name )
- : PrintStyleFactory( tqparent, name )
+ : PrintStyleFactory( parent, name )
{
}
diff --git a/kaddressbook/printing/detailledstyle.h b/kaddressbook/printing/detailledstyle.h
index 977bcd494..7ae1afde8 100644
--- a/kaddressbook/printing/detailledstyle.h
+++ b/kaddressbook/printing/detailledstyle.h
@@ -39,7 +39,7 @@ class DetailledPrintStyle : public PrintStyle
TQ_OBJECT
public:
- DetailledPrintStyle( PrintingWizard *tqparent, const char *name = 0 );
+ DetailledPrintStyle( PrintingWizard *parent, const char *name = 0 );
~DetailledPrintStyle();
void print( const KABC::Addressee::List &contacts, PrintProgress* );
@@ -58,7 +58,7 @@ class DetailledPrintStyle : public PrintStyle
class DetailledPrintStyleFactory : public PrintStyleFactory
{
public:
- DetailledPrintStyleFactory( PrintingWizard *tqparent, const char *name = 0 );
+ DetailledPrintStyleFactory( PrintingWizard *parent, const char *name = 0 );
PrintStyle *create() const;
TQString description() const;
diff --git a/kaddressbook/printing/mikesstyle.cpp b/kaddressbook/printing/mikesstyle.cpp
index 2301bb16c..746677ec8 100644
--- a/kaddressbook/printing/mikesstyle.cpp
+++ b/kaddressbook/printing/mikesstyle.cpp
@@ -43,8 +43,8 @@ using namespace KABPrinting;
const int mFieldSpacingHint = 2;
-MikesStyle::MikesStyle( PrintingWizard *tqparent, const char *name )
- : PrintStyle( tqparent, name )
+MikesStyle::MikesStyle( PrintingWizard *parent, const char *name )
+ : PrintStyle( parent, name )
{
setPreview( "mike-style.png" );
}
@@ -244,8 +244,8 @@ int MikesStyle::calcHeight( const KABC::Addressee &addr,
}
-MikesStyleFactory::MikesStyleFactory( PrintingWizard *tqparent, const char *name )
- : PrintStyleFactory( tqparent, name )
+MikesStyleFactory::MikesStyleFactory( PrintingWizard *parent, const char *name )
+ : PrintStyleFactory( parent, name )
{
}
diff --git a/kaddressbook/printing/mikesstyle.h b/kaddressbook/printing/mikesstyle.h
index 6b61287d6..d8c4e5ce7 100644
--- a/kaddressbook/printing/mikesstyle.h
+++ b/kaddressbook/printing/mikesstyle.h
@@ -39,7 +39,7 @@ class MikesStyle : public PrintStyle
TQ_OBJECT
public:
- MikesStyle( PrintingWizard *tqparent, const char *name );
+ MikesStyle( PrintingWizard *parent, const char *name );
~MikesStyle();
void print( const KABC::Addressee::List&, PrintProgress* );
@@ -55,7 +55,7 @@ class MikesStyle : public PrintStyle
class MikesStyleFactory : public PrintStyleFactory
{
public:
- MikesStyleFactory( PrintingWizard *tqparent, const char *name = 0 );
+ MikesStyleFactory( PrintingWizard *parent, const char *name = 0 );
PrintStyle *create() const;
TQString description() const;
diff --git a/kaddressbook/printing/printingwizard.cpp b/kaddressbook/printing/printingwizard.cpp
index e42621dee..1ea33d53b 100644
--- a/kaddressbook/printing/printingwizard.cpp
+++ b/kaddressbook/printing/printingwizard.cpp
@@ -53,9 +53,9 @@
using namespace KABPrinting;
PrintingWizard::PrintingWizard( KPrinter *printer, KABC::AddressBook* ab,
- const TQStringList& selection, TQWidget *tqparent,
+ const TQStringList& selection, TQWidget *parent,
const char* name )
- : KWizard( tqparent, name ), mPrinter( printer ), mAddressBook( ab ),
+ : KWizard( parent, name ), mPrinter( printer ), mAddressBook( ab ),
mSelection( selection ), mStyle( 0 )
{
mSelectionPage = new SelectionPage( this );
diff --git a/kaddressbook/printing/printingwizard.h b/kaddressbook/printing/printingwizard.h
index 54442075c..16b8e982d 100644
--- a/kaddressbook/printing/printingwizard.h
+++ b/kaddressbook/printing/printingwizard.h
@@ -59,7 +59,7 @@ class PrintingWizard : public KWizard
PrintingWizard( KPrinter *printer,
KABC::AddressBook* ab,
const TQStringList& selection,
- TQWidget *tqparent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
~PrintingWizard();
/**
diff --git a/kaddressbook/printing/printprogress.cpp b/kaddressbook/printing/printprogress.cpp
index 9e0e3aa91..3a9c00d19 100644
--- a/kaddressbook/printing/printprogress.cpp
+++ b/kaddressbook/printing/printprogress.cpp
@@ -34,8 +34,8 @@
using namespace KABPrinting;
-PrintProgress::PrintProgress( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+PrintProgress::PrintProgress( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
setCaption( i18n( "Printing: Progress" ) );
diff --git a/kaddressbook/printing/printprogress.h b/kaddressbook/printing/printprogress.h
index a27c5fc3f..f4e726589 100644
--- a/kaddressbook/printing/printprogress.h
+++ b/kaddressbook/printing/printprogress.h
@@ -43,7 +43,7 @@ class PrintProgress : public TQWidget
TQ_OBJECT
public:
- PrintProgress( TQWidget *tqparent, const char *name = 0 );
+ PrintProgress( TQWidget *parent, const char *name = 0 );
~PrintProgress();
/**
diff --git a/kaddressbook/printing/printstyle.cpp b/kaddressbook/printing/printstyle.cpp
index 1c0c79710..9387db325 100644
--- a/kaddressbook/printing/printstyle.cpp
+++ b/kaddressbook/printing/printstyle.cpp
@@ -32,8 +32,8 @@
using namespace KABPrinting;
-PrintStyle::PrintStyle( PrintingWizard* tqparent, const char* name )
- : TQObject( tqparent, name ), mWizard( tqparent ), mSortField( 0 )
+PrintStyle::PrintStyle( PrintingWizard* parent, const char* name )
+ : TQObject( parent, name ), mWizard( parent ), mSortField( 0 )
{
}
@@ -118,8 +118,8 @@ bool PrintStyle::preferredSortType()
return mSortType;
}
-PrintStyleFactory::PrintStyleFactory( PrintingWizard* tqparent, const char* name )
- : mParent( tqparent ), mName( name )
+PrintStyleFactory::PrintStyleFactory( PrintingWizard* parent, const char* name )
+ : mParent( parent ), mName( name )
{
}
diff --git a/kaddressbook/printing/printstyle.h b/kaddressbook/printing/printstyle.h
index f7e471e25..e7e6d9310 100644
--- a/kaddressbook/printing/printstyle.h
+++ b/kaddressbook/printing/printstyle.h
@@ -63,7 +63,7 @@ class PrintStyle : public TQObject
TQ_OBJECT
public:
- PrintStyle( PrintingWizard* tqparent, const char* name = 0 );
+ PrintStyle( PrintingWizard* parent, const char* name = 0 );
virtual ~PrintStyle();
/**
@@ -151,7 +151,7 @@ class PrintStyle : public TQObject
class PrintStyleFactory
{
public:
- PrintStyleFactory( PrintingWizard* tqparent, const char* name = 0 );
+ PrintStyleFactory( PrintingWizard* parent, const char* name = 0 );
virtual ~PrintStyleFactory();
virtual PrintStyle *create() const = 0;
diff --git a/kaddressbook/printing/selectionpage.cpp b/kaddressbook/printing/selectionpage.cpp
index 516431a55..e71c27891 100644
--- a/kaddressbook/printing/selectionpage.cpp
+++ b/kaddressbook/printing/selectionpage.cpp
@@ -38,8 +38,8 @@
#include "selectionpage.h"
-SelectionPage::SelectionPage( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name )
+SelectionPage::SelectionPage( TQWidget* parent, const char* name )
+ : TQWidget( parent, name )
{
setCaption( i18n( "Choose Which Contacts to Print" ) );
diff --git a/kaddressbook/printing/selectionpage.h b/kaddressbook/printing/selectionpage.h
index dded01ecd..8e566f33b 100644
--- a/kaddressbook/printing/selectionpage.h
+++ b/kaddressbook/printing/selectionpage.h
@@ -38,7 +38,7 @@ class SelectionPage : public TQWidget
TQ_OBJECT
public:
- SelectionPage( TQWidget* tqparent = 0, const char* name = 0 );
+ SelectionPage( TQWidget* parent = 0, const char* name = 0 );
~SelectionPage();
void setFilters( const TQStringList& );
diff --git a/kaddressbook/printing/stylepage.cpp b/kaddressbook/printing/stylepage.cpp
index 760f71d6c..b1c29b464 100644
--- a/kaddressbook/printing/stylepage.cpp
+++ b/kaddressbook/printing/stylepage.cpp
@@ -34,8 +34,8 @@
#include "stylepage.h"
-StylePage::StylePage( KABC::AddressBook *ab, TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name ), mAddressBook( ab )
+StylePage::StylePage( KABC::AddressBook *ab, TQWidget* parent, const char* name )
+ : TQWidget( parent, name ), mAddressBook( ab )
{
initGUI();
diff --git a/kaddressbook/printing/stylepage.h b/kaddressbook/printing/stylepage.h
index 24d424597..920d9a9d0 100644
--- a/kaddressbook/printing/stylepage.h
+++ b/kaddressbook/printing/stylepage.h
@@ -41,7 +41,7 @@ class StylePage : public TQWidget
TQ_OBJECT
public:
- StylePage( KABC::AddressBook *ab, TQWidget* tqparent = 0, const char* name = 0 );
+ StylePage( KABC::AddressBook *ab, TQWidget* parent = 0, const char* name = 0 );
~StylePage();
/**
diff --git a/kaddressbook/searchmanager.cpp b/kaddressbook/searchmanager.cpp
index 7a24e1b9d..3bad8eb73 100644
--- a/kaddressbook/searchmanager.cpp
+++ b/kaddressbook/searchmanager.cpp
@@ -30,8 +30,8 @@
using namespace KAB;
SearchManager::SearchManager( KABC::AddressBook *ab,
- TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), mAddressBook( ab )
+ TQObject *parent, const char *name )
+ : TQObject( parent, name ), mAddressBook( ab )
{
}
diff --git a/kaddressbook/searchmanager.h b/kaddressbook/searchmanager.h
index 8443c7d36..d605ecf75 100644
--- a/kaddressbook/searchmanager.h
+++ b/kaddressbook/searchmanager.h
@@ -48,7 +48,7 @@ class SearchManager : public TQObject
};
SearchManager( KABC::AddressBook *ab,
- TQObject *tqparent, const char *name = 0 );
+ TQObject *parent, const char *name = 0 );
/**
This method takes a pattern and searches for a match of the specified
diff --git a/kaddressbook/secrecywidget.cpp b/kaddressbook/secrecywidget.cpp
index 34ff25ebf..29942cb71 100644
--- a/kaddressbook/secrecywidget.cpp
+++ b/kaddressbook/secrecywidget.cpp
@@ -29,8 +29,8 @@
#include "secrecywidget.h"
-SecrecyWidget::SecrecyWidget( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+SecrecyWidget::SecrecyWidget( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/secrecywidget.h b/kaddressbook/secrecywidget.h
index 40492587e..c872eb2c4 100644
--- a/kaddressbook/secrecywidget.h
+++ b/kaddressbook/secrecywidget.h
@@ -35,7 +35,7 @@ class SecrecyWidget : public TQWidget
TQ_OBJECT
public:
- SecrecyWidget( TQWidget *tqparent, const char *name = 0 );
+ SecrecyWidget( TQWidget *parent, const char *name = 0 );
~SecrecyWidget();
void setSecrecy( const KABC::Secrecy &secrecy );
diff --git a/kaddressbook/simpleaddresseeeditor.cpp b/kaddressbook/simpleaddresseeeditor.cpp
index d5eb004d5..3a371dc67 100644
--- a/kaddressbook/simpleaddresseeeditor.cpp
+++ b/kaddressbook/simpleaddresseeeditor.cpp
@@ -30,8 +30,8 @@
#include "simpleaddresseeeditor.h"
-SimpleAddresseeEditor::SimpleAddresseeEditor( TQWidget *tqparent, const char *name )
- : AddresseeEditorBase( tqparent, name ),
+SimpleAddresseeEditor::SimpleAddresseeEditor( TQWidget *parent, const char *name )
+ : AddresseeEditorBase( parent, name ),
mDirty( false ),
mBlockModified( false )
{
diff --git a/kaddressbook/simpleaddresseeeditor.h b/kaddressbook/simpleaddresseeeditor.h
index 2ea10a822..fbc5d60d7 100644
--- a/kaddressbook/simpleaddresseeeditor.h
+++ b/kaddressbook/simpleaddresseeeditor.h
@@ -34,7 +34,7 @@ class SimpleAddresseeEditor : public AddresseeEditorBase
Q_OBJECT
TQ_OBJECT
public:
- SimpleAddresseeEditor( TQWidget *tqparent, const char *name = 0 );
+ SimpleAddresseeEditor( TQWidget *parent, const char *name = 0 );
~SimpleAddresseeEditor();
void setAddressee( const KABC::Addressee& );
diff --git a/kaddressbook/soundwidget.cpp b/kaddressbook/soundwidget.cpp
index bb0956363..e50e129ba 100644
--- a/kaddressbook/soundwidget.cpp
+++ b/kaddressbook/soundwidget.cpp
@@ -39,8 +39,8 @@
#include "soundwidget.h"
-SoundWidget::SoundWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::ContactEditorWidget( ab, tqparent, name ), mReadOnly( false )
+SoundWidget::SoundWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::ContactEditorWidget( ab, parent, name ), mReadOnly( false )
{
TQGridLayout *topLayout = new TQGridLayout( this, 2, 3, KDialog::marginHint(),
KDialog::spacingHint() );
diff --git a/kaddressbook/soundwidget.h b/kaddressbook/soundwidget.h
index 66fb74779..c589ec5bb 100644
--- a/kaddressbook/soundwidget.h
+++ b/kaddressbook/soundwidget.h
@@ -39,7 +39,7 @@ class SoundWidget : public KAB::ContactEditorWidget
TQ_OBJECT
public:
- SoundWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ SoundWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
~SoundWidget();
void loadContact( KABC::Addressee *addr );
@@ -65,9 +65,9 @@ class SoundWidget : public KAB::ContactEditorWidget
class SoundWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
{
- return new SoundWidget( ab, tqparent, name );
+ return new SoundWidget( ab, parent, name );
}
TQString pageIdentifier() const { return "misc"; }
diff --git a/kaddressbook/typecombo.h b/kaddressbook/typecombo.h
index 29266fa82..2ff6591c7 100644
--- a/kaddressbook/typecombo.h
+++ b/kaddressbook/typecombo.h
@@ -37,7 +37,7 @@ class TypeCombo : public KComboBox
typedef typename T::List List;
typedef typename T::List::Iterator Iterator;
- TypeCombo( List &list, TQWidget *tqparent, const char *name = 0 );
+ TypeCombo( List &list, TQWidget *parent, const char *name = 0 );
void setLineEdit( TQLineEdit *edit ) { mLineEdit = edit; }
TQLineEdit *lineEdit() const { return mLineEdit; }
@@ -62,9 +62,9 @@ class TypeCombo : public KComboBox
};
template <class T>
-TypeCombo<T>::TypeCombo( TypeCombo::List &list, TQWidget *tqparent,
+TypeCombo<T>::TypeCombo( TypeCombo::List &list, TQWidget *parent,
const char *name )
- : KComboBox( tqparent, name ),
+ : KComboBox( parent, name ),
mTypeList( list )
{
}
diff --git a/kaddressbook/viewconfigurefieldspage.cpp b/kaddressbook/viewconfigurefieldspage.cpp
index 7951bc770..9ab4b26e2 100644
--- a/kaddressbook/viewconfigurefieldspage.cpp
+++ b/kaddressbook/viewconfigurefieldspage.cpp
@@ -39,11 +39,11 @@
class FieldItem : public TQListBoxText
{
public:
- FieldItem( TQListBox *tqparent, KABC::Field *field )
- : TQListBoxText( tqparent, field->label() ), mField( field ) {}
+ FieldItem( TQListBox *parent, KABC::Field *field )
+ : TQListBoxText( parent, field->label() ), mField( field ) {}
- FieldItem( TQListBox *tqparent, KABC::Field *field, int index )
- : TQListBoxText( tqparent, field->label(), tqparent->item( index ) ),
+ FieldItem( TQListBox *parent, KABC::Field *field, int index )
+ : TQListBoxText( parent, field->label(), parent->item( index ) ),
mField( field ) {}
KABC::Field *field() { return mField; }
@@ -54,9 +54,9 @@ class FieldItem : public TQListBoxText
ViewConfigureFieldsPage::ViewConfigureFieldsPage( KABC::AddressBook *ab,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name ), mAddressBook( ab )
+ : TQWidget( parent, name ), mAddressBook( ab )
{
initGUI();
}
diff --git a/kaddressbook/viewconfigurefieldspage.h b/kaddressbook/viewconfigurefieldspage.h
index 991a7e1c7..3eac607e2 100644
--- a/kaddressbook/viewconfigurefieldspage.h
+++ b/kaddressbook/viewconfigurefieldspage.h
@@ -41,7 +41,7 @@ class ViewConfigureFieldsPage : public TQWidget
TQ_OBJECT
public:
- ViewConfigureFieldsPage( KABC::AddressBook *ab, TQWidget *tqparent = 0,
+ ViewConfigureFieldsPage( KABC::AddressBook *ab, TQWidget *parent = 0,
const char *name = 0 );
void restoreSettings( KConfig* );
diff --git a/kaddressbook/viewconfigurefilterpage.cpp b/kaddressbook/viewconfigurefilterpage.cpp
index fe9cf4418..83c358f3e 100644
--- a/kaddressbook/viewconfigurefilterpage.cpp
+++ b/kaddressbook/viewconfigurefilterpage.cpp
@@ -34,9 +34,9 @@
#include "viewconfigurefilterpage.h"
#include "filter.h"
-ViewConfigureFilterPage::ViewConfigureFilterPage( TQWidget *tqparent,
+ViewConfigureFilterPage::ViewConfigureFilterPage( TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name )
+ : TQWidget( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
diff --git a/kaddressbook/viewconfigurefilterpage.h b/kaddressbook/viewconfigurefilterpage.h
index 4459a1cea..104db3ed4 100644
--- a/kaddressbook/viewconfigurefilterpage.h
+++ b/kaddressbook/viewconfigurefilterpage.h
@@ -37,7 +37,7 @@ class ViewConfigureFilterPage : public TQWidget
TQ_OBJECT
public:
- ViewConfigureFilterPage( TQWidget *tqparent, const char *name = 0 );
+ ViewConfigureFilterPage( TQWidget *parent, const char *name = 0 );
~ViewConfigureFilterPage();
void restoreSettings( KConfig* );
diff --git a/kaddressbook/viewconfigurewidget.cpp b/kaddressbook/viewconfigurewidget.cpp
index 1045988c2..efefbd818 100644
--- a/kaddressbook/viewconfigurewidget.cpp
+++ b/kaddressbook/viewconfigurewidget.cpp
@@ -37,9 +37,9 @@
#include "viewconfigurewidget.h"
-ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, TQWidget *tqparent,
+ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name )
- : KAB::ConfigureWidget( ab, tqparent, name )
+ : KAB::ConfigureWidget( ab, parent, name )
{
TQVBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -85,9 +85,9 @@ TQVBox *ViewConfigureWidget::addPage( const TQString &item, const TQString &head
}
ViewConfigureDialog::ViewConfigureDialog( ViewConfigureWidget *wdg, const TQString &viewName,
- TQWidget *tqparent, const char *name )
+ TQWidget *parent, const char *name )
: KDialogBase( Swallow, i18n( "Modify View: " ) + viewName, Help | Ok | Cancel,
- Ok, tqparent, name, true, true ), mConfigWidget( wdg )
+ Ok, parent, name, true, true ), mConfigWidget( wdg )
{
setMainWidget( mConfigWidget );
diff --git a/kaddressbook/viewconfigurewidget.h b/kaddressbook/viewconfigurewidget.h
index 7abcf22f4..63ed11167 100644
--- a/kaddressbook/viewconfigurewidget.h
+++ b/kaddressbook/viewconfigurewidget.h
@@ -51,7 +51,7 @@ class KDE_EXPORT ViewConfigureWidget : public KAB::ConfigureWidget
TQ_OBJECT
public:
- ViewConfigureWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ ViewConfigureWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
virtual ~ViewConfigureWidget();
/**
@@ -92,7 +92,7 @@ class ViewConfigureDialog : public KDialogBase
public:
ViewConfigureDialog( ViewConfigureWidget *wdg, const TQString &viewName,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
~ViewConfigureDialog();
void restoreSettings( KConfig* );
diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp
index 646fbbae9..c21e4b2cf 100644
--- a/kaddressbook/viewmanager.cpp
+++ b/kaddressbook/viewmanager.cpp
@@ -49,8 +49,8 @@
#include "viewmanager.h"
-ViewManager::ViewManager( KAB::Core *core, TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mCore( core ), mActiveView( 0 ),
+ViewManager::ViewManager( KAB::Core *core, TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mCore( core ), mActiveView( 0 ),
mFilterSelectionWidget( 0 )
{
initGUI();
diff --git a/kaddressbook/viewmanager.h b/kaddressbook/viewmanager.h
index 15fd68fdd..d0a133408 100644
--- a/kaddressbook/viewmanager.h
+++ b/kaddressbook/viewmanager.h
@@ -53,7 +53,7 @@ class ViewManager : public TQWidget
TQ_OBJECT
public:
- ViewManager( KAB::Core *core, TQWidget *tqparent, const char *name = 0 );
+ ViewManager( KAB::Core *core, TQWidget *parent, const char *name = 0 );
~ViewManager();
void restoreSettings();
diff --git a/kaddressbook/views/cardview.cpp b/kaddressbook/views/cardview.cpp
index b790b0c3f..df956398e 100644
--- a/kaddressbook/views/cardview.cpp
+++ b/kaddressbook/views/cardview.cpp
@@ -42,8 +42,8 @@
class CardViewTip : public TQLabel
{
public:
- CardViewTip( TQWidget *tqparent = 0, const char *name = 0 )
- : TQLabel( tqparent, name )
+ CardViewTip( TQWidget *parent = 0, const char *name = 0 )
+ : TQLabel( parent, name )
{
setPalette( TQToolTip::palette() );
setFrameStyle( Panel | Plain );
@@ -192,8 +192,8 @@ class CardViewItemPrivate
};
-CardViewItem::CardViewItem( CardView *tqparent, const TQString &caption )
- : d( new CardViewItemPrivate() ), mView( tqparent )
+CardViewItem::CardViewItem( CardView *parent, const TQString &caption )
+ : d( new CardViewItemPrivate() ), mView( parent )
{
d->mCaption = caption;
@@ -569,8 +569,8 @@ CardViewItem::Field *CardViewItem::fieldAt( const TQPoint & itempos ) const
}
-CardView::CardView( TQWidget *tqparent, const char *name )
- : TQScrollView( tqparent, name ),
+CardView::CardView( TQWidget *parent, const char *name )
+ : TQScrollView( parent, name ),
d( new CardViewPrivate() )
{
d->mItemList.setAutoDelete( true );
diff --git a/kaddressbook/views/cardview.h b/kaddressbook/views/cardview.h
index e2229dd2d..e3c29e5a4 100644
--- a/kaddressbook/views/cardview.h
+++ b/kaddressbook/views/cardview.h
@@ -60,12 +60,12 @@ class CardViewItem
/**
Constructor.
- @param tqparent The CardView that this card should be displayed on.
+ @param parent The CardView that this card should be displayed on.
@param caption The caption of the card. This is the text that will
appear at the top of the card. This is also the string that will
be used to sort the cards in the view.
*/
- CardViewItem( CardView *tqparent, const TQString &caption = TQString() );
+ CardViewItem( CardView *parent, const TQString &caption = TQString() );
virtual ~CardViewItem();
/**
@@ -129,7 +129,7 @@ class CardViewItem
bool isSelected() const;
/**
- Called by the tqparent card view when the mouse has been resting for
+ Called by the parent card view when the mouse has been resting for
a certain amount of time. If the label or value at pos is obscured
(trimmed) make the label display the full text.
*/
@@ -202,12 +202,12 @@ class CardView : public TQScrollView
/**
Constructor.
*/
- CardView( TQWidget *tqparent, const char *name );
+ CardView( TQWidget *parent, const char *name );
virtual ~CardView();
/**
Inserts the item into the card view. This method does not have
- to be called if you created the item with a proper tqparent. Once
+ to be called if you created the item with a proper parent. Once
inserted, the CardView takes ownership of the item.
*/
void insertItem( CardViewItem *item );
diff --git a/kaddressbook/views/colorlistbox.cpp b/kaddressbook/views/colorlistbox.cpp
index df190d3c6..a003246f4 100644
--- a/kaddressbook/views/colorlistbox.cpp
+++ b/kaddressbook/views/colorlistbox.cpp
@@ -25,8 +25,8 @@
#include "colorlistbox.h"
-ColorListBox::ColorListBox( TQWidget *tqparent, const char *name, WFlags f )
- :KListBox( tqparent, name, f ), mCurrentOnDragEnter(-1)
+ColorListBox::ColorListBox( TQWidget *parent, const char *name, WFlags f )
+ :KListBox( parent, name, f ), mCurrentOnDragEnter(-1)
{
connect( this, TQT_SIGNAL(selected(int)), this, TQT_SLOT(newColor(int)) );
setAcceptDrops( true);
diff --git a/kaddressbook/views/colorlistbox.h b/kaddressbook/views/colorlistbox.h
index 566ec8b0a..acccd0b00 100644
--- a/kaddressbook/views/colorlistbox.h
+++ b/kaddressbook/views/colorlistbox.h
@@ -29,7 +29,7 @@ class ColorListBox : public KListBox
TQ_OBJECT
public:
- ColorListBox( TQWidget *tqparent=0, const char * name=0, WFlags f=0 );
+ ColorListBox( TQWidget *parent=0, const char * name=0, WFlags f=0 );
void setColor( uint index, const TQColor &color );
TQColor color( uint index ) const;
diff --git a/kaddressbook/views/configurecardviewdialog.cpp b/kaddressbook/views/configurecardviewdialog.cpp
index 846be3898..8cacbfec6 100644
--- a/kaddressbook/views/configurecardviewdialog.cpp
+++ b/kaddressbook/views/configurecardviewdialog.cpp
@@ -47,9 +47,9 @@
/////////////////////////////////
// ConfigureCardViewDialog
-ConfigureCardViewWidget::ConfigureCardViewWidget( KABC::AddressBook *ab, TQWidget *tqparent,
+ConfigureCardViewWidget::ConfigureCardViewWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name )
- : ViewConfigureWidget( ab, tqparent, name )
+ : ViewConfigureWidget( ab, parent, name )
{
TQWidget *page = addPage( i18n( "Look & Feel" ), TQString(),
DesktopIcon( "looknfeel" ) );
@@ -76,8 +76,8 @@ void ConfigureCardViewWidget::saveSettings( KConfig *config )
////////////////////////
// CardViewLookNFeelPage
-CardViewLookNFeelPage::CardViewLookNFeelPage( TQWidget *tqparent, const char *name )
- : TQVBox( tqparent, name )
+CardViewLookNFeelPage::CardViewLookNFeelPage( TQWidget *parent, const char *name )
+ : TQVBox( parent, name )
{
initGUI();
}
diff --git a/kaddressbook/views/configurecardviewdialog.h b/kaddressbook/views/configurecardviewdialog.h
index 52ec9cbbe..40ddfe4fa 100644
--- a/kaddressbook/views/configurecardviewdialog.h
+++ b/kaddressbook/views/configurecardviewdialog.h
@@ -48,7 +48,7 @@ class CardViewLookAndFeelPage;
class ConfigureCardViewWidget : public ViewConfigureWidget
{
public:
- ConfigureCardViewWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name );
+ ConfigureCardViewWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name );
virtual ~ConfigureCardViewWidget();
virtual void restoreSettings( KConfig* );
@@ -83,7 +83,7 @@ class CardViewLookNFeelPage : public TQVBox {
TQ_OBJECT
public:
- CardViewLookNFeelPage( TQWidget *tqparent=0, const char *name=0 );
+ CardViewLookNFeelPage( TQWidget *parent=0, const char *name=0 );
~CardViewLookNFeelPage();
void restoreSettings( KConfig* );
diff --git a/kaddressbook/views/configuretableviewdialog.cpp b/kaddressbook/views/configuretableviewdialog.cpp
index 179a819a9..b5fb9ded2 100644
--- a/kaddressbook/views/configuretableviewdialog.cpp
+++ b/kaddressbook/views/configuretableviewdialog.cpp
@@ -41,9 +41,9 @@
#include "configuretableviewdialog.h"
ConfigureTableViewWidget::ConfigureTableViewWidget( KABC::AddressBook *ab,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name )
- : ViewConfigureWidget( ab, tqparent, name )
+ : ViewConfigureWidget( ab, parent, name )
{
TQWidget *page = addPage( i18n( "Look & Feel" ), TQString(),
KGlobal::iconLoader()->loadIcon( "looknfeel",
@@ -72,8 +72,8 @@ void ConfigureTableViewWidget::saveSettings( KConfig *config )
-LookAndFeelPage::LookAndFeelPage(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent, name)
+LookAndFeelPage::LookAndFeelPage(TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
initGUI();
diff --git a/kaddressbook/views/configuretableviewdialog.h b/kaddressbook/views/configuretableviewdialog.h
index a0228cba6..3533ae0d3 100644
--- a/kaddressbook/views/configuretableviewdialog.h
+++ b/kaddressbook/views/configuretableviewdialog.h
@@ -45,7 +45,7 @@ class LookAndFeelPage;
class ConfigureTableViewWidget : public ViewConfigureWidget
{
public:
- ConfigureTableViewWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name );
+ ConfigureTableViewWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name );
virtual ~ConfigureTableViewWidget();
virtual void restoreSettings( KConfig* );
@@ -66,7 +66,7 @@ class LookAndFeelPage : public TQWidget
TQ_OBJECT
public:
- LookAndFeelPage( TQWidget *tqparent, const char *name = 0 );
+ LookAndFeelPage( TQWidget *parent, const char *name = 0 );
~LookAndFeelPage() {}
void restoreSettings( KConfig* );
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp
index eab88e2e3..47a1e86e1 100644
--- a/kaddressbook/views/contactlistview.cpp
+++ b/kaddressbook/views/contactlistview.cpp
@@ -47,8 +47,8 @@
/////////////////////////////////
// DynamicTip Methods
-DynamicTip::DynamicTip( ContactListView *tqparent)
- : TQToolTip( tqparent )
+DynamicTip::DynamicTip( ContactListView *parent)
+ : TQToolTip( parent )
{
}
@@ -147,12 +147,12 @@ void DynamicTip::maybeTip( const TQPoint &pos )
// ContactListViewItem Methods
ContactListViewItem::ContactListViewItem(const KABC::Addressee &a,
- ContactListView *tqparent,
+ ContactListView *parent,
KABC::AddressBook *doc,
const KABC::Field::List &fields,
KIMProxy *proxy )
- : KListViewItem(tqparent), mAddressee(a), mFields( fields ),
- parentListView( tqparent ), mDocument(doc), mIMProxy( proxy )
+ : KListViewItem(parent), mAddressee(a), mFields( fields ),
+ parentListView( parent ), mDocument(doc), mIMProxy( proxy )
{
if ( mIMProxy )
mHasIM = mIMProxy->isPresent( mAddressee.uid() );
@@ -208,7 +208,7 @@ void ContactListViewItem::paintCell(TQPainter * p,
}
-ContactListView *ContactListViewItem::tqparent()
+ContactListView *ContactListViewItem::parent()
{
return parentListView;
}
@@ -258,9 +258,9 @@ void ContactListViewItem::setHasIM( bool hasIM )
ContactListView::ContactListView(KAddressBookTableView *view,
KABC::AddressBook* /* doc */,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name )
- : KListView( tqparent, name ),
+ : KListView( parent, name ),
pabWidget( view ),
oldColumn( 0 )
{
diff --git a/kaddressbook/views/contactlistview.h b/kaddressbook/views/contactlistview.h
index 5492b9161..96966d5ca 100644
--- a/kaddressbook/views/contactlistview.h
+++ b/kaddressbook/views/contactlistview.h
@@ -44,7 +44,7 @@ class KIMProxy;
class DynamicTip : public TQToolTip
{
public:
- DynamicTip( ContactListView * tqparent );
+ DynamicTip( ContactListView * parent );
protected:
void maybeTip( const TQPoint & );
@@ -56,11 +56,11 @@ class ContactListViewItem : public KListViewItem
{
public:
- ContactListViewItem(const KABC::Addressee &a, ContactListView* tqparent,
+ ContactListViewItem(const KABC::Addressee &a, ContactListView* parent,
KABC::AddressBook *doc, const KABC::Field::List &fields, KIMProxy *proxy );
const KABC::Addressee &addressee() const { return mAddressee; }
virtual void refresh();
- virtual ContactListView* tqparent();
+ virtual ContactListView* parent();
virtual TQString key ( int, bool ) const;
void setHasIM( bool hasIM );
/** Adds the border around the cell if the user wants it.
@@ -90,7 +90,7 @@ class ContactListView : public KListView
public:
ContactListView(KAddressBookTableView *view,
KABC::AddressBook *doc,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name = 0L );
virtual ~ContactListView() {}
//void resort();
diff --git a/kaddressbook/views/kaddressbookcardview.cpp b/kaddressbook/views/kaddressbookcardview.cpp
index 1c7f2806d..211b62dd4 100644
--- a/kaddressbook/views/kaddressbookcardview.cpp
+++ b/kaddressbook/views/kaddressbookcardview.cpp
@@ -43,19 +43,19 @@
class CardViewFactory : public ViewFactory
{
public:
- KAddressBookView *view( KAB::Core *core, TQWidget *tqparent, const char *name )
+ KAddressBookView *view( KAB::Core *core, TQWidget *parent, const char *name )
{
- return new KAddressBookCardView( core, tqparent, name );
+ return new KAddressBookCardView( core, parent, name );
}
TQString type() const { return I18N_NOOP("Card"); }
TQString description() const { return i18n( "Rolodex style cards represent contacts." ); }
- ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *tqparent,
+ ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name = 0 )
{
- return new ConfigureCardViewWidget( ab, tqparent, name );
+ return new ConfigureCardViewWidget( ab, parent, name );
}
};
@@ -72,8 +72,8 @@ class AddresseeCardViewItem : public CardViewItem
AddresseeCardViewItem( const KABC::Field::List &fields,
bool showEmptyFields,
KABC::AddressBook *doc, const KABC::Addressee &addr,
- CardView *tqparent )
- : CardViewItem( tqparent, addr.realName() ),
+ CardView *parent )
+ : CardViewItem( parent, addr.realName() ),
mFields( fields ), mShowEmptyFields( showEmptyFields ),
mDocument( doc ), mAddressee( addr )
{
@@ -116,8 +116,8 @@ class AddresseeCardViewItem : public CardViewItem
};
-AddresseeCardView::AddresseeCardView( TQWidget *tqparent, const char *name )
- : CardView( tqparent, name )
+AddresseeCardView::AddresseeCardView( TQWidget *parent, const char *name )
+ : CardView( parent, name )
{
setAcceptDrops( true );
}
@@ -144,8 +144,8 @@ void AddresseeCardView::startDrag()
KAddressBookCardView::KAddressBookCardView( KAB::Core *core,
- TQWidget *tqparent, const char *name )
- : KAddressBookView( core, tqparent, name )
+ TQWidget *parent, const char *name )
+ : KAddressBookView( core, parent, name )
{
mShowEmptyFields = false;
diff --git a/kaddressbook/views/kaddressbookcardview.h b/kaddressbook/views/kaddressbookcardview.h
index 9ccc8a40e..128b146a9 100644
--- a/kaddressbook/views/kaddressbookcardview.h
+++ b/kaddressbook/views/kaddressbookcardview.h
@@ -46,7 +46,7 @@ class KAddressBookCardView : public KAddressBookView
TQ_OBJECT
public:
- KAddressBookCardView( KAB::Core *core, TQWidget *tqparent,
+ KAddressBookCardView( KAB::Core *core, TQWidget *parent,
const char *name = 0 );
virtual ~KAddressBookCardView();
@@ -80,7 +80,7 @@ class AddresseeCardView : public CardView
Q_OBJECT
TQ_OBJECT
public:
- AddresseeCardView( TQWidget *tqparent, const char *name = 0 );
+ AddresseeCardView( TQWidget *parent, const char *name = 0 );
~AddresseeCardView();
signals:
diff --git a/kaddressbook/views/kaddressbookiconview.cpp b/kaddressbook/views/kaddressbookiconview.cpp
index 16fe5cad0..b99bca85c 100644
--- a/kaddressbook/views/kaddressbookiconview.cpp
+++ b/kaddressbook/views/kaddressbookiconview.cpp
@@ -42,9 +42,9 @@
class IconViewFactory : public ViewFactory
{
public:
- KAddressBookView *view( KAB::Core *core, TQWidget *tqparent, const char *name )
+ KAddressBookView *view( KAB::Core *core, TQWidget *parent, const char *name )
{
- return new KAddressBookIconView( core, tqparent, name );
+ return new KAddressBookIconView( core, parent, name );
}
TQString type() const { return I18N_NOOP( "Icon" ); }
@@ -59,8 +59,8 @@ extern "C" {
}
}
-AddresseeIconView::AddresseeIconView( TQWidget *tqparent, const char *name )
- : KIconView( tqparent, name )
+AddresseeIconView::AddresseeIconView( TQWidget *parent, const char *name )
+ : KIconView( parent, name )
{
setSelectionMode( TQIconView::Extended );
setResizeMode( TQIconView::Adjust );
@@ -96,8 +96,8 @@ class AddresseeIconViewItem : public KIconViewItem
{
public:
AddresseeIconViewItem( const KABC::Field::List&, KABC::AddressBook *doc,
- const KABC::Addressee &addr, TQIconView *tqparent )
- : KIconViewItem( tqparent ), mDocument( doc ), mAddressee( addr )
+ const KABC::Addressee &addr, TQIconView *parent )
+ : KIconViewItem( parent ), mDocument( doc ), mAddressee( addr )
{
refresh();
}
@@ -136,8 +136,8 @@ class AddresseeIconViewItem : public KIconViewItem
KAddressBookIconView::KAddressBookIconView( KAB::Core *core,
- TQWidget *tqparent, const char *name)
- : KAddressBookView( core, tqparent, name )
+ TQWidget *parent, const char *name)
+ : KAddressBookView( core, parent, name )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout( viewWidget() );
diff --git a/kaddressbook/views/kaddressbookiconview.h b/kaddressbook/views/kaddressbookiconview.h
index 5b9c8c7cc..614920c28 100644
--- a/kaddressbook/views/kaddressbookiconview.h
+++ b/kaddressbook/views/kaddressbookiconview.h
@@ -45,7 +45,7 @@ class KAddressBookIconView : public KAddressBookView
TQ_OBJECT
public:
- KAddressBookIconView( KAB::Core *core, TQWidget *tqparent,
+ KAddressBookIconView( KAB::Core *core, TQWidget *parent,
const char *name = 0 );
virtual ~KAddressBookIconView();
@@ -79,7 +79,7 @@ class AddresseeIconView : public KIconView
TQ_OBJECT
public:
- AddresseeIconView( TQWidget *tqparent, const char *name = 0 );
+ AddresseeIconView( TQWidget *parent, const char *name = 0 );
~AddresseeIconView();
signals:
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp
index 65bcd36cf..19364d597 100644
--- a/kaddressbook/views/kaddressbooktableview.cpp
+++ b/kaddressbook/views/kaddressbooktableview.cpp
@@ -61,9 +61,9 @@
class TableViewFactory : public ViewFactory
{
public:
- KAddressBookView *view( KAB::Core *core, TQWidget *tqparent, const char *name )
+ KAddressBookView *view( KAB::Core *core, TQWidget *parent, const char *name )
{
- return new KAddressBookTableView( core, tqparent, name );
+ return new KAddressBookTableView( core, parent, name );
}
TQString type() const { return I18N_NOOP( "Table" ); }
@@ -71,10 +71,10 @@ class TableViewFactory : public ViewFactory
TQString description() const { return i18n( "A listing of contacts in a table. Each cell of "
"the table holds a field of the contact." ); }
- ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *tqparent,
+ ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name = 0 )
{
- return new ConfigureTableViewWidget( ab, tqparent, name );
+ return new ConfigureTableViewWidget( ab, parent, name );
}
};
@@ -86,8 +86,8 @@ extern "C" {
}
KAddressBookTableView::KAddressBookTableView( KAB::Core *core,
- TQWidget *tqparent, const char *name )
- : KAddressBookView( core, tqparent, name )
+ TQWidget *parent, const char *name )
+ : KAddressBookView( core, parent, name )
{
mMainLayout = new TQVBoxLayout( viewWidget(), 2 );
diff --git a/kaddressbook/views/kaddressbooktableview.h b/kaddressbook/views/kaddressbooktableview.h
index f212829f3..5c9a75105 100644
--- a/kaddressbook/views/kaddressbooktableview.h
+++ b/kaddressbook/views/kaddressbooktableview.h
@@ -65,7 +65,7 @@ friend class ContactListView;
TQ_OBJECT
public:
- KAddressBookTableView( KAB::Core *core, TQWidget *tqparent,
+ KAddressBookTableView( KAB::Core *core, TQWidget *parent,
const char *name = 0 );
virtual ~KAddressBookTableView();
diff --git a/kaddressbook/xxport/bookmark_xxport.cpp b/kaddressbook/xxport/bookmark_xxport.cpp
index 0b7c3dc7c..83cdd2b70 100644
--- a/kaddressbook/xxport/bookmark_xxport.cpp
+++ b/kaddressbook/xxport/bookmark_xxport.cpp
@@ -33,8 +33,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_bookmark_xxport, BookmarkXXPort )
-BookmarkXXPort::BookmarkXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+BookmarkXXPort::BookmarkXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createExportAction( i18n( "Export Bookmarks Menu..." ) );
}
diff --git a/kaddressbook/xxport/bookmark_xxport.h b/kaddressbook/xxport/bookmark_xxport.h
index 09d95f910..85fd602b4 100644
--- a/kaddressbook/xxport/bookmark_xxport.h
+++ b/kaddressbook/xxport/bookmark_xxport.h
@@ -33,7 +33,7 @@ class BookmarkXXPort : public KAB::XXPort
TQ_OBJECT
public:
- BookmarkXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ BookmarkXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "bookmark"; }
diff --git a/kaddressbook/xxport/csv_xxport.cpp b/kaddressbook/xxport/csv_xxport.cpp
index aa2d76539..22f6afadb 100644
--- a/kaddressbook/xxport/csv_xxport.cpp
+++ b/kaddressbook/xxport/csv_xxport.cpp
@@ -36,8 +36,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_csv_xxport, CSVXXPort )
-CSVXXPort::CSVXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+CSVXXPort::CSVXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n( "Import CSV List..." ) );
createExportAction( i18n( "Export CSV List..." ) );
diff --git a/kaddressbook/xxport/csv_xxport.h b/kaddressbook/xxport/csv_xxport.h
index a55f326b5..f08fa93d6 100644
--- a/kaddressbook/xxport/csv_xxport.h
+++ b/kaddressbook/xxport/csv_xxport.h
@@ -32,7 +32,7 @@ class CSVXXPort : public KAB::XXPort
TQ_OBJECT
public:
- CSVXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ CSVXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "csv"; }
diff --git a/kaddressbook/xxport/csvimportdialog.cpp b/kaddressbook/xxport/csvimportdialog.cpp
index 9e2b8d6f6..88a2c087a 100644
--- a/kaddressbook/xxport/csvimportdialog.cpp
+++ b/kaddressbook/xxport/csvimportdialog.cpp
@@ -50,10 +50,10 @@
enum { Local = 0, Guess = 1, Latin1 = 2, Uni = 3, MSBug = 4, Codec = 5 };
-CSVImportDialog::CSVImportDialog( KABC::AddressBook *ab, TQWidget *tqparent,
+CSVImportDialog::CSVImportDialog( KABC::AddressBook *ab, TQWidget *parent,
const char * name )
: KDialogBase( Plain, i18n ( "CSV Import Dialog" ), Ok | Cancel | User1 |
- User2, Ok, tqparent, name, true, true ),
+ User2, Ok, parent, name, true, true ),
mAdjustRows( false ),
mStartLine( 0 ),
mTextQuote( '"' ),
diff --git a/kaddressbook/xxport/csvimportdialog.h b/kaddressbook/xxport/csvimportdialog.h
index f3c953ba5..95fd8a486 100644
--- a/kaddressbook/xxport/csvimportdialog.h
+++ b/kaddressbook/xxport/csvimportdialog.h
@@ -44,7 +44,7 @@ class CSVImportDialog : public KDialogBase
TQ_OBJECT
public:
- CSVImportDialog( KABC::AddressBook *ab, TQWidget *tqparent,
+ CSVImportDialog( KABC::AddressBook *ab, TQWidget *parent,
const char *name = 0 );
~CSVImportDialog();
diff --git a/kaddressbook/xxport/eudora_xxport.cpp b/kaddressbook/xxport/eudora_xxport.cpp
index bed374339..402665ab1 100644
--- a/kaddressbook/xxport/eudora_xxport.cpp
+++ b/kaddressbook/xxport/eudora_xxport.cpp
@@ -38,8 +38,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_eudora_xxport, EudoraXXPort )
-EudoraXXPort::EudoraXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+EudoraXXPort::EudoraXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n( "Import Eudora Addressbook..." ) );
}
diff --git a/kaddressbook/xxport/eudora_xxport.h b/kaddressbook/xxport/eudora_xxport.h
index de2b47845..59937fcb1 100644
--- a/kaddressbook/xxport/eudora_xxport.h
+++ b/kaddressbook/xxport/eudora_xxport.h
@@ -32,7 +32,7 @@ class EudoraXXPort : public KAB::XXPort
TQ_OBJECT
public:
- EudoraXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ EudoraXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "eudora"; }
diff --git a/kaddressbook/xxport/gnokii_xxport.cpp b/kaddressbook/xxport/gnokii_xxport.cpp
index 2d18cef7c..abd3234b7 100644
--- a/kaddressbook/xxport/gnokii_xxport.cpp
+++ b/kaddressbook/xxport/gnokii_xxport.cpp
@@ -77,8 +77,8 @@ static KProgressDialog *m_progressDlg;
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_gnokii_xxport, GNOKIIXXPort )
-GNOKIIXXPort::GNOKIIXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+GNOKIIXXPort::GNOKIIXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
this_filter = this;
m_progressDlg = NULL;
@@ -823,7 +823,7 @@ static TQString businit(void)
return i18n("Gnokii is not yet configured.");
// uncomment to debug all gnokii communication on stderr.
- // gn_log_debug_tqmask = GN_LOG_T_STDERR;
+ // gn_log_debug_mask = GN_LOG_T_STDERR;
gn_data_clear(&data);
diff --git a/kaddressbook/xxport/gnokii_xxport.h b/kaddressbook/xxport/gnokii_xxport.h
index a78ca2335..6b5361c8b 100644
--- a/kaddressbook/xxport/gnokii_xxport.h
+++ b/kaddressbook/xxport/gnokii_xxport.h
@@ -32,7 +32,7 @@ class GNOKIIXXPort : public KAB::XXPort
TQ_OBJECT
public:
- GNOKIIXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ GNOKIIXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "gnokii"; }
diff --git a/kaddressbook/xxport/kde2_xxport.cpp b/kaddressbook/xxport/kde2_xxport.cpp
index 08fe4a108..3b60ca5e1 100644
--- a/kaddressbook/xxport/kde2_xxport.cpp
+++ b/kaddressbook/xxport/kde2_xxport.cpp
@@ -39,8 +39,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_kde2_xxport, KDE2XXPort )
-KDE2XXPort::KDE2XXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+KDE2XXPort::KDE2XXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n( "Import KDE 2 Addressbook..." ) );
}
diff --git a/kaddressbook/xxport/kde2_xxport.h b/kaddressbook/xxport/kde2_xxport.h
index 895a09a43..dc0675248 100644
--- a/kaddressbook/xxport/kde2_xxport.h
+++ b/kaddressbook/xxport/kde2_xxport.h
@@ -32,7 +32,7 @@ class KDE2XXPort : public KAB::XXPort
TQ_OBJECT
public:
- KDE2XXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ KDE2XXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "kde2"; }
diff --git a/kaddressbook/xxport/ldif_xxport.cpp b/kaddressbook/xxport/ldif_xxport.cpp
index 8ff5cf44d..a51169e7d 100644
--- a/kaddressbook/xxport/ldif_xxport.cpp
+++ b/kaddressbook/xxport/ldif_xxport.cpp
@@ -50,8 +50,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_ldif_xxport, LDIFXXPort )
-LDIFXXPort::LDIFXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+LDIFXXPort::LDIFXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n( "Import LDIF Addressbook..." ) );
createExportAction( i18n( "Export LDIF Addressbook..." ) );
diff --git a/kaddressbook/xxport/ldif_xxport.h b/kaddressbook/xxport/ldif_xxport.h
index 2d1e9e04e..167f44305 100644
--- a/kaddressbook/xxport/ldif_xxport.h
+++ b/kaddressbook/xxport/ldif_xxport.h
@@ -33,7 +33,7 @@ class LDIFXXPort : public KAB::XXPort
TQ_OBJECT
public:
- LDIFXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ LDIFXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "ldif"; }
diff --git a/kaddressbook/xxport/opera_xxport.cpp b/kaddressbook/xxport/opera_xxport.cpp
index 593960e83..4c2949cc9 100644
--- a/kaddressbook/xxport/opera_xxport.cpp
+++ b/kaddressbook/xxport/opera_xxport.cpp
@@ -38,8 +38,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_opera_xxport, OperaXXPort )
-OperaXXPort::OperaXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+OperaXXPort::OperaXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n( "Import Opera Addressbook..." ) );
}
diff --git a/kaddressbook/xxport/opera_xxport.h b/kaddressbook/xxport/opera_xxport.h
index b33c91521..2395f5a26 100644
--- a/kaddressbook/xxport/opera_xxport.h
+++ b/kaddressbook/xxport/opera_xxport.h
@@ -33,7 +33,7 @@ class OperaXXPort : public KAB::XXPort
TQ_OBJECT
public:
- OperaXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ OperaXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "opera"; }
diff --git a/kaddressbook/xxport/pab_mapihd.cpp b/kaddressbook/xxport/pab_mapihd.cpp
index b1ab4e5f4..6d61cb339 100644
--- a/kaddressbook/xxport/pab_mapihd.cpp
+++ b/kaddressbook/xxport/pab_mapihd.cpp
@@ -151,7 +151,7 @@ pabrec_entry e=pr_unknown;
return e;
}
-pabfields_t::pabfields_t(pabrec & R, TQWidget * /*tqparent*/)
+pabfields_t::pabfields_t(pabrec & R, TQWidget * /*parent*/)
{
// Skip the first two words, because they're always the
// same 000c 0014 ==> 0014 gives us the types, so we
diff --git a/kaddressbook/xxport/pab_mapihd.h b/kaddressbook/xxport/pab_mapihd.h
index 7db97873a..c54be4500 100644
--- a/kaddressbook/xxport/pab_mapihd.h
+++ b/kaddressbook/xxport/pab_mapihd.h
@@ -105,7 +105,7 @@
word_t literal(int k);
content_t order(int k);
public:
- pabfields_t(pabrec & R, TQWidget *tqparent);
+ pabfields_t(pabrec & R, TQWidget *parent);
public:
KABC::Addressee get( );
bool isOK(void) { return OK; }
diff --git a/kaddressbook/xxport/pab_pablib.h b/kaddressbook/xxport/pab_pablib.h
index 13f2b7200..c26cbdf23 100644
--- a/kaddressbook/xxport/pab_pablib.h
+++ b/kaddressbook/xxport/pab_pablib.h
@@ -36,7 +36,7 @@ class pab
TQFile in;
const char *pabfile;
TQString cap;
- TQWidget *tqparent;
+ TQWidget *parent;
public:
pab(const char *pabFile);
~pab();
diff --git a/kaddressbook/xxport/pab_xxport.cpp b/kaddressbook/xxport/pab_xxport.cpp
index 8075a7da2..021f671c8 100644
--- a/kaddressbook/xxport/pab_xxport.cpp
+++ b/kaddressbook/xxport/pab_xxport.cpp
@@ -40,8 +40,8 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_pab_xxport, PABXXPort )
-PABXXPort::PABXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+PABXXPort::PABXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n("Import MS Exchange Personal Address Book (.PAB)") );
}
diff --git a/kaddressbook/xxport/pab_xxport.h b/kaddressbook/xxport/pab_xxport.h
index 70eef1a3f..c0450df65 100644
--- a/kaddressbook/xxport/pab_xxport.h
+++ b/kaddressbook/xxport/pab_xxport.h
@@ -33,7 +33,7 @@ class PABXXPort : public KAB::XXPort
TQ_OBJECT
public:
- PABXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ PABXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "pab"; }
diff --git a/kaddressbook/xxport/vcard_xxport.cpp b/kaddressbook/xxport/vcard_xxport.cpp
index 9dedae791..2d4da849b 100644
--- a/kaddressbook/xxport/vcard_xxport.cpp
+++ b/kaddressbook/xxport/vcard_xxport.cpp
@@ -56,7 +56,7 @@ class VCardViewerDialog : public KDialogBase
{
public:
VCardViewerDialog( const KABC::Addressee::List &list,
- TQWidget *tqparent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
KABC::Addressee::List contacts() const;
@@ -78,7 +78,7 @@ class VCardViewerDialog : public KDialogBase
class VCardExportSelectionDialog : public KDialogBase
{
public:
- VCardExportSelectionDialog( TQWidget *tqparent, const char *name = 0 );
+ VCardExportSelectionDialog( TQWidget *parent, const char *name = 0 );
~VCardExportSelectionDialog();
bool exportPrivateFields() const;
@@ -93,8 +93,8 @@ class VCardExportSelectionDialog : public KDialogBase
TQCheckBox *mEncryptionKeys;
};
-VCardXXPort::VCardXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
- : KAB::XXPort( ab, tqparent, name )
+VCardXXPort::VCardXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ : KAB::XXPort( ab, parent, name )
{
createImportAction( i18n( "Import vCard..." ) );
createExportAction( i18n( "Export vCard 2.1..." ), "v21" );
@@ -465,9 +465,9 @@ void VCardXXPort::addKey( KABC::Addressee &addr, KABC::Key::Types type )
// ---------- VCardViewer Dialog ---------------- //
VCardViewerDialog::VCardViewerDialog( const KABC::Addressee::List &list,
- TQWidget *tqparent, const char *name )
+ TQWidget *parent, const char *name )
: KDialogBase( Plain, i18n( "Import vCard" ), Yes | No | Apply | Cancel, Yes,
- tqparent, name, true, true, KStdGuiItem::no(), KStdGuiItem::yes() ),
+ parent, name, true, true, KStdGuiItem::no(), KStdGuiItem::yes() ),
mContacts( list )
{
TQFrame *page = plainPage();
@@ -537,10 +537,10 @@ void VCardViewerDialog::slotCancel()
// ---------- VCardExportSelection Dialog ---------------- //
-VCardExportSelectionDialog::VCardExportSelectionDialog( TQWidget *tqparent,
+VCardExportSelectionDialog::VCardExportSelectionDialog( TQWidget *parent,
const char *name )
: KDialogBase( Plain, i18n( "Select vCard Fields" ), Ok | Cancel, Ok,
- tqparent, name, true, true )
+ parent, name, true, true )
{
TQFrame *page = plainPage();
diff --git a/kaddressbook/xxport/vcard_xxport.h b/kaddressbook/xxport/vcard_xxport.h
index e051d53ff..44374432c 100644
--- a/kaddressbook/xxport/vcard_xxport.h
+++ b/kaddressbook/xxport/vcard_xxport.h
@@ -33,7 +33,7 @@ class VCardXXPort : public KAB::XXPort
TQ_OBJECT
public:
- VCardXXPort( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
+ VCardXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
TQString identifier() const { return "vcard"; }
diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp
index 8eabc81c0..642f8bfe3 100644
--- a/kaddressbook/xxportmanager.cpp
+++ b/kaddressbook/xxportmanager.cpp
@@ -41,8 +41,8 @@
KURL XXPortManager::importURL = KURL();
TQString XXPortManager::importData = TQString();
-XXPortManager::XXPortManager( KAB::Core *core, TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), mCore( core )
+XXPortManager::XXPortManager( KAB::Core *core, TQObject *parent, const char *name )
+ : TQObject( parent, name ), mCore( core )
{
loadPlugins();
}
diff --git a/kaddressbook/xxportmanager.h b/kaddressbook/xxportmanager.h
index fb179d6eb..116326617 100644
--- a/kaddressbook/xxportmanager.h
+++ b/kaddressbook/xxportmanager.h
@@ -43,7 +43,7 @@ class KDE_EXPORT XXPortManager : public TQObject
TQ_OBJECT
public:
- XXPortManager( KAB::Core *core, TQObject *tqparent, const char *name = 0 );
+ XXPortManager( KAB::Core *core, TQObject *parent, const char *name = 0 );
~XXPortManager();
void restoreSettings();
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp
index c90de6ca3..b932f9d97 100644
--- a/kaddressbook/xxportselectdialog.cpp
+++ b/kaddressbook/xxportselectdialog.cpp
@@ -44,9 +44,9 @@
#include "xxportselectdialog.h"
XXPortSelectDialog::XXPortSelectDialog( KAB::Core *core, bool sort,
- TQWidget* tqparent, const char* name )
+ TQWidget* parent, const char* name )
: KDialogBase( Plain, i18n( "Choose Which Contacts to Export" ), Help | Ok | Cancel,
- Ok, tqparent, name, true, true ), mCore( core ),
+ Ok, parent, name, true, true ), mCore( core ),
mUseSorting( sort )
{
initGUI();
diff --git a/kaddressbook/xxportselectdialog.h b/kaddressbook/xxportselectdialog.h
index 10c311b12..3e535926f 100644
--- a/kaddressbook/xxportselectdialog.h
+++ b/kaddressbook/xxportselectdialog.h
@@ -48,7 +48,7 @@ class XXPortSelectDialog : public KDialogBase
TQ_OBJECT
public:
- XXPortSelectDialog( KAB::Core *core, bool sort, TQWidget* tqparent,
+ XXPortSelectDialog( KAB::Core *core, bool sort, TQWidget* parent,
const char* name = 0 );
KABC::AddresseeList contacts();