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/configdlg.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/configdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/configdlg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 @@ -34,64 +34,64 @@ ConfigDlg::ConfigDlg( QWidget *parent, const char *name): // Get the translation maps between Field ID and translated strings m_mapStrToID = Opie::OPimContactFields::trFieldsToId(); m_mapIDToStr = Opie::OPimContactFields::idToTrFields(); connect ( m_addButton, SIGNAL( clicked() ), this, SLOT( slotItemAdd() ) ); connect ( m_removeButton, SIGNAL( clicked() ), this, SLOT( slotItemRemove() ) ); connect ( m_upButton, SIGNAL( clicked() ), this, SLOT( slotItemUp() ) ); connect ( m_downButton, SIGNAL( clicked() ), this, SLOT( slotItemDown() ) ); } void ConfigDlg::slotItemUp() { - owarn << "void ConfigDlg::slotItemUp()" << oendl; + odebug << "void ConfigDlg::slotItemUp()" << oendl; int i = fieldListBox->currentItem(); if ( i > 0 ) { QString item = fieldListBox->currentText(); fieldListBox->removeItem( i ); fieldListBox->insertItem( item, i-1 ); fieldListBox->setCurrentItem( i-1 ); } } void ConfigDlg::slotItemDown() { - owarn << "void ConfigDlg::slotItemDown()" << oendl; + odebug << "void ConfigDlg::slotItemDown()" << oendl; int i = fieldListBox->currentItem(); if ( i < (int)fieldListBox->count() - 1 ) { QString item = fieldListBox->currentText(); fieldListBox->removeItem( i ); fieldListBox->insertItem( item, i+1 ); fieldListBox->setCurrentItem( i+1 ); } } 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 ); } } void ConfigDlg::slotItemRemove() { - owarn << "void ConfigDlg::slotItemRemove()" << oendl; + odebug << "void ConfigDlg::slotItemRemove()" << oendl; int i = fieldListBox->currentItem(); if ( i > 0 ) { fieldListBox->removeItem( i ); } } void ConfigDlg::setConfig( const AbConfig& cnf ) { m_config = cnf; m_useRegExp->setChecked( m_config.useRegExp() ); |