author | mickeyl <mickeyl> | 2004-04-04 17:03:27 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-04 17:03:27 (UTC) |
commit | daef74a7e852855f781765fad7969b6c83e2e9c6 (patch) (side-by-side diff) | |
tree | f635b437ba9f6d144c34c5ee58d37954bacc3c6e /core/pim/addressbook/contacteditor.cpp | |
parent | 100def2936503dedc8138d738d68b69d5de66766 (diff) | |
download | opie-daef74a7e852855f781765fad7969b6c83e2e9c6.zip opie-daef74a7e852855f781765fad7969b6c83e2e9c6.tar.gz opie-daef74a7e852855f781765fad7969b6c83e2e9c6.tar.bz2 |
s/Opie::Core::odebug/odebug/ (same with oerr,owarn,ofatal)
Diffstat (limited to 'core/pim/addressbook/contacteditor.cpp') (more/less context) (show 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 @@ -79,5 +79,5 @@ ContactEditor::~ContactEditor() { void ContactEditor::init() { - Opie::Core::owarn << "init() START" << oendl; + owarn << "init() START" << oendl; uint i = 0; @@ -688,9 +688,9 @@ void ContactEditor::init() { setPersonalView ( m_personalView ); - Opie::Core::owarn << "init() END" << oendl; + owarn << "init() END" << oendl; } void ContactEditor::defaultEmailChanged(int i){ - Opie::Core::odebug << "defaultEmailChanged" << oendl; + odebug << "defaultEmailChanged" << oendl; // was sollte das ? (se) @@ -699,5 +699,5 @@ void ContactEditor::defaultEmailChanged(int i){ defaultEmail = cmbDefaultEmail->text(i); - Opie::Core::odebug << "Changed to: " << defaultEmail << oendl; + odebug << "Changed to: " << defaultEmail << oendl; } @@ -718,10 +718,10 @@ void ContactEditor::populateDefaultEmailCmb(){ bool found = false; for ( int i = 0; i < cmbDefaultEmail->count(); i++){ - Opie::Core::odebug << " populateDefaultEmailCmb text >" << cmbDefaultEmail->text( i ) + odebug << " populateDefaultEmailCmb text >" << cmbDefaultEmail->text( i ) << "< defaultEmail >" << defaultEmail << "<" << oendl; if ( cmbDefaultEmail->text( i ).stripWhiteSpace() == defaultEmail.stripWhiteSpace() ){ cmbDefaultEmail->setCurrentItem( i ); - Opie::Core::odebug << "set" << oendl; + odebug << "set" << oendl; found = true; } @@ -739,5 +739,5 @@ void ContactEditor::populateDefaultEmailCmb(){ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int widgetPos ) { QString type = slChooserNames[index]; - Opie::Core::owarn << "ContactEditor::cmbChooserChange -> Type: " << type + owarn << "ContactEditor::cmbChooserChange -> Type: " << type << ", WidgetPos: " << widgetPos << oendl; @@ -747,5 +747,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w // Create and connect combobox for selecting the default email if ( type == "Default Email"){ - Opie::Core::owarn << "Choosing default-email (defaultEmailChooserPosition= " + owarn << "Choosing default-email (defaultEmailChooserPosition= " << defaultEmailChooserPosition << ") " << oendl; @@ -781,5 +781,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w } else { // Something else was selected: Hide combo.. - Opie::Core::owarn << " Hiding default-email combo" << oendl; + owarn << " Hiding default-email combo" << oendl; if ( defaultEmailChooserPosition == widgetPos ){ defaultEmailChooserPosition = -1; @@ -806,5 +806,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w void ContactEditor::chooserError( int index ) { - Opie::Core::owarn << "ContactEditor::chooserError( " << index << " )" << oendl; + owarn << "ContactEditor::chooserError( " << index << " )" << oendl; QMessageBox::warning( this, "Chooser Error", "Multiple selection of this\n" @@ -842,10 +842,10 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, QString type = slChooserNames[index]; // :SX - Opie::Core::odebug << "ContactEditor::chooserChange( type=>" << type << "<, textChanged=>" + odebug << "ContactEditor::chooserChange( type=>" << type << "<, textChanged=>" << textChanged << "< index=" << index << ", widgetPos=" << widgetPos << " )" << oendl; if ( type == "Default Email"){ - Opie::Core::owarn << "??? Wozu??: " << textChanged << oendl; + owarn << "??? Wozu??: " << textChanged << oendl; defaultEmail = textChanged; @@ -853,5 +853,5 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, }else if (type == "Emails"){ - Opie::Core::odebug << "emails" << oendl; + odebug << "emails" << oendl; QString de; @@ -866,10 +866,10 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, void ContactEditor::slotChooser1Change( const QString &textChanged ) { - Opie::Core::owarn << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl; + owarn << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl; chooserChange( textChanged, cmbChooserField1->currentItem(), txtChooserField1, 1); } void ContactEditor::slotChooser2Change( const QString &textChanged ) { - Opie::Core::owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl; + owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl; chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2); @@ -877,10 +877,10 @@ void ContactEditor::slotChooser2Change( const QString &textChanged ) { void ContactEditor::slotChooser3Change( const QString &textChanged ) { - Opie::Core::owarn << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl; + owarn << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl; chooserChange( textChanged, cmbChooserField3->currentItem(), txtChooserField3, 3); } void ContactEditor::slotChooser4Change( const QString &textChanged ) { - Opie::Core::owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl; + owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl; chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4); } @@ -952,5 +952,5 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) { void ContactEditor::slotCmbChooser1Change( int index ) { - Opie::Core::owarn << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl; + owarn << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl; if ( !cmbChooserChange( cmbChooserField1->currentItem(), m_widgetStack1, 1) ){ @@ -963,5 +963,5 @@ void ContactEditor::slotCmbChooser1Change( int index ) { void ContactEditor::slotCmbChooser2Change( int index ) { - Opie::Core::owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl; + owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl; if ( !cmbChooserChange( cmbChooserField2->currentItem(), m_widgetStack2, 2) ){ @@ -974,5 +974,5 @@ void ContactEditor::slotCmbChooser2Change( int index ) { void ContactEditor::slotCmbChooser3Change( int index ) { - Opie::Core::owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl; + owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl; if ( !cmbChooserChange( cmbChooserField3->currentItem(), m_widgetStack3, 3) ){ @@ -985,5 +985,5 @@ void ContactEditor::slotCmbChooser3Change( int index ) { void ContactEditor::slotCmbChooser4Change( int index ) { - Opie::Core::owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl; + owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl; if ( !cmbChooserChange( cmbChooserField4->currentItem(), m_widgetStack4, 4) ){ @@ -1030,5 +1030,5 @@ void ContactEditor::slotAddressTypeChange( int index ) { void ContactEditor::slotFullNameChange( const QString &textChanged ) { - Opie::Core::owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl; + owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl; int index = cmbFileAs->currentItem(); @@ -1054,5 +1054,5 @@ void ContactEditor::slotSuffixChange( const QString& ) { void ContactEditor::slotOrganizationChange( const QString &textChanged ){ - Opie::Core::owarn << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl; + owarn << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl; // Special handling for storing Companies: // If no Fullname is given, we store the Company-Name as lastname @@ -1136,9 +1136,9 @@ QString ContactEditor::parseName( const QString fullName, int type ) { bool haveLastName = false; - Opie::Core::owarn << "Fullname: " << simplifiedName << oendl; + owarn << "Fullname: " << simplifiedName << oendl; commapos = simplifiedName.find( ',', 0, TRUE); if ( commapos >= 0 ) { - Opie::Core::owarn << " Commapos: " << commapos << oendl; + owarn << " Commapos: " << commapos << oendl; // A comma (",") separates the lastname from one or @@ -1149,5 +1149,5 @@ QString ContactEditor::parseName( const QString fullName, int type ) { simplifiedName= simplifiedName.mid( commapos + 1 ); haveLastName = true; - Opie::Core::owarn << "Fullname without ',': " << simplifiedName << oendl; + owarn << "Fullname without ',': " << simplifiedName << oendl; // If we have any lastname, we should now split all first names. @@ -1183,8 +1183,8 @@ QString ContactEditor::parseName( const QString fullName, int type ) { strFirstName = ""; - Opie::Core::owarn << "strFirstName: " << strFirstName << oendl; - Opie::Core::owarn << "strMiddletName: " << strMiddleName << oendl; - Opie::Core::owarn << "strLastName: " << strLastName << oendl; - Opie::Core::owarn << "strTitle: " << strTitle << oendl; + owarn << "strFirstName: " << strFirstName << oendl; + owarn << "strMiddletName: " << strMiddleName << oendl; + owarn << "strLastName: " << strLastName << oendl; + owarn << "strTitle: " << strTitle << oendl; switch (type) { @@ -1269,5 +1269,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { defaultEmail = ent.defaultEmail(); if (defaultEmail.isEmpty()) defaultEmail = emails[0]; - Opie::Core::odebug << "default email=" << defaultEmail << oendl; + odebug << "default email=" << defaultEmail << oendl; txtFirstName->setText( ent.firstName() ); @@ -1329,5 +1329,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { for ( it = slDynamicEntries.begin(); itLE.current()/* != slDynamicEntries.end()*/; ++it, ++itLE) { - Opie::Core::owarn << " Filling dynamic Field: " << (*it) << oendl; + owarn << " Filling dynamic Field: " << (*it) << oendl; if ( *it == "Department" ) @@ -1353,5 +1353,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { if ( *it == "Nickname" ){ - Opie::Core::owarn << "**** Nichname: " << ent.nickname() << oendl; + owarn << "**** Nichname: " << ent.nickname() << oendl; (*itLE)->setText( ent.nickname() ); } @@ -1586,6 +1586,6 @@ void ContactEditor::saveEntry() { parseEmailFrom( emails.join(","), defaultmail, allemail ); if ( defaultEmail.isEmpty() ){ - Opie::Core::owarn << "Default email was not set by user!" << oendl; - Opie::Core::owarn << "Using first email in list: " << defaultmail << oendl; + owarn << "Default email was not set by user!" << oendl; + owarn << "Using first email in list: " << defaultmail << oendl; ent.setDefaultEmail( defaultmail ); } @@ -1739,5 +1739,5 @@ void ContactEditor::slotBirthdayDateChanged( int year, int month, int day) void ContactEditor::slotRemoveBirthday() { - Opie::Core::owarn << "void ContactEditor::slotRemoveBirthday()" << oendl; + owarn << "void ContactEditor::slotRemoveBirthday()" << oendl; ent.setBirthday( QDate() ); updateDatePicker(); @@ -1746,5 +1746,5 @@ void ContactEditor::slotRemoveBirthday() void ContactEditor::slotRemoveAnniversary() { - Opie::Core::owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl; + owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl; ent.setAnniversary( QDate() ); updateDatePicker(); |