@ -171,7 +171,7 @@ GeneralPage::GeneralPage(Wizard* wizard, const char* name) :
WizardPage < Wizard > ( stepCount + + , this , wizard , name )
{
m_userNameEdit - > setFocus ( ) ;
KABC: : StdAddressBook * ab = K ABC: : StdAddressBook : : self ( true ) ;
TDEABC: : StdAddressBook * ab = TDE ABC: : StdAddressBook : : self ( true ) ;
connect ( ab , TQT_SIGNAL ( addressBookChanged ( AddressBook * ) ) , this , TQT_SLOT ( slotAddressBookLoaded ( ) ) ) ;
connect ( m_loadAddressButton , TQT_SIGNAL ( clicked ( ) ) , this , TQT_SLOT ( slotLoadFromKABC ( ) ) ) ;
m_loadAddressButton - > setEnabled ( false ) ;
@ -179,7 +179,7 @@ GeneralPage::GeneralPage(Wizard* wizard, const char* name) :
void GeneralPage : : slotAddressBookLoaded ( void )
{
KABC: : StdAddressBook * ab = K ABC: : StdAddressBook : : self ( ) ;
TDEABC: : StdAddressBook * ab = TDE ABC: : StdAddressBook : : self ( ) ;
if ( ! ab )
return ;
@ -188,11 +188,11 @@ void GeneralPage::slotAddressBookLoaded(void)
void GeneralPage : : slotLoadFromKABC ( void )
{
KABC: : StdAddressBook * ab = K ABC: : StdAddressBook : : self ( ) ;
TDEABC: : StdAddressBook * ab = TDE ABC: : StdAddressBook : : self ( ) ;
if ( ! ab )
return ;
K ABC: : Addressee addr = ab - > whoAmI ( ) ;
TDE ABC: : Addressee addr = ab - > whoAmI ( ) ;
if ( addr . isEmpty ( ) ) {
KMessageBox : : sorry ( this , i18n ( " Unable to load data, because no contact has been associated with the owner of the standard addressbook. " ) , i18n ( " Addressbook import " ) ) ;
return ;
@ -201,10 +201,10 @@ void GeneralPage::slotLoadFromKABC(void)
m_userNameEdit - > setText ( addr . formattedName ( ) ) ;
m_emailEdit - > setText ( addr . preferredEmail ( ) ) ;
K ABC: : PhoneNumber phone = addr . phoneNumber ( K ABC: : PhoneNumber : : Home ) ;
TDE ABC: : PhoneNumber phone = addr . phoneNumber ( TDE ABC: : PhoneNumber : : Home ) ;
m_telephoneEdit - > setText ( phone . number ( ) ) ;
K ABC: : Address a = addr . address ( K ABC: : Address : : Home ) ;
TDE ABC: : Address a = addr . address ( TDE ABC: : Address : : Home ) ;
TQString sep ;
if ( ! a . country ( ) . isEmpty ( ) & & ! a . region ( ) . isEmpty ( ) )
sep = " / " ;