summaryrefslogtreecommitdiff
authoreilers <eilers>2004-10-12 09:07:04 (UTC)
committer eilers <eilers>2004-10-12 09:07:04 (UTC)
commitc6cd1497c5e08f68085c27c04277cdb5f720527f (patch) (side-by-side diff)
tree6aeb5079e5d5046240be7eabca2e859f269ef073
parentc1be01cafaa3b9f22586c73d14c5eaf0e7c6848d (diff)
downloadopie-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 (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/ablabel.cpp14
-rw-r--r--core/pim/addressbook/abtable.cpp46
-rw-r--r--core/pim/addressbook/abview.cpp52
-rw-r--r--core/pim/addressbook/addressbook.cpp58
-rw-r--r--core/pim/addressbook/configdlg.cpp10
-rw-r--r--core/pim/addressbook/contacteditor.cpp58
-rw-r--r--core/pim/addressbook/picker.cpp2
7 files changed, 120 insertions, 120 deletions
diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp
index b81a3b9..6b8e4dd 100644
--- a/core/pim/addressbook/ablabel.cpp
+++ b/core/pim/addressbook/ablabel.cpp
@@ -96,13 +96,13 @@ void AbLabel::keyPressEvent( QKeyEvent *e )
switch( e->key() ) {
case Qt::Key_Left:
- owarn << "Left.." << oendl;
+ odebug << "Left.." << oendl;
case Qt::Key_Right:
- owarn << "Right.." << oendl;
+ odebug << "Right.." << oendl;
case Qt::Key_F33:
- owarn << "OK.." << oendl;
+ odebug << "OK.." << oendl;
emit signalOkPressed();
break;
case Qt::Key_Up:
- owarn << "Up.." << oendl;
+ odebug << "Up.." << oendl;
if ( ( visibleHeight() < contentsHeight() ) &&
( verticalScrollBar()->value() > verticalScrollBar()->minValue() ) )
@@ -118,7 +118,7 @@ void AbLabel::keyPressEvent( QKeyEvent *e )
break;
case Qt::Key_Down:
- owarn << "Down.." << oendl;
-// owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl;
-// owarn << "Value: " << verticalScrollBar()->value()
+ odebug << "Down.." << oendl;
+// odebug << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl;
+// odebug << "Value: " << verticalScrollBar()->value()
// << ", barMaxValue: " << verticalScrollBar()->maxValue() << oendl;
if ( ( visibleHeight() < contentsHeight() ) &&
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index 3fb2214..30d749c 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -122,5 +122,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
countNested( 0 )
{
- // owarn << "C'tor start" << oendl;
+ // odebug << "C'tor start" << oendl;
setSelectionMode( NoSelection );
init();
@@ -130,5 +130,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
// contactList.clear();
- // owarn << "C'tor end" << oendl;
+ // odebug << "C'tor end" << oendl;
}
@@ -152,5 +152,5 @@ void AbTable::init()
void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList )
{
- owarn << "AbTable::setContacts()" << oendl;
+ odebug << "AbTable::setContacts()" << oendl;
clear();
@@ -184,5 +184,5 @@ void AbTable::setOrderedList( const QValueList<int> ordered )
bool AbTable::selectContact( int UID )
{
- owarn << "AbTable::selectContact( " << UID << " )" << oendl;
+ odebug << "AbTable::selectContact( " << UID << " )" << oendl;
int rows = numRows();
Opie::OPimContact* foundContact = 0l;
@@ -190,5 +190,5 @@ bool AbTable::selectContact( int UID )
setPaintingEnabled( FALSE );
- owarn << "Search start" << oendl;
+ odebug << "Search start" << oendl;
for ( int r = 0; r < rows; ++r ) {
if ( m_viewList.uidAt( r ) == UID ){
@@ -199,5 +199,5 @@ bool AbTable::selectContact( int UID )
}
}
- owarn << "Search end" << oendl;
+ odebug << "Search end" << oendl;
if ( !found ){
@@ -214,5 +214,5 @@ bool AbTable::selectContact( int UID )
void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row )
{
- owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
+ odebug << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
<< row << " )" << oendl;
QString strName;
@@ -284,5 +284,5 @@ int AbTable::currentEntry_UID()
void AbTable::clear()
{
- owarn << "void AbTable::clear()" << oendl;
+ odebug << "void AbTable::clear()" << oendl;
// contactList.clear();
@@ -335,5 +335,5 @@ void AbTable::keyPressEvent( QKeyEvent *e )
moveTo( key );
- // owarn << "Received key .." << oendl;
+ // odebug << "Received key .." << oendl;
switch( e->key() ) {
case Qt::Key_Space:
@@ -343,9 +343,9 @@ void AbTable::keyPressEvent( QKeyEvent *e )
break;
// case Qt::Key_Up:
-// owarn << "a" << oendl;
+// odebug << "a" << oendl;
// emit signalKeyUp();
// break;
// case Qt::Key_Down:
-// owarn << "b" << oendl;
+// odebug << "b" << oendl;
// emit signalKeyDown();
// break;
@@ -358,5 +358,5 @@ void AbTable::keyPressEvent( QKeyEvent *e )
void AbTable::moveTo( char c )
{
- owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
+ odebug << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
#if 0
@@ -424,5 +424,5 @@ void AbTable::resizeRows() {
void AbTable::realignTable()
{
- // owarn << "void AbTable::realignTable()" << oendl;
+ // odebug << "void AbTable::realignTable()" << oendl;
setPaintingEnabled( FALSE );
@@ -474,5 +474,5 @@ void QTable::paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch )
void AbTable::fitColumns()
{
- owarn << "void AbTable::fitColumns()" << oendl;
+ odebug << "void AbTable::fitColumns()" << oendl;
int contentsWidth = visibleWidth() / 2;
// Fix to better value
@@ -486,5 +486,5 @@ void AbTable::fitColumns()
}
- // owarn << "Width: " << contentsWidth << oendl;
+ // odebug << "Width: " << contentsWidth << oendl;
setColumnWidth( 0, contentsWidth );
@@ -498,5 +498,5 @@ void AbTable::fitColumns()
void AbTable::show()
{
- // owarn << "void AbTable::show()" << oendl;
+ // odebug << "void AbTable::show()" << oendl;
realignTable();
QTable::show();
@@ -522,9 +522,9 @@ void AbTable::setChoiceNames( const QStringList& list)
void AbTable::itemClicked(int,int col)
{
- // owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
+ // odebug << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
if ( col == 2 ) {
return;
} else {
- // owarn << "Emitting signalSwitch()" << oendl;
+ // odebug << "Emitting signalSwitch()" << oendl;
emit signalSwitch();
}
@@ -563,5 +563,5 @@ QStringList AbTable::choiceSelection(int /*index*/) const
void AbTable::updateVisible()
{
- // owarn << "void AbTable::updateVisible()" << oendl;
+ // odebug << "void AbTable::updateVisible()" << oendl;
int visible,
@@ -599,5 +599,5 @@ void AbTable::updateVisible()
void AbTable::setPaintingEnabled( bool e )
{
- // owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
+ // odebug << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
// << countNested << oendl;
@@ -616,10 +616,10 @@ void AbTable::setPaintingEnabled( bool e )
setUpdatesEnabled( false );
}
- // owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
+ // odebug << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
// << countNested << oendl;
}
void AbTable::viewportPaintEvent( QPaintEvent* e ) {
- // owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
+ // odebug << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
// << enablePainting << oendl;
if ( enablePainting )
@@ -632,5 +632,5 @@ void AbTable::paintCell(QPainter* p, int row, int col, const QRect& cr, bool )
p->save();
- // owarn << "Paint row: " << row << oendl;
+ // odebug << "Paint row: " << row << oendl;
Opie::OPimContact act_contact = m_viewList[row];
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 7a5b6d4..7abb45c 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -53,5 +53,5 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ):
m_orderedFields( ordered )
{
- owarn << "AbView::c'tor" << oendl;
+ odebug << "AbView::c'tor" << oendl;
// Load default database and handle syncing myself.. !
m_contactdb = new Opie::OPimContactAccess ( "addressbook", 0l, 0l, false );
@@ -101,5 +101,5 @@ AbView::~AbView()
void AbView::setView( Views view )
{
- owarn << "AbView::setView( Views view )" << oendl;
+ odebug << "AbView::setView( Views view )" << oendl;
m_curr_View = view;
load();
@@ -108,5 +108,5 @@ void AbView::setView( Views view )
void AbView::addEntry( const Opie::OPimContact &newContact )
{
- owarn << "AbView::AddContact" << oendl;
+ odebug << "AbView::AddContact" << oendl;
m_contactdb->add ( newContact );
load();
@@ -115,5 +115,5 @@ void AbView::addEntry( const Opie::OPimContact &newContact )
void AbView::removeEntry( const int UID )
{
- owarn << "AbView;:RemoveContact" << oendl;
+ odebug << "AbView;:RemoveContact" << oendl;
m_contactdb->remove( UID );
load();
@@ -122,5 +122,5 @@ void AbView::removeEntry( const int UID )
void AbView::replaceEntry( const Opie::OPimContact &contact )
{
- owarn << "AbView::ReplaceContact" << oendl;
+ odebug << "AbView::ReplaceContact" << oendl;
m_contactdb->replace( contact );
load();
@@ -146,5 +146,5 @@ Opie::OPimContact AbView::currentEntry()
bool AbView::save()
{
- // owarn << "AbView::Save data" << oendl;
+ // odebug << "AbView::Save data" << oendl;
return m_contactdb->save();
@@ -153,5 +153,5 @@ bool AbView::save()
void AbView::load()
{
- owarn << "AbView::Load data" << oendl;
+ odebug << "AbView::Load data" << oendl;
// Letter Search is stopped at this place
@@ -167,5 +167,5 @@ void AbView::load()
}
- owarn << "Number of contacts: " << m_list.count() << oendl;
+ odebug << "Number of contacts: " << m_list.count() << oendl;
updateView( true );
@@ -175,5 +175,5 @@ void AbView::load()
void AbView::reload()
{
- owarn << "AbView::::reload()" << oendl;
+ odebug << "AbView::::reload()" << oendl;
m_contactdb->reload();
@@ -188,5 +188,5 @@ void AbView::clear()
void AbView::setShowByCategory( const QString& cat )
{
- owarn << "AbView::setShowCategory( const QString& cat )" << oendl;
+ odebug << "AbView::setShowCategory( const QString& cat )" << oendl;
int intCat = 0;
@@ -200,5 +200,5 @@ void AbView::setShowByCategory( const QString& cat )
// Just do anything if we really change the category
if ( intCat != m_curr_category ){
- // owarn << "Categories: Selected " << cat << ".. Number: "
+ // odebug << "Categories: Selected " << cat << ".. Number: "
// << m_curr_category << oendl;
@@ -213,8 +213,8 @@ void AbView::setShowByCategory( const QString& cat )
void AbView::setShowToView( Views view )
{
- owarn << "void AbView::setShowToView( View " << view << " )" << oendl;
+ odebug << "void AbView::setShowToView( View " << view << " )" << oendl;
if ( m_curr_View != view ){
- owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl;
+ odebug << "Change the View (Category is: " << m_curr_category << ")" << oendl;
m_prev_View = m_curr_View;
m_curr_View = view;
@@ -227,5 +227,5 @@ void AbView::setShowToView( Views view )
void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode )
{
- owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl;
+ odebug << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl;
assert( mode < AbConfig::LASTELEMENT );
@@ -280,5 +280,5 @@ QString AbView::showCategory() const
void AbView::showPersonal( bool personal )
{
- owarn << "void AbView::showPersonal( " << personal << " )" << oendl;
+ odebug << "void AbView::showPersonal( " << personal << " )" << oendl;
if ( personal ){
@@ -350,5 +350,5 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
}
- // owarn << "Find in Category " << category << oendl;
+ // odebug << "Find in Category " << category << oendl;
QRegExp r( str );
@@ -359,5 +359,5 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
m_list = m_contactdb->matchRegexp( r );
- // owarn << "Found: " << m_list.count() << oendl;
+ // odebug << "Found: " << m_list.count() << oendl;
if ( m_list.count() == 0 ){
emit signalNotFound();
@@ -383,14 +383,14 @@ void AbView::offSearch()
void AbView::slotSwitch(){
- // owarn << "AbView::slotSwitch()" << oendl;
+ // odebug << "AbView::slotSwitch()" << oendl;
m_prev_View = m_curr_View;
switch ( (int) m_curr_View ){
case TableView:
- owarn << "Switching to CardView" << oendl;
+ odebug << "Switching to CardView" << oendl;
m_curr_View = CardView;
break;
case CardView:
- owarn << "Switching to TableView" << oendl;
+ odebug << "Switching to TableView" << oendl;
m_curr_View = TableView;
break;
@@ -411,5 +411,5 @@ void AbView::clearForCategory()
for ( it = allList.begin(); it != allList.end(); ++it ){
if ( !contactCompare( *it, m_curr_category ) ){
- //owarn << "Removing " << (*it).uid() << oendl;
+ //odebug << "Removing " << (*it).uid() << oendl;
m_list.remove( (*it).uid() );
}
@@ -421,5 +421,5 @@ void AbView::clearForCategory()
bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
{
- // owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, "
+ // odebug << "bool AbView::contactCompare( const Opie::OPimContact &cnt, "
// << category << " )" << oendl;
@@ -428,5 +428,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
cats = cnt.categories();
- // owarn << "Number of categories: " << cats.count() << oendl;
+ // odebug << "Number of categories: " << cats.count() << oendl;
returnMe = false;
@@ -437,5 +437,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
int i;
for ( i = 0; i < int(cats.count()); i++ ) {
- //owarn << "Comparing " << cats[i] << " with " << category << oendl;
+ //odebug << "Comparing " << cats[i] << " with " << category << oendl;
if ( cats[i] == category ) {
returnMe = true;
@@ -444,5 +444,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
}
}
- // owarn << "Return: " << returnMe << oendl;
+ // odebug << "Return: " << returnMe << oendl;
return returnMe;
}
@@ -457,5 +457,5 @@ void AbView::updateListinViews()
void AbView::updateView( bool newdata )
{
- // owarn << "AbView::updateView()" << oendl;
+ // odebug << "AbView::updateView()" << oendl;
if ( m_viewStack -> visibleWidget() ){
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
@@ -268,8 +268,8 @@ void AddressbookWindow::slotConfig()
dlg -> setConfig( m_config );
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();
emit slotSetFont( m_curFontSize );
@@ -284,5 +284,5 @@ void AddressbookWindow::slotConfig()
void AddressbookWindow::slotSetFont( int size )
{
- owarn << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl;
+ odebug << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl;
if (size > 2 || size < 0)
@@ -326,8 +326,8 @@ void AddressbookWindow::importvCard() {
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();
if ( !curCont.isEmpty() ){
@@ -351,5 +351,5 @@ void AddressbookWindow::exportvCard()
void AddressbookWindow::setDocument( const QString &filename )
{
- owarn << "void AddressbookWindow::setDocument( " << filename << " )" << oendl;
+ odebug << "void AddressbookWindow::setDocument( " << filename << " )" << oendl;
if ( filename.find(".vcf") != int(filename.length()) - 4 ){
@@ -363,8 +363,8 @@ void AddressbookWindow::setDocument( const QString &filename )
2 ) ) { // Escape == button 2
case 0:
- owarn << "YES clicked" << oendl;
+ odebug << "YES clicked" << oendl;
break;
case 1:
- owarn << "NO clicked" << oendl;
+ odebug << "NO clicked" << oendl;
return;
break;
@@ -376,5 +376,5 @@ void AddressbookWindow::setDocument( const QString &filename )
Opie::OPimContactAccess* access = new Opie::OPimContactAccess ( "addressbook", QString::null , vcard_backend, true );
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;
if ( !allList.count() ) {
@@ -387,5 +387,5 @@ void AddressbookWindow::setDocument( const QString &filename )
Opie::OPimContactAccess::List::Iterator it;
for ( it = allList.begin(); it != allList.end(); ++it ){
- owarn << "Adding Contact from: " << (*it).fullName() << oendl;
+ odebug << "Adding Contact from: " << (*it).fullName() << oendl;
if ( doAsk ){
switch( QMessageBox::information( this, tr ( "Add Contact?" ),
@@ -396,12 +396,12 @@ void AddressbookWindow::setDocument( const QString &filename )
2 ) ) { // Escape == button 2
case 0:
- owarn << "YES clicked" << oendl;
+ odebug << "YES clicked" << oendl;
m_abView->addEntry( *it );
break;
case 1:
- owarn << "NO clicked" << oendl;
+ odebug << "NO clicked" << oendl;
break;
case 2:
- owarn << "YesAll clicked" << oendl;
+ odebug << "YesAll clicked" << oendl;
doAsk = false;
break;
@@ -539,7 +539,7 @@ void AddressbookWindow::writeMail()
// switch to the other one..
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)");
e << name << email;
@@ -549,7 +549,7 @@ 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)");
e << name << email;
@@ -593,5 +593,5 @@ void AddressbookWindow::slotBeam()
}
- owarn << "Beaming: " << beamFilename << oendl;
+ odebug << "Beaming: " << beamFilename << oendl;
Ir *ir = new Ir( this );
@@ -640,5 +640,5 @@ 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;
@@ -683,5 +683,5 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
stream >> uid;
- owarn << "Showing uid: " << uid << oendl;
+ odebug << "Showing uid: " << uid << oendl;
// Deactivate Personal View..
@@ -763,5 +763,5 @@ void AddressbookWindow::editPersonal()
// but take care of the menu, too
if ( ! actionPersonal->isOn() ){
- owarn << "*** ++++" << oendl;
+ odebug << "*** ++++" << oendl;
actionPersonal->setOn( true );
slotPersonalView();
@@ -782,8 +782,8 @@ void AddressbookWindow::editPersonal()
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") );
actionNew->setEnabled(TRUE);
@@ -798,5 +798,5 @@ void AddressbookWindow::slotPersonalView()
}
- owarn << "slotPersonalView()-> ON" << oendl;
+ odebug << "slotPersonalView()-> ON" << oendl;
// XXX need to disable some QActions.
actionNew->setEnabled(FALSE);
@@ -888,5 +888,5 @@ void AddressbookWindow::slotSave()
void AddressbookWindow::slotNotFound()
{
- owarn << "Got not found signal!" << oendl;
+ odebug << "Got not found signal!" << oendl;
QMessageBox::information( this, tr( "Not Found" ),
"<qt>" + tr( "Unable to find a contact for this search pattern!" ) + "</qt>" );
@@ -896,5 +896,5 @@ void AddressbookWindow::slotNotFound()
void AddressbookWindow::slotWrapAround()
{
- owarn << "Got wrap signal!" << oendl;
+ odebug << "Got wrap signal!" << oendl;
// if ( doNotifyWrapAround )
// QMessageBox::information( this, tr( "End of list" ),
@@ -905,5 +905,5 @@ void AddressbookWindow::slotWrapAround()
void AddressbookWindow::slotSetCategory( int c )
{
- owarn << "void AddressbookWindow::slotSetCategory( " << c << " ) from "
+ odebug << "void AddressbookWindow::slotSetCategory( " << c << " ) from "
<< catMenu->count() << oendl;
@@ -941,5 +941,5 @@ void AddressbookWindow::slotSetCategory( int c )
}else if ( i == (unsigned int)catMenu->count() - 1 ){ // last menu option (seperator is counted, too) will be Unfiled
cat = "Unfiled";
- owarn << "Unfiled selected!" << oendl;
+ odebug << "Unfiled selected!" << oendl;
}else{
cat = m_abView->categories()[i - 4];
@@ -964,5 +964,5 @@ void AddressbookWindow::slotSetCategory( int c )
void AddressbookWindow::slotViewSwitched( int view )
{
- owarn << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl;
+ odebug << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl;
int menu = 0;
diff --git a/core/pim/addressbook/configdlg.cpp b/core/pim/addressbook/configdlg.cpp
index 22f7291..61e6c7e 100644
--- a/core/pim/addressbook/configdlg.cpp
+++ b/core/pim/addressbook/configdlg.cpp
@@ -44,5 +44,5 @@ ConfigDlg::ConfigDlg( QWidget *parent, const char *name):
void ConfigDlg::slotItemUp()
{
- owarn << "void ConfigDlg::slotItemUp()" << oendl;
+ odebug << "void ConfigDlg::slotItemUp()" << oendl;
int i = fieldListBox->currentItem();
@@ -58,5 +58,5 @@ void ConfigDlg::slotItemUp()
void ConfigDlg::slotItemDown()
{
- owarn << "void ConfigDlg::slotItemDown()" << oendl;
+ odebug << "void ConfigDlg::slotItemDown()" << oendl;
int i = fieldListBox->currentItem();
@@ -71,10 +71,10 @@ void ConfigDlg::slotItemDown()
void ConfigDlg::slotItemAdd()
{
- owarn << "void ConfigDlg::slotItemAdd()" << oendl;
+ odebug << "void ConfigDlg::slotItemAdd()" << oendl;
int i = allFieldListBox->currentItem();
if ( i > 0 ) {
QString item = allFieldListBox->currentText();
- owarn << "Adding " << item << oendl;
+ odebug << "Adding " << item << oendl;
fieldListBox->insertItem( item );
}
@@ -83,5 +83,5 @@ void ConfigDlg::slotItemAdd()
void ConfigDlg::slotItemRemove()
{
- owarn << "void ConfigDlg::slotItemRemove()" << oendl;
+ odebug << "void ConfigDlg::slotItemRemove()" << oendl;
int i = fieldListBox->currentItem();
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 312c663..b078968 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -80,5 +80,5 @@ ContactEditor::~ContactEditor() {
void ContactEditor::init() {
- owarn << "init() START" << oendl;
+ odebug << "init() START" << oendl;
uint i = 0;
@@ -689,5 +689,5 @@ void ContactEditor::init() {
setPersonalView ( m_personalView );
- owarn << "init() END" << oendl;
+ odebug << "init() END" << oendl;
}
@@ -740,5 +740,5 @@ void ContactEditor::populateDefaultEmailCmb(){
bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int widgetPos ) {
QString type = slChooserNames[index];
- owarn << "ContactEditor::cmbChooserChange -> Type: " << type
+ odebug << "ContactEditor::cmbChooserChange -> Type: " << type
<< ", WidgetPos: " << widgetPos << oendl;
@@ -748,5 +748,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w
// Create and connect combobox for selecting the default email
if ( type == "Default Email"){
- owarn << "Choosing default-email (defaultEmailChooserPosition= "
+ odebug << "Choosing default-email (defaultEmailChooserPosition= "
<< defaultEmailChooserPosition << ") " << oendl;
@@ -782,5 +782,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w
} else {
// Something else was selected: Hide combo..
- owarn << " Hiding default-email combo" << oendl;
+ odebug << " Hiding default-email combo" << oendl;
if ( defaultEmailChooserPosition == widgetPos ){
defaultEmailChooserPosition = -1;
@@ -848,5 +848,5 @@ void ContactEditor::chooserChange( const QString &textChanged, int index,
if ( type == "Default Email"){
- owarn << "??? Wozu??: " << textChanged << oendl;
+ odebug << "??? Wozu??: " << textChanged << oendl;
defaultEmail = textChanged;
@@ -867,10 +867,10 @@ void ContactEditor::chooserChange( const QString &textChanged, int index,
void ContactEditor::slotChooser1Change( const QString &textChanged ) {
- owarn << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl;
+ odebug << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl;
chooserChange( textChanged, cmbChooserField1->currentItem(), txtChooserField1, 1);
}
void ContactEditor::slotChooser2Change( const QString &textChanged ) {
- owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl;
+ odebug << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl;
chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2);
@@ -878,10 +878,10 @@ void ContactEditor::slotChooser2Change( const QString &textChanged ) {
void ContactEditor::slotChooser3Change( const QString &textChanged ) {
- owarn << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl;
+ odebug << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl;
chooserChange( textChanged, cmbChooserField3->currentItem(), txtChooserField3, 3);
}
void ContactEditor::slotChooser4Change( const QString &textChanged ) {
- owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl;
+ odebug << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl;
chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4);
}
@@ -953,5 +953,5 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) {
void ContactEditor::slotCmbChooser1Change( int index ) {
- owarn << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl;
+ odebug << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl;
if ( !cmbChooserChange( cmbChooserField1->currentItem(), m_widgetStack1, 1) ){
@@ -964,5 +964,5 @@ void ContactEditor::slotCmbChooser1Change( int index ) {
void ContactEditor::slotCmbChooser2Change( int index ) {
- owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl;
+ odebug << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl;
if ( !cmbChooserChange( cmbChooserField2->currentItem(), m_widgetStack2, 2) ){
@@ -975,5 +975,5 @@ void ContactEditor::slotCmbChooser2Change( int index ) {
void ContactEditor::slotCmbChooser3Change( int index ) {
- owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl;
+ odebug << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl;
if ( !cmbChooserChange( cmbChooserField3->currentItem(), m_widgetStack3, 3) ){
@@ -986,5 +986,5 @@ void ContactEditor::slotCmbChooser3Change( int index ) {
void ContactEditor::slotCmbChooser4Change( int index ) {
- owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl;
+ odebug << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl;
if ( !cmbChooserChange( cmbChooserField4->currentItem(), m_widgetStack4, 4) ){
@@ -1031,5 +1031,5 @@ void ContactEditor::slotAddressTypeChange( int index ) {
void ContactEditor::slotFullNameChange( const QString &textChanged ) {
- owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl;
+ odebug << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl;
int index = cmbFileAs->currentItem();
@@ -1055,5 +1055,5 @@ void ContactEditor::slotSuffixChange( const QString& ) {
void ContactEditor::slotOrganizationChange( const QString &textChanged ){
- owarn << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl;
+ odebug << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl;
// Special handling for storing Companies:
// If no Fullname is given, we store the Company-Name as lastname
@@ -1137,9 +1137,9 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
bool haveLastName = false;
- owarn << "Fullname: " << simplifiedName << oendl;
+ odebug << "Fullname: " << simplifiedName << oendl;
commapos = simplifiedName.find( ',', 0, TRUE);
if ( commapos >= 0 ) {
- owarn << " Commapos: " << commapos << oendl;
+ odebug << " Commapos: " << commapos << oendl;
// A comma (",") separates the lastname from one or
@@ -1150,5 +1150,5 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
simplifiedName= simplifiedName.mid( commapos + 1 );
haveLastName = true;
- owarn << "Fullname without ',': " << simplifiedName << oendl;
+ odebug << "Fullname without ',': " << simplifiedName << oendl;
// If we have any lastname, we should now split all first names.
@@ -1184,8 +1184,8 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
strFirstName = "";
- owarn << "strFirstName: " << strFirstName << oendl;
- owarn << "strMiddletName: " << strMiddleName << oendl;
- owarn << "strLastName: " << strLastName << oendl;
- owarn << "strTitle: " << strTitle << oendl;
+ odebug << "strFirstName: " << strFirstName << oendl;
+ odebug << "strMiddletName: " << strMiddleName << oendl;
+ odebug << "strLastName: " << strLastName << oendl;
+ odebug << "strTitle: " << strTitle << oendl;
switch (type) {
@@ -1330,5 +1330,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) {
for ( it = slDynamicEntries.begin(); itLE.current()/* != slDynamicEntries.end()*/; ++it, ++itLE) {
- owarn << " Filling dynamic Field: " << (*it) << oendl;
+ odebug << " Filling dynamic Field: " << (*it) << oendl;
if ( *it == "Department" )
@@ -1354,5 +1354,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) {
if ( *it == "Nickname" ){
- owarn << "**** Nichname: " << ent.nickname() << oendl;
+ odebug << "**** Nichname: " << ent.nickname() << oendl;
(*itLE)->setText( ent.nickname() );
}
@@ -1587,6 +1587,6 @@ void ContactEditor::saveEntry() {
parseEmailFrom( emails.join(","), defaultmail, allemail );
if ( defaultEmail.isEmpty() ){
- owarn << "Default email was not set by user!" << oendl;
- owarn << "Using first email in list: " << defaultmail << oendl;
+ odebug << "Default email was not set by user!" << oendl;
+ odebug << "Using first email in list: " << defaultmail << oendl;
ent.setDefaultEmail( defaultmail );
}
@@ -1740,5 +1740,5 @@ void ContactEditor::slotBirthdayDateChanged( int year, int month, int day)
void ContactEditor::slotRemoveBirthday()
{
- owarn << "void ContactEditor::slotRemoveBirthday()" << oendl;
+ odebug << "void ContactEditor::slotRemoveBirthday()" << oendl;
ent.setBirthday( QDate() );
updateDatePicker();
@@ -1747,5 +1747,5 @@ void ContactEditor::slotRemoveBirthday()
void ContactEditor::slotRemoveAnniversary()
{
- owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl;
+ odebug << "void ContactEditor::slotRemoveAnniversary()" << oendl;
ent.setAnniversary( QDate() );
updateDatePicker();
diff --git a/core/pim/addressbook/picker.cpp b/core/pim/addressbook/picker.cpp
index 8a9c85b..b962896 100644
--- a/core/pim/addressbook/picker.cpp
+++ b/core/pim/addressbook/picker.cpp
@@ -240,5 +240,5 @@ void LetterPicker::clear()
void LetterPicker::newLetter( char letter )
{
- owarn << "LetterClicked" << oendl;
+ odebug << "LetterClicked" << oendl;
emit letterClicked( letter );