~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to mobile/contacts/editormore.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
      mUi.pageWidget->insertWidget( 3, customFieldsPage );
89
89
      mUi.pageWidget->insertWidget( 4, categoriesPage );
90
90
 
91
 
      connect( mUi.namePageButton, SIGNAL( clicked() ),
92
 
               mMapper, SLOT( map() ) );
93
 
      connect( mUi.internetPageButton, SIGNAL( clicked() ),
94
 
               mMapper, SLOT( map() ) );
95
 
      connect( mUi.personalPageButton, SIGNAL( clicked() ),
96
 
               mMapper, SLOT( map() ) );
97
 
      connect( mUi.customFieldsPageButton, SIGNAL( clicked() ),
98
 
               mMapper, SLOT( map() ) );
99
 
      connect( mUi.categoriesPageButton, SIGNAL( clicked() ),
100
 
               mMapper, SLOT( map() ) );
101
 
      connect( mMapper, SIGNAL( mapped( int ) ),
102
 
               mUi.pageWidget, SLOT( setCurrentIndex( int ) ) );
 
91
      connect( mUi.namePageButton, SIGNAL(clicked()),
 
92
               mMapper, SLOT(map()) );
 
93
      connect( mUi.internetPageButton, SIGNAL(clicked()),
 
94
               mMapper, SLOT(map()) );
 
95
      connect( mUi.personalPageButton, SIGNAL(clicked()),
 
96
               mMapper, SLOT(map()) );
 
97
      connect( mUi.customFieldsPageButton, SIGNAL(clicked()),
 
98
               mMapper, SLOT(map()) );
 
99
      connect( mUi.categoriesPageButton, SIGNAL(clicked()),
 
100
               mMapper, SLOT(map()) );
 
101
      connect( mMapper, SIGNAL(mapped(int)),
 
102
               mUi.pageWidget, SLOT(setCurrentIndex(int)) );
103
103
 
104
104
      mUi.pageWidget->setCurrentIndex( 0 );
105
105
 
106
 
      connect( mNamePage.namePartsWidget, SIGNAL( nameChanged( const KABC::Addressee& ) ),
107
 
               mNamePage.displayNameWidget, SLOT( changeName( const KABC::Addressee& ) ) );
108
 
      connect( mNamePage.namePartsWidget, SIGNAL( nameChanged( const KABC::Addressee& ) ),
109
 
               q, SIGNAL( nameChanged( const KABC::Addressee& ) ) );
110
 
      connect( mNamePage.pronunciationLabel, SIGNAL( linkActivated( const QString& ) ),
111
 
               q, SLOT( playPronunciation() ) );
112
 
 
113
 
      connect( mCustomFieldsPage.addCustomFieldButton, SIGNAL( clicked() ),
114
 
               q, SLOT( addCustomField() ) );
115
 
 
116
 
      connect( mCategoriesPage.categoriesButton, SIGNAL( clicked() ),
117
 
               q, SLOT( configureCategories() ) );
 
106
      connect( mNamePage.namePartsWidget, SIGNAL(nameChanged(KABC::Addressee)),
 
107
               mNamePage.displayNameWidget, SLOT(changeName(KABC::Addressee)) );
 
108
      connect( mNamePage.namePartsWidget, SIGNAL(nameChanged(KABC::Addressee)),
 
109
               q, SIGNAL(nameChanged(KABC::Addressee)) );
 
110
      connect( mNamePage.pronunciationLabel, SIGNAL(linkActivated(QString)),
 
111
               q, SLOT(playPronunciation()) );
 
112
 
 
113
      connect( mCustomFieldsPage.addCustomFieldButton, SIGNAL(clicked()),
 
114
               q, SLOT(addCustomField()) );
 
115
 
 
116
      connect( mCategoriesPage.categoriesButton, SIGNAL(clicked()),
 
117
               q, SLOT(configureCategories()) );
118
118
 
119
119
      mPersonalPage.birthdayDateEdit->setDate( QDate() );
120
120
      mPersonalPage.anniversaryDateEdit->setDate( QDate() );
145
145
      soundData->setData( mContact.sound().data() );
146
146
      player->setCurrentSource( soundData );
147
147
      player->setParent( q );
148
 
      connect( player, SIGNAL( finished() ), player, SLOT( deleteLater() ) );
 
148
      connect( player, SIGNAL(finished()), player, SLOT(deleteLater()) );
149
149
      player->play();
150
150
#endif
151
151
    }