Diffstat (limited to 'core/pim/addressbook/contacteditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index e496387..72c8bd3 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -80,3 +80,3 @@ ContactEditor::~ContactEditor() { | |||
80 | void ContactEditor::init() { | 80 | void ContactEditor::init() { |
81 | Opie::Core::owarn << "init() START" << oendl; | 81 | owarn << "init() START" << oendl; |
82 | 82 | ||
@@ -689,3 +689,3 @@ void ContactEditor::init() { | |||
689 | 689 | ||
690 | Opie::Core::owarn << "init() END" << oendl; | 690 | owarn << "init() END" << oendl; |
691 | } | 691 | } |
@@ -693,3 +693,3 @@ void ContactEditor::init() { | |||
693 | void ContactEditor::defaultEmailChanged(int i){ | 693 | void ContactEditor::defaultEmailChanged(int i){ |
694 | Opie::Core::odebug << "defaultEmailChanged" << oendl; | 694 | odebug << "defaultEmailChanged" << oendl; |
695 | 695 | ||
@@ -700,3 +700,3 @@ void ContactEditor::defaultEmailChanged(int i){ | |||
700 | defaultEmail = cmbDefaultEmail->text(i); | 700 | defaultEmail = cmbDefaultEmail->text(i); |
701 | Opie::Core::odebug << "Changed to: " << defaultEmail << oendl; | 701 | odebug << "Changed to: " << defaultEmail << oendl; |
702 | 702 | ||
@@ -719,3 +719,3 @@ void ContactEditor::populateDefaultEmailCmb(){ | |||
719 | for ( int i = 0; i < cmbDefaultEmail->count(); i++){ | 719 | for ( int i = 0; i < cmbDefaultEmail->count(); i++){ |
720 | Opie::Core::odebug << " populateDefaultEmailCmb text >" << cmbDefaultEmail->text( i ) | 720 | odebug << " populateDefaultEmailCmb text >" << cmbDefaultEmail->text( i ) |
721 | << "< defaultEmail >" << defaultEmail << "<" << oendl; | 721 | << "< defaultEmail >" << defaultEmail << "<" << oendl; |
@@ -724,3 +724,3 @@ void ContactEditor::populateDefaultEmailCmb(){ | |||
724 | cmbDefaultEmail->setCurrentItem( i ); | 724 | cmbDefaultEmail->setCurrentItem( i ); |
725 | Opie::Core::odebug << "set" << oendl; | 725 | odebug << "set" << oendl; |
726 | found = true; | 726 | found = true; |
@@ -740,3 +740,3 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w | |||
740 | QString type = slChooserNames[index]; | 740 | QString type = slChooserNames[index]; |
741 | Opie::Core::owarn << "ContactEditor::cmbChooserChange -> Type: " << type | 741 | owarn << "ContactEditor::cmbChooserChange -> Type: " << type |
742 | << ", WidgetPos: " << widgetPos << oendl; | 742 | << ", WidgetPos: " << widgetPos << oendl; |
@@ -748,3 +748,3 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w | |||
748 | if ( type == "Default Email"){ | 748 | if ( type == "Default Email"){ |
749 | Opie::Core::owarn << "Choosing default-email (defaultEmailChooserPosition= " | 749 | owarn << "Choosing default-email (defaultEmailChooserPosition= " |
750 | << defaultEmailChooserPosition << ") " << oendl; | 750 | << defaultEmailChooserPosition << ") " << oendl; |
@@ -782,3 +782,3 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w | |||
782 | // Something else was selected: Hide combo.. | 782 | // Something else was selected: Hide combo.. |
783 | Opie::Core::owarn << " Hiding default-email combo" << oendl; | 783 | owarn << " Hiding default-email combo" << oendl; |
784 | if ( defaultEmailChooserPosition == widgetPos ){ | 784 | if ( defaultEmailChooserPosition == widgetPos ){ |
@@ -807,3 +807,3 @@ void ContactEditor::chooserError( int index ) | |||
807 | { | 807 | { |
808 | Opie::Core::owarn << "ContactEditor::chooserError( " << index << " )" << oendl; | 808 | owarn << "ContactEditor::chooserError( " << index << " )" << oendl; |
809 | QMessageBox::warning( this, "Chooser Error", | 809 | QMessageBox::warning( this, "Chooser Error", |
@@ -843,3 +843,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, | |||
843 | QString type = slChooserNames[index]; // :SX | 843 | QString type = slChooserNames[index]; // :SX |
844 | Opie::Core::odebug << "ContactEditor::chooserChange( type=>" << type << "<, textChanged=>" | 844 | odebug << "ContactEditor::chooserChange( type=>" << type << "<, textChanged=>" |
845 | << textChanged << "< index=" << index << ", widgetPos=" << widgetPos | 845 | << textChanged << "< index=" << index << ", widgetPos=" << widgetPos |
@@ -848,3 +848,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, | |||
848 | if ( type == "Default Email"){ | 848 | if ( type == "Default Email"){ |
849 | Opie::Core::owarn << "??? Wozu??: " << textChanged << oendl; | 849 | owarn << "??? Wozu??: " << textChanged << oendl; |
850 | defaultEmail = textChanged; | 850 | defaultEmail = textChanged; |
@@ -854,3 +854,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, | |||
854 | }else if (type == "Emails"){ | 854 | }else if (type == "Emails"){ |
855 | Opie::Core::odebug << "emails" << oendl; | 855 | odebug << "emails" << oendl; |
856 | 856 | ||
@@ -867,3 +867,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, | |||
867 | void ContactEditor::slotChooser1Change( const QString &textChanged ) { | 867 | void ContactEditor::slotChooser1Change( const QString &textChanged ) { |
868 | Opie::Core::owarn << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl; | 868 | owarn << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl; |
869 | chooserChange( textChanged, cmbChooserField1->currentItem(), txtChooserField1, 1); | 869 | chooserChange( textChanged, cmbChooserField1->currentItem(), txtChooserField1, 1); |
@@ -872,3 +872,3 @@ void ContactEditor::slotChooser1Change( const QString &textChanged ) { | |||
872 | void ContactEditor::slotChooser2Change( const QString &textChanged ) { | 872 | void ContactEditor::slotChooser2Change( const QString &textChanged ) { |
873 | Opie::Core::owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl; | 873 | owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl; |
874 | chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2); | 874 | chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2); |
@@ -878,3 +878,3 @@ void ContactEditor::slotChooser2Change( const QString &textChanged ) { | |||
878 | void ContactEditor::slotChooser3Change( const QString &textChanged ) { | 878 | void ContactEditor::slotChooser3Change( const QString &textChanged ) { |
879 | Opie::Core::owarn << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl; | 879 | owarn << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl; |
880 | chooserChange( textChanged, cmbChooserField3->currentItem(), txtChooserField3, 3); | 880 | chooserChange( textChanged, cmbChooserField3->currentItem(), txtChooserField3, 3); |
@@ -883,3 +883,3 @@ void ContactEditor::slotChooser3Change( const QString &textChanged ) { | |||
883 | void ContactEditor::slotChooser4Change( const QString &textChanged ) { | 883 | void ContactEditor::slotChooser4Change( const QString &textChanged ) { |
884 | Opie::Core::owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl; | 884 | owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl; |
885 | chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4); | 885 | chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4); |
@@ -953,3 +953,3 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) { | |||
953 | void ContactEditor::slotCmbChooser1Change( int index ) { | 953 | void ContactEditor::slotCmbChooser1Change( int index ) { |
954 | Opie::Core::owarn << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl; | 954 | owarn << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl; |
955 | if ( !cmbChooserChange( cmbChooserField1->currentItem(), m_widgetStack1, 1) ){ | 955 | if ( !cmbChooserChange( cmbChooserField1->currentItem(), m_widgetStack1, 1) ){ |
@@ -964,3 +964,3 @@ void ContactEditor::slotCmbChooser1Change( int index ) { | |||
964 | void ContactEditor::slotCmbChooser2Change( int index ) { | 964 | void ContactEditor::slotCmbChooser2Change( int index ) { |
965 | Opie::Core::owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl; | 965 | owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl; |
966 | 966 | ||
@@ -975,3 +975,3 @@ void ContactEditor::slotCmbChooser2Change( int index ) { | |||
975 | void ContactEditor::slotCmbChooser3Change( int index ) { | 975 | void ContactEditor::slotCmbChooser3Change( int index ) { |
976 | Opie::Core::owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl; | 976 | owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl; |
977 | 977 | ||
@@ -986,3 +986,3 @@ void ContactEditor::slotCmbChooser3Change( int index ) { | |||
986 | void ContactEditor::slotCmbChooser4Change( int index ) { | 986 | void ContactEditor::slotCmbChooser4Change( int index ) { |
987 | Opie::Core::owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl; | 987 | owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl; |
988 | 988 | ||
@@ -1031,3 +1031,3 @@ void ContactEditor::slotFullNameChange( const QString &textChanged ) { | |||
1031 | 1031 | ||
1032 | Opie::Core::owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl; | 1032 | owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl; |
1033 | 1033 | ||
@@ -1055,3 +1055,3 @@ void ContactEditor::slotSuffixChange( const QString& ) { | |||
1055 | void ContactEditor::slotOrganizationChange( const QString &textChanged ){ | 1055 | void ContactEditor::slotOrganizationChange( const QString &textChanged ){ |
1056 | Opie::Core::owarn << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl; | 1056 | owarn << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl; |
1057 | // Special handling for storing Companies: | 1057 | // Special handling for storing Companies: |
@@ -1137,3 +1137,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1137 | 1137 | ||
1138 | Opie::Core::owarn << "Fullname: " << simplifiedName << oendl; | 1138 | owarn << "Fullname: " << simplifiedName << oendl; |
1139 | 1139 | ||
@@ -1141,3 +1141,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1141 | if ( commapos >= 0 ) { | 1141 | if ( commapos >= 0 ) { |
1142 | Opie::Core::owarn << " Commapos: " << commapos << oendl; | 1142 | owarn << " Commapos: " << commapos << oendl; |
1143 | 1143 | ||
@@ -1150,3 +1150,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1150 | haveLastName = true; | 1150 | haveLastName = true; |
1151 | Opie::Core::owarn << "Fullname without ',': " << simplifiedName << oendl; | 1151 | owarn << "Fullname without ',': " << simplifiedName << oendl; |
1152 | 1152 | ||
@@ -1184,6 +1184,6 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1184 | 1184 | ||
1185 | Opie::Core::owarn << "strFirstName: " << strFirstName << oendl; | 1185 | owarn << "strFirstName: " << strFirstName << oendl; |
1186 | Opie::Core::owarn << "strMiddletName: " << strMiddleName << oendl; | 1186 | owarn << "strMiddletName: " << strMiddleName << oendl; |
1187 | Opie::Core::owarn << "strLastName: " << strLastName << oendl; | 1187 | owarn << "strLastName: " << strLastName << oendl; |
1188 | Opie::Core::owarn << "strTitle: " << strTitle << oendl; | 1188 | owarn << "strTitle: " << strTitle << oendl; |
1189 | 1189 | ||
@@ -1270,3 +1270,3 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { | |||
1270 | if (defaultEmail.isEmpty()) defaultEmail = emails[0]; | 1270 | if (defaultEmail.isEmpty()) defaultEmail = emails[0]; |
1271 | Opie::Core::odebug << "default email=" << defaultEmail << oendl; | 1271 | odebug << "default email=" << defaultEmail << oendl; |
1272 | 1272 | ||
@@ -1330,3 +1330,3 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { | |||
1330 | 1330 | ||
1331 | Opie::Core::owarn << " Filling dynamic Field: " << (*it) << oendl; | 1331 | owarn << " Filling dynamic Field: " << (*it) << oendl; |
1332 | 1332 | ||
@@ -1354,3 +1354,3 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { | |||
1354 | if ( *it == "Nickname" ){ | 1354 | if ( *it == "Nickname" ){ |
1355 | Opie::Core::owarn << "**** Nichname: " << ent.nickname() << oendl; | 1355 | owarn << "**** Nichname: " << ent.nickname() << oendl; |
1356 | (*itLE)->setText( ent.nickname() ); | 1356 | (*itLE)->setText( ent.nickname() ); |
@@ -1587,4 +1587,4 @@ void ContactEditor::saveEntry() { | |||
1587 | if ( defaultEmail.isEmpty() ){ | 1587 | if ( defaultEmail.isEmpty() ){ |
1588 | Opie::Core::owarn << "Default email was not set by user!" << oendl; | 1588 | owarn << "Default email was not set by user!" << oendl; |
1589 | Opie::Core::owarn << "Using first email in list: " << defaultmail << oendl; | 1589 | owarn << "Using first email in list: " << defaultmail << oendl; |
1590 | ent.setDefaultEmail( defaultmail ); | 1590 | ent.setDefaultEmail( defaultmail ); |
@@ -1740,3 +1740,3 @@ void ContactEditor::slotRemoveBirthday() | |||
1740 | { | 1740 | { |
1741 | Opie::Core::owarn << "void ContactEditor::slotRemoveBirthday()" << oendl; | 1741 | owarn << "void ContactEditor::slotRemoveBirthday()" << oendl; |
1742 | ent.setBirthday( QDate() ); | 1742 | ent.setBirthday( QDate() ); |
@@ -1747,3 +1747,3 @@ void ContactEditor::slotRemoveAnniversary() | |||
1747 | { | 1747 | { |
1748 | Opie::Core::owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl; | 1748 | owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl; |
1749 | ent.setAnniversary( QDate() ); | 1749 | ent.setAnniversary( QDate() ); |