summaryrefslogtreecommitdiffstats
path: root/kaddressbook/phoneeditwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/phoneeditwidget.cpp')
-rw-r--r--kaddressbook/phoneeditwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp
index 46efcba98..2587ad3e6 100644
--- a/kaddressbook/phoneeditwidget.cpp
+++ b/kaddressbook/phoneeditwidget.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqbuttongroup.h>
@@ -46,8 +46,8 @@
#include "phoneeditwidget.h"
-PhoneTypeCombo::PhoneTypeCombo( TQWidget *parent )
- : KComboBox( parent, "TypeCombo" ),
+PhoneTypeCombo::PhoneTypeCombo( TQWidget *tqparent )
+ : KComboBox( tqparent, "TypeCombo" ),
mType( KABC::PhoneNumber::Home ),
mLastSelected( 0 ),
mTypeList( KABC::PhoneNumber::typeList() )
@@ -126,8 +126,8 @@ void PhoneTypeCombo::otherSelected()
update();
}
-PhoneNumberWidget::PhoneNumberWidget( TQWidget *parent )
- : TQWidget( parent )
+PhoneNumberWidget::PhoneNumberWidget( TQWidget *tqparent )
+ : TQWidget( tqparent )
{
TQHBoxLayout *tqlayout = new TQHBoxLayout( this, 6, 11 );
@@ -166,8 +166,8 @@ void PhoneNumberWidget::setReadOnly( bool readOnly )
}
-PhoneEditWidget::PhoneEditWidget( TQWidget *parent, const char *name )
- : TQWidget( parent, name ), mReadOnly( false )
+PhoneEditWidget::PhoneEditWidget( TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name ), mReadOnly( false )
{
TQGridLayout *tqlayout = new TQGridLayout( this, 2, 2 );
tqlayout->setSpacing( KDialog::spacingHint() );
@@ -177,7 +177,7 @@ PhoneEditWidget::PhoneEditWidget( TQWidget *parent, const char *name )
mAddButton = new TQPushButton( i18n( "Add" ), this );
mAddButton->setMaximumSize( mAddButton->tqsizeHint() );
- tqlayout->addWidget( mAddButton, 1, 0, Qt::AlignRight );
+ tqlayout->addWidget( mAddButton, 1, 0, TQt::AlignRight );
mRemoveButton = new TQPushButton( i18n( "Remove" ), this );
mRemoveButton->setMaximumSize( mRemoveButton->tqsizeHint() );
@@ -291,9 +291,9 @@ void PhoneEditWidget::changed( int pos )
///////////////////////////////////////////
// PhoneTypeDialog
-PhoneTypeDialog::PhoneTypeDialog( int type, TQWidget *parent )
+PhoneTypeDialog::PhoneTypeDialog( int type, TQWidget *tqparent )
: KDialogBase( Plain, i18n( "Edit Phone Number" ), Ok | Cancel, Ok,
- parent, "PhoneTypeDialog", true ),
+ tqparent, "PhoneTypeDialog", true ),
mType( type )
{
TQWidget *page = plainPage();
@@ -315,7 +315,7 @@ PhoneTypeDialog::PhoneTypeDialog( int type, TQWidget *parent )
new TQCheckBox( KABC::PhoneNumber::typeLabel( *it ), mGroup );
for ( int i = 0; i < mGroup->count(); ++i ) {
- TQCheckBox *box = (TQCheckBox*)mGroup->find( i );
+ TQCheckBox *box = (TQCheckBox*)mGroup->tqfind( i );
box->setChecked( mType & mTypeList[ i ] );
}
@@ -327,7 +327,7 @@ int PhoneTypeDialog::type() const
int type = 0;
for ( int i = 0; i < mGroup->count(); ++i ) {
- TQCheckBox *box = (TQCheckBox*)mGroup->find( i );
+ TQCheckBox *box = (TQCheckBox*)mGroup->tqfind( i );
if ( box->isChecked() )
type += mTypeList[ i ];
}