summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-12-13 16:17:10 (UTC)
committer cniehaus <cniehaus>2002-12-13 16:17:10 (UTC)
commit33513c771164337da46c65f379c98b06adb6f704 (patch) (unidiff)
tree425faf58b3921eabf359bf9cbeaf6d2f03aa7708
parent841d22f7678efa02bb73476e7f5214e4323ef260 (diff)
downloadopie-33513c771164337da46c65f379c98b06adb6f704.zip
opie-33513c771164337da46c65f379c98b06adb6f704.tar.gz
opie-33513c771164337da46c65f379c98b06adb6f704.tar.bz2
i18n-fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index a1ce5a0..5ce90a9 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -264,13 +264,13 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
264void AddressbookWindow::slotConfig() 264void AddressbookWindow::slotConfig()
265{ 265{
266 ConfigDlg* dlg = new ConfigDlg( this, "Config" ); 266 ConfigDlg* dlg = new ConfigDlg( this, "Config" );
267 dlg -> setConfig( m_config ); 267 dlg -> setConfig( m_config );
268 dlg -> showMaximized(); 268 dlg -> showMaximized();
269 if ( dlg -> exec() ) { 269 if ( dlg -> exec() ) {
270 qWarning ("Config Dialog accepted !"); 270 qWarning ("Config Dialog accepted!");
271 m_config = dlg -> getConfig(); 271 m_config = dlg -> getConfig();
272 if ( m_curFontSize != m_config.fontSize() ){ 272 if ( m_curFontSize != m_config.fontSize() ){
273 qWarning("Font was changed!"); 273 qWarning("Font was changed!");
274 m_curFontSize = m_config.fontSize(); 274 m_curFontSize = m_config.fontSize();
275 emit slotSetFont( m_curFontSize ); 275 emit slotSetFont( m_curFontSize );
276 } 276 }
@@ -353,22 +353,22 @@ void AddressbookWindow::setDocument( const QString &filename )
353 OContactAccess::List allList = access->allRecords(); 353 OContactAccess::List allList = access->allRecords();
354 qWarning( "Found number of contacts in File: %d", allList.count() ); 354 qWarning( "Found number of contacts in File: %d", allList.count() );
355 355
356 if ( !allList.count() ) { 356 if ( !allList.count() ) {
357 QMessageBox::information( this, "Import VCard", 357 QMessageBox::information( this, "Import VCard",
358 "It was impossible to import the VCard.\n" 358 "It was impossible to import the VCard.\n"
359 "The VCard may be corrupted !" ); 359 "The VCard may be corrupted!" );
360 } 360 }
361 361
362 bool doAsk = true; 362 bool doAsk = true;
363 OContactAccess::List::Iterator it; 363 OContactAccess::List::Iterator it;
364 for ( it = allList.begin(); it != allList.end(); ++it ){ 364 for ( it = allList.begin(); it != allList.end(); ++it ){
365 qWarning("Adding Contact from: %s", (*it).fullName().latin1() ); 365 qWarning("Adding Contact from: %s", (*it).fullName().latin1() );
366 if ( doAsk ){ 366 if ( doAsk ){
367 switch( QMessageBox::information( this, tr ( "Add Contact ?" ), 367 switch( QMessageBox::information( this, tr ( "Add Contact?" ),
368 tr( "Do you really want add contact for \n%1 ?" ) 368 tr( "Do you really want add contact for \n%1?" )
369 .arg( (*it).fullName().latin1() ), 369 .arg( (*it).fullName().latin1() ),
370 tr( "&Yes" ), tr( "&No" ), tr( "&AllYes"), 370 tr( "&Yes" ), tr( "&No" ), tr( "&AllYes"),
371 0, // Enter == button 0 371 0, // Enter == button 0
372 2 ) ) { // Escape == button 2 372 2 ) ) { // Escape == button 2
373 case 0: 373 case 0:
374 qWarning("YES clicked"); 374 qWarning("YES clicked");
@@ -827,21 +827,21 @@ void AddressbookWindow::slotSave()
827} 827}
828#endif 828#endif
829 829
830 830
831void AddressbookWindow::slotNotFound() 831void AddressbookWindow::slotNotFound()
832{ 832{
833 qWarning("Got notfound signal !"); 833 qWarning("Got notfound signal!");
834 QMessageBox::information( this, tr( "Not Found" ), 834 QMessageBox::information( this, tr( "Not Found" ),
835 tr( "Unable to find a contact for this \n search pattern!" ) ); 835 tr( "Unable to find a contact for this \n search pattern!" ) );
836 836
837 837
838} 838}
839void AddressbookWindow::slotWrapAround() 839void AddressbookWindow::slotWrapAround()
840{ 840{
841 qWarning("Got wrap signal !"); 841 qWarning("Got wrap signal!");
842 // if ( doNotifyWrapAround ) 842 // if ( doNotifyWrapAround )
843 // QMessageBox::information( this, tr( "End of list" ), 843 // QMessageBox::information( this, tr( "End of list" ),
844 // tr( "End of list. Wrap around now...!" ) + "\n" ); 844 // tr( "End of list. Wrap around now...!" ) + "\n" );
845 845
846} 846}
847 847