author | eilers <eilers> | 2004-10-12 09:07:04 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-10-12 09:07:04 (UTC) |
commit | c6cd1497c5e08f68085c27c04277cdb5f720527f (patch) (side-by-side diff) | |
tree | 6aeb5079e5d5046240be7eabca2e859f269ef073 /core/pim/addressbook/addressbook.cpp | |
parent | c1be01cafaa3b9f22586c73d14c5eaf0e7c6848d (diff) | |
download | opie-c6cd1497c5e08f68085c27c04277cdb5f720527f.zip opie-c6cd1497c5e08f68085c27c04277cdb5f720527f.tar.gz opie-c6cd1497c5e08f68085c27c04277cdb5f720527f.tar.bz2 |
No functional changes.
Just replaced owarn to odebug where debug output was ment by the developer.
These warnings confusing users if the have any problems..
Diffstat (limited to 'core/pim/addressbook/addressbook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index 35d0f41..835038a 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp @@ -269,6 +269,6 @@ void AddressbookWindow::slotConfig() if ( QPEApplication::execDialog( dlg ) ) { - owarn << "Config Dialog accepted!" << oendl; + odebug << "Config Dialog accepted!" << oendl; m_config = dlg -> getConfig(); if ( m_curFontSize != m_config.fontSize() ){ - owarn << "Font was changed!" << oendl; + odebug << "Font was changed!" << oendl; m_curFontSize = m_config.fontSize(); @@ -285,3 +285,3 @@ void AddressbookWindow::slotSetFont( int size ) { - owarn << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl; + odebug << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl; @@ -327,6 +327,6 @@ void AddressbookWindow::exportvCard() { - owarn << "void AddressbookWindow::exportvCard()" << oendl; + odebug << "void AddressbookWindow::exportvCard()" << oendl; QString filename = Opie::Ui::OFileDialog::getSaveFileName( 1,"/home/"); //,"", "*", this ); if( !filename.isEmpty() && ( filename[filename.length()-1] != '/' ) ){ - owarn << " Save to file " << filename << ", (" << filename.length()-1 << ")" << oendl; + odebug << " Save to file " << filename << ", (" << filename.length()-1 << ")" << oendl; Opie::OPimContact curCont = m_abView->currentEntry(); @@ -352,3 +352,3 @@ void AddressbookWindow::setDocument( const QString &filename ) { - owarn << "void AddressbookWindow::setDocument( " << filename << " )" << oendl; + odebug << "void AddressbookWindow::setDocument( " << filename << " )" << oendl; @@ -364,6 +364,6 @@ void AddressbookWindow::setDocument( const QString &filename ) case 0: - owarn << "YES clicked" << oendl; + odebug << "YES clicked" << oendl; break; case 1: - owarn << "NO clicked" << oendl; + odebug << "NO clicked" << oendl; return; @@ -377,3 +377,3 @@ void AddressbookWindow::setDocument( const QString &filename ) Opie::OPimContactAccess::List allList = access->allRecords(); - owarn << "Found number of contacts in File: " << allList.count() << oendl; + odebug << "Found number of contacts in File: " << allList.count() << oendl; @@ -388,3 +388,3 @@ void AddressbookWindow::setDocument( const QString &filename ) for ( it = allList.begin(); it != allList.end(); ++it ){ - owarn << "Adding Contact from: " << (*it).fullName() << oendl; + odebug << "Adding Contact from: " << (*it).fullName() << oendl; if ( doAsk ){ @@ -397,3 +397,3 @@ void AddressbookWindow::setDocument( const QString &filename ) case 0: - owarn << "YES clicked" << oendl; + odebug << "YES clicked" << oendl; m_abView->addEntry( *it ); @@ -401,6 +401,6 @@ void AddressbookWindow::setDocument( const QString &filename ) case 1: - owarn << "NO clicked" << oendl; + odebug << "NO clicked" << oendl; break; case 2: - owarn << "YesAll clicked" << oendl; + odebug << "YesAll clicked" << oendl; doAsk = false; @@ -540,5 +540,5 @@ void AddressbookWindow::writeMail() if ( m_config.useQtMail() ){ - owarn << "Accessing: " << (basepath + "/bin/qtmail") << oendl; + odebug << "Accessing: " << (basepath + "/bin/qtmail") << oendl; if ( QFile::exists( basepath + "/bin/qtmail" ) ){ - owarn << "QCop" << oendl; + odebug << "QCop" << oendl; QCopEnvelope e("QPE/Application/qtmail", "writeMail(QString,QString)"); @@ -550,5 +550,5 @@ void AddressbookWindow::writeMail() if ( m_config.useOpieMail() ){ - owarn << "Accessing: " << (basepath + "/bin/opiemail") << oendl; + odebug << "Accessing: " << (basepath + "/bin/opiemail") << oendl; if ( QFile::exists( basepath + "/bin/opiemail" ) ){ - owarn << "QCop" << oendl; + odebug << "QCop" << oendl; QCopEnvelope e("QPE/Application/opiemail", "writeMail(QString,QString)"); @@ -594,3 +594,3 @@ void AddressbookWindow::slotBeam() - owarn << "Beaming: " << beamFilename << oendl; + odebug << "Beaming: " << beamFilename << oendl; @@ -641,3 +641,3 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data) bool needShow = FALSE; - owarn << "Receiving QCop-Call with message " << msg << oendl; + odebug << "Receiving QCop-Call with message " << msg << oendl; @@ -684,3 +684,3 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data) - owarn << "Showing uid: " << uid << oendl; + odebug << "Showing uid: " << uid << oendl; @@ -764,3 +764,3 @@ void AddressbookWindow::editPersonal() if ( ! actionPersonal->isOn() ){ - owarn << "*** ++++" << oendl; + odebug << "*** ++++" << oendl; actionPersonal->setOn( true ); @@ -783,6 +783,6 @@ void AddressbookWindow::slotPersonalView() { - owarn << "slotPersonalView()" << oendl; + odebug << "slotPersonalView()" << oendl; if (!actionPersonal->isOn()) { // we just turned it off - owarn << "slotPersonalView()-> OFF" << oendl; + odebug << "slotPersonalView()-> OFF" << oendl; setCaption( tr("Contacts") ); @@ -799,3 +799,3 @@ void AddressbookWindow::slotPersonalView() - owarn << "slotPersonalView()-> ON" << oendl; + odebug << "slotPersonalView()-> ON" << oendl; // XXX need to disable some QActions. @@ -889,3 +889,3 @@ void AddressbookWindow::slotNotFound() { - owarn << "Got not found signal!" << oendl; + odebug << "Got not found signal!" << oendl; QMessageBox::information( this, tr( "Not Found" ), @@ -897,3 +897,3 @@ void AddressbookWindow::slotWrapAround() { - owarn << "Got wrap signal!" << oendl; + odebug << "Got wrap signal!" << oendl; // if ( doNotifyWrapAround ) @@ -906,3 +906,3 @@ void AddressbookWindow::slotSetCategory( int c ) { - owarn << "void AddressbookWindow::slotSetCategory( " << c << " ) from " + odebug << "void AddressbookWindow::slotSetCategory( " << c << " ) from " << catMenu->count() << oendl; @@ -942,3 +942,3 @@ void AddressbookWindow::slotSetCategory( int c ) cat = "Unfiled"; - owarn << "Unfiled selected!" << oendl; + odebug << "Unfiled selected!" << oendl; }else{ @@ -965,3 +965,3 @@ void AddressbookWindow::slotViewSwitched( int view ) { - owarn << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl; + odebug << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl; int menu = 0; |