summaryrefslogtreecommitdiff
path: root/core/pim/addressbook
authormickeyl <mickeyl>2004-04-04 17:03:27 (UTC)
committer mickeyl <mickeyl>2004-04-04 17:03:27 (UTC)
commitdaef74a7e852855f781765fad7969b6c83e2e9c6 (patch) (side-by-side diff)
treef635b437ba9f6d144c34c5ee58d37954bacc3c6e /core/pim/addressbook
parent100def2936503dedc8138d738d68b69d5de66766 (diff)
downloadopie-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') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/ablabel.cpp14
-rw-r--r--core/pim/addressbook/abtable.cpp50
-rw-r--r--core/pim/addressbook/abview.cpp56
-rw-r--r--core/pim/addressbook/addressbook.cpp62
-rw-r--r--core/pim/addressbook/configdlg.cpp10
-rw-r--r--core/pim/addressbook/contacteditor.cpp74
-rw-r--r--core/pim/addressbook/picker.cpp2
7 files changed, 134 insertions, 134 deletions
diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp
index 8216d6f..b81a3b9 100644
--- a/core/pim/addressbook/ablabel.cpp
+++ b/core/pim/addressbook/ablabel.cpp
@@ -97,7 +97,7 @@ void AbLabel::keyPressEvent( QKeyEvent *e )
case Qt::Key_Left:
- Opie::Core::owarn << "Left.." << oendl;
+ owarn << "Left.." << oendl;
case Qt::Key_Right:
- Opie::Core::owarn << "Right.." << oendl;
+ owarn << "Right.." << oendl;
case Qt::Key_F33:
- Opie::Core::owarn << "OK.." << oendl;
+ owarn << "OK.." << oendl;
emit signalOkPressed();
@@ -105,3 +105,3 @@ void AbLabel::keyPressEvent( QKeyEvent *e )
case Qt::Key_Up:
- Opie::Core::owarn << "Up.." << oendl;
+ owarn << "Up.." << oendl;
if ( ( visibleHeight() < contentsHeight() ) &&
@@ -119,5 +119,5 @@ void AbLabel::keyPressEvent( QKeyEvent *e )
case Qt::Key_Down:
- Opie::Core::owarn << "Down.." << oendl;
-// Opie::Core::owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl;
-// Opie::Core::owarn << "Value: " << verticalScrollBar()->value()
+ owarn << "Down.." << oendl;
+// owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl;
+// owarn << "Value: " << verticalScrollBar()->value()
// << ", barMaxValue: " << verticalScrollBar()->maxValue() << oendl;
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index cb57342..3fb2214 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -123,3 +123,3 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
{
- // Opie::Core::owarn << "C'tor start" << oendl;
+ // owarn << "C'tor start" << oendl;
setSelectionMode( NoSelection );
@@ -131,3 +131,3 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
// contactList.clear();
- // Opie::Core::owarn << "C'tor end" << oendl;
+ // owarn << "C'tor end" << oendl;
}
@@ -153,3 +153,3 @@ void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList )
{
- Opie::Core::owarn << "AbTable::setContacts()" << oendl;
+ owarn << "AbTable::setContacts()" << oendl;
@@ -185,3 +185,3 @@ bool AbTable::selectContact( int UID )
{
- Opie::Core::owarn << "AbTable::selectContact( " << UID << " )" << oendl;
+ owarn << "AbTable::selectContact( " << UID << " )" << oendl;
int rows = numRows();
@@ -191,3 +191,3 @@ bool AbTable::selectContact( int UID )
setPaintingEnabled( FALSE );
- Opie::Core::owarn << "Search start" << oendl;
+ owarn << "Search start" << oendl;
for ( int r = 0; r < rows; ++r ) {
@@ -200,3 +200,3 @@ bool AbTable::selectContact( int UID )
}
- Opie::Core::owarn << "Search end" << oendl;
+ owarn << "Search end" << oendl;
@@ -215,3 +215,3 @@ void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row )
{
- Opie::Core::owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
+ owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
<< row << " )" << oendl;
@@ -259,3 +259,3 @@ void AbTable::resort()
{
- Opie::Core::owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl;
+ owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl;
#if 0
@@ -285,3 +285,3 @@ void AbTable::clear()
{
- Opie::Core::owarn << "void AbTable::clear()" << oendl;
+ owarn << "void AbTable::clear()" << oendl;
// contactList.clear();
@@ -303,3 +303,3 @@ void AbTable::refresh()
{
- Opie::Core::owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl;
+ owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl;
@@ -336,3 +336,3 @@ void AbTable::keyPressEvent( QKeyEvent *e )
- // Opie::Core::owarn << "Received key .." << oendl;
+ // owarn << "Received key .." << oendl;
switch( e->key() ) {
@@ -344,3 +344,3 @@ void AbTable::keyPressEvent( QKeyEvent *e )
// case Qt::Key_Up:
-// Opie::Core::owarn << "a" << oendl;
+// owarn << "a" << oendl;
// emit signalKeyUp();
@@ -348,3 +348,3 @@ void AbTable::keyPressEvent( QKeyEvent *e )
// case Qt::Key_Down:
-// Opie::Core::owarn << "b" << oendl;
+// owarn << "b" << oendl;
// emit signalKeyDown();
@@ -359,3 +359,3 @@ void AbTable::moveTo( char c )
{
- Opie::Core::owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
+ owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
@@ -425,3 +425,3 @@ void AbTable::realignTable()
{
- // Opie::Core::owarn << "void AbTable::realignTable()" << oendl;
+ // owarn << "void AbTable::realignTable()" << oendl;
@@ -475,3 +475,3 @@ void AbTable::fitColumns()
{
- Opie::Core::owarn << "void AbTable::fitColumns()" << oendl;
+ owarn << "void AbTable::fitColumns()" << oendl;
int contentsWidth = visibleWidth() / 2;
@@ -487,3 +487,3 @@ void AbTable::fitColumns()
- // Opie::Core::owarn << "Width: " << contentsWidth << oendl;
+ // owarn << "Width: " << contentsWidth << oendl;
@@ -499,3 +499,3 @@ void AbTable::show()
{
- // Opie::Core::owarn << "void AbTable::show()" << oendl;
+ // owarn << "void AbTable::show()" << oendl;
realignTable();
@@ -523,3 +523,3 @@ void AbTable::itemClicked(int,int col)
{
- // Opie::Core::owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
+ // owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
if ( col == 2 ) {
@@ -527,3 +527,3 @@ void AbTable::itemClicked(int,int col)
} else {
- // Opie::Core::owarn << "Emitting signalSwitch()" << oendl;
+ // owarn << "Emitting signalSwitch()" << oendl;
emit signalSwitch();
@@ -564,3 +564,3 @@ void AbTable::updateVisible()
{
- // Opie::Core::owarn << "void AbTable::updateVisible()" << oendl;
+ // owarn << "void AbTable::updateVisible()" << oendl;
@@ -600,3 +600,3 @@ void AbTable::setPaintingEnabled( bool e )
{
- // Opie::Core::owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
+ // owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
// << countNested << oendl;
@@ -617,3 +617,3 @@ void AbTable::setPaintingEnabled( bool e )
}
- // Opie::Core::owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
+ // owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
// << countNested << oendl;
@@ -622,3 +622,3 @@ void AbTable::setPaintingEnabled( bool e )
void AbTable::viewportPaintEvent( QPaintEvent* e ) {
- // Opie::Core::owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
+ // owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
// << enablePainting << oendl;
@@ -633,3 +633,3 @@ void AbTable::paintCell(QPainter* p, int row, int col, const QRect& cr, bool )
- // Opie::Core::owarn << "Paint row: " << row << oendl;
+ // owarn << "Paint row: " << row << oendl;
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 52e5f59..7a5b6d4 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -54,3 +54,3 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ):
{
- Opie::Core::owarn << "AbView::c'tor" << oendl;
+ owarn << "AbView::c'tor" << oendl;
// Load default database and handle syncing myself.. !
@@ -102,3 +102,3 @@ void AbView::setView( Views view )
{
- Opie::Core::owarn << "AbView::setView( Views view )" << oendl;
+ owarn << "AbView::setView( Views view )" << oendl;
m_curr_View = view;
@@ -109,3 +109,3 @@ void AbView::addEntry( const Opie::OPimContact &newContact )
{
- Opie::Core::owarn << "AbView::AddContact" << oendl;
+ owarn << "AbView::AddContact" << oendl;
m_contactdb->add ( newContact );
@@ -116,3 +116,3 @@ void AbView::removeEntry( const int UID )
{
- Opie::Core::owarn << "AbView;:RemoveContact" << oendl;
+ owarn << "AbView;:RemoveContact" << oendl;
m_contactdb->remove( UID );
@@ -123,3 +123,3 @@ void AbView::replaceEntry( const Opie::OPimContact &contact )
{
- Opie::Core::owarn << "AbView::ReplaceContact" << oendl;
+ owarn << "AbView::ReplaceContact" << oendl;
m_contactdb->replace( contact );
@@ -147,3 +147,3 @@ bool AbView::save()
{
- // Opie::Core::owarn << "AbView::Save data" << oendl;
+ // owarn << "AbView::Save data" << oendl;
@@ -154,3 +154,3 @@ void AbView::load()
{
- Opie::Core::owarn << "AbView::Load data" << oendl;
+ owarn << "AbView::Load data" << oendl;
@@ -168,3 +168,3 @@ void AbView::load()
- Opie::Core::owarn << "Number of contacts: " << m_list.count() << oendl;
+ owarn << "Number of contacts: " << m_list.count() << oendl;
@@ -176,3 +176,3 @@ void AbView::reload()
{
- Opie::Core::owarn << "AbView::::reload()" << oendl;
+ owarn << "AbView::::reload()" << oendl;
@@ -189,3 +189,3 @@ void AbView::setShowByCategory( const QString& cat )
{
- Opie::Core::owarn << "AbView::setShowCategory( const QString& cat )" << oendl;
+ owarn << "AbView::setShowCategory( const QString& cat )" << oendl;
@@ -201,3 +201,3 @@ void AbView::setShowByCategory( const QString& cat )
if ( intCat != m_curr_category ){
- // Opie::Core::owarn << "Categories: Selected " << cat << ".. Number: "
+ // owarn << "Categories: Selected " << cat << ".. Number: "
// << m_curr_category << oendl;
@@ -214,6 +214,6 @@ void AbView::setShowToView( Views view )
{
- Opie::Core::owarn << "void AbView::setShowToView( View " << view << " )" << oendl;
+ owarn << "void AbView::setShowToView( View " << view << " )" << oendl;
if ( m_curr_View != view ){
- Opie::Core::owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl;
+ owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl;
m_prev_View = m_curr_View;
@@ -228,3 +228,3 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode )
{
- Opie::Core::owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl;
+ owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl;
@@ -251,3 +251,3 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode )
default:
- Opie::Core::owarn << "Unknown Searchmode for AbView::setShowByLetter ! -> " << mode << oendl
+ owarn << "Unknown Searchmode for AbView::setShowByLetter ! -> " << mode << oendl
<< "I will ignore it.." << oendl;
@@ -281,3 +281,3 @@ void AbView::showPersonal( bool personal )
{
- Opie::Core::owarn << "void AbView::showPersonal( " << personal << " )" << oendl;
+ owarn << "void AbView::showPersonal( " << personal << " )" << oendl;
@@ -337,3 +337,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
{
- // Opie::Core::owarn << "void AbView::slotDoFind" << oendl;
+ // owarn << "void AbView::slotDoFind" << oendl;
@@ -351,3 +351,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
- // Opie::Core::owarn << "Find in Category " << category << oendl;
+ // owarn << "Find in Category " << category << oendl;
@@ -360,3 +360,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp,
- // Opie::Core::owarn << "Found: " << m_list.count() << oendl;
+ // owarn << "Found: " << m_list.count() << oendl;
if ( m_list.count() == 0 ){
@@ -384,3 +384,3 @@ void AbView::offSearch()
void AbView::slotSwitch(){
- // Opie::Core::owarn << "AbView::slotSwitch()" << oendl;
+ // owarn << "AbView::slotSwitch()" << oendl;
@@ -389,3 +389,3 @@ void AbView::slotSwitch(){
case TableView:
- Opie::Core::owarn << "Switching to CardView" << oendl;
+ owarn << "Switching to CardView" << oendl;
m_curr_View = CardView;
@@ -393,3 +393,3 @@ void AbView::slotSwitch(){
case CardView:
- Opie::Core::owarn << "Switching to TableView" << oendl;
+ owarn << "Switching to TableView" << oendl;
m_curr_View = TableView;
@@ -412,3 +412,3 @@ void AbView::clearForCategory()
if ( !contactCompare( *it, m_curr_category ) ){
- //Opie::Core::owarn << "Removing " << (*it).uid() << oendl;
+ //owarn << "Removing " << (*it).uid() << oendl;
m_list.remove( (*it).uid() );
@@ -422,3 +422,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
{
- // Opie::Core::owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, "
+ // owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, "
// << category << " )" << oendl;
@@ -429,3 +429,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
- // Opie::Core::owarn << "Number of categories: " << cats.count() << oendl;
+ // owarn << "Number of categories: " << cats.count() << oendl;
@@ -438,3 +438,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
for ( i = 0; i < int(cats.count()); i++ ) {
- //Opie::Core::owarn << "Comparing " << cats[i] << " with " << category << oendl;
+ //owarn << "Comparing " << cats[i] << " with " << category << oendl;
if ( cats[i] == category ) {
@@ -445,3 +445,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category )
}
- // Opie::Core::owarn << "Return: " << returnMe << oendl;
+ // owarn << "Return: " << returnMe << oendl;
return returnMe;
@@ -458,3 +458,3 @@ void AbView::updateView( bool newdata )
{
- // Opie::Core::owarn << "AbView::updateView()" << oendl;
+ // owarn << "AbView::updateView()" << oendl;
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 94c0a13..35d0f41 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -253,3 +253,3 @@ AddressbookWindow::AddressbookWindow( QWidget *parent, const char *name,
- // Opie::Core::odebug << "adressbook contrsuction: t=" << t.elapsed() << oendl;
+ // odebug << "adressbook contrsuction: t=" << t.elapsed() << oendl;
connect( qApp, SIGNAL( flush() ), this, SLOT( flush() ) );
@@ -269,6 +269,6 @@ void AddressbookWindow::slotConfig()
if ( QPEApplication::execDialog( dlg ) ) {
- Opie::Core::owarn << "Config Dialog accepted!" << oendl;
+ owarn << "Config Dialog accepted!" << oendl;
m_config = dlg -> getConfig();
if ( m_curFontSize != m_config.fontSize() ){
- Opie::Core::owarn << "Font was changed!" << oendl;
+ owarn << "Font was changed!" << oendl;
m_curFontSize = m_config.fontSize();
@@ -285,3 +285,3 @@ void AddressbookWindow::slotSetFont( int size )
{
- Opie::Core::owarn << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl;
+ owarn << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl;
@@ -327,6 +327,6 @@ void AddressbookWindow::exportvCard()
{
- Opie::Core::owarn << "void AddressbookWindow::exportvCard()" << oendl;
+ owarn << "void AddressbookWindow::exportvCard()" << oendl;
QString filename = Opie::Ui::OFileDialog::getSaveFileName( 1,"/home/"); //,"", "*", this );
if( !filename.isEmpty() && ( filename[filename.length()-1] != '/' ) ){
- Opie::Core::owarn << " Save to file " << filename << ", (" << filename.length()-1 << ")" << oendl;
+ owarn << " Save to file " << filename << ", (" << filename.length()-1 << ")" << oendl;
Opie::OPimContact curCont = m_abView->currentEntry();
@@ -352,3 +352,3 @@ void AddressbookWindow::setDocument( const QString &filename )
{
- Opie::Core::owarn << "void AddressbookWindow::setDocument( " << filename << " )" << oendl;
+ owarn << "void AddressbookWindow::setDocument( " << filename << " )" << oendl;
@@ -364,6 +364,6 @@ void AddressbookWindow::setDocument( const QString &filename )
case 0:
- Opie::Core::owarn << "YES clicked" << oendl;
+ owarn << "YES clicked" << oendl;
break;
case 1:
- Opie::Core::owarn << "NO clicked" << oendl;
+ owarn << "NO clicked" << oendl;
return;
@@ -377,3 +377,3 @@ void AddressbookWindow::setDocument( const QString &filename )
Opie::OPimContactAccess::List allList = access->allRecords();
- Opie::Core::owarn << "Found number of contacts in File: " << allList.count() << oendl;
+ owarn << "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 ){
- Opie::Core::owarn << "Adding Contact from: " << (*it).fullName() << oendl;
+ owarn << "Adding Contact from: " << (*it).fullName() << oendl;
if ( doAsk ){
@@ -397,3 +397,3 @@ void AddressbookWindow::setDocument( const QString &filename )
case 0:
- Opie::Core::owarn << "YES clicked" << oendl;
+ owarn << "YES clicked" << oendl;
m_abView->addEntry( *it );
@@ -401,6 +401,6 @@ void AddressbookWindow::setDocument( const QString &filename )
case 1:
- Opie::Core::owarn << "NO clicked" << oendl;
+ owarn << "NO clicked" << oendl;
break;
case 2:
- Opie::Core::owarn << "YesAll clicked" << oendl;
+ owarn << "YesAll clicked" << oendl;
doAsk = false;
@@ -540,5 +540,5 @@ void AddressbookWindow::writeMail()
if ( m_config.useQtMail() ){
- Opie::Core::owarn << "Accessing: " << (basepath + "/bin/qtmail") << oendl;
+ owarn << "Accessing: " << (basepath + "/bin/qtmail") << oendl;
if ( QFile::exists( basepath + "/bin/qtmail" ) ){
- Opie::Core::owarn << "QCop" << oendl;
+ owarn << "QCop" << oendl;
QCopEnvelope e("QPE/Application/qtmail", "writeMail(QString,QString)");
@@ -550,5 +550,5 @@ void AddressbookWindow::writeMail()
if ( m_config.useOpieMail() ){
- Opie::Core::owarn << "Accessing: " << (basepath + "/bin/opiemail") << oendl;
+ owarn << "Accessing: " << (basepath + "/bin/opiemail") << oendl;
if ( QFile::exists( basepath + "/bin/opiemail" ) ){
- Opie::Core::owarn << "QCop" << oendl;
+ owarn << "QCop" << oendl;
QCopEnvelope e("QPE/Application/opiemail", "writeMail(QString,QString)");
@@ -594,3 +594,3 @@ void AddressbookWindow::slotBeam()
- Opie::Core::owarn << "Beaming: " << beamFilename << oendl;
+ owarn << "Beaming: " << beamFilename << oendl;
@@ -641,3 +641,3 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
bool needShow = FALSE;
- Opie::Core::owarn << "Receiving QCop-Call with message " << msg << oendl;
+ owarn << "Receiving QCop-Call with message " << msg << oendl;
@@ -657,3 +657,3 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
parseName( name, &fn, &mn, &ln );
- // Opie::Core::odebug << " " << fn << " - " << mn " - " << ln << oendl;
+ // odebug << " " << fn << " - " << mn " - " << ln << oendl;
cnt.setFirstName( fn );
@@ -684,3 +684,3 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
- Opie::Core::owarn << "Showing uid: " << uid << oendl;
+ owarn << "Showing uid: " << uid << oendl;
@@ -764,3 +764,3 @@ void AddressbookWindow::editPersonal()
if ( ! actionPersonal->isOn() ){
- Opie::Core::owarn << "*** ++++" << oendl;
+ owarn << "*** ++++" << oendl;
actionPersonal->setOn( true );
@@ -783,6 +783,6 @@ void AddressbookWindow::slotPersonalView()
{
- Opie::Core::owarn << "slotPersonalView()" << oendl;
+ owarn << "slotPersonalView()" << oendl;
if (!actionPersonal->isOn()) {
// we just turned it off
- Opie::Core::owarn << "slotPersonalView()-> OFF" << oendl;
+ owarn << "slotPersonalView()-> OFF" << oendl;
setCaption( tr("Contacts") );
@@ -799,3 +799,3 @@ void AddressbookWindow::slotPersonalView()
- Opie::Core::owarn << "slotPersonalView()-> ON" << oendl;
+ owarn << "slotPersonalView()-> ON" << oendl;
// XXX need to disable some QActions.
@@ -889,3 +889,3 @@ void AddressbookWindow::slotNotFound()
{
- Opie::Core::owarn << "Got not found signal!" << oendl;
+ owarn << "Got not found signal!" << oendl;
QMessageBox::information( this, tr( "Not Found" ),
@@ -897,3 +897,3 @@ void AddressbookWindow::slotWrapAround()
{
- Opie::Core::owarn << "Got wrap signal!" << oendl;
+ owarn << "Got wrap signal!" << oendl;
// if ( doNotifyWrapAround )
@@ -906,3 +906,3 @@ void AddressbookWindow::slotSetCategory( int c )
{
- Opie::Core::owarn << "void AddressbookWindow::slotSetCategory( " << c << " ) from "
+ owarn << "void AddressbookWindow::slotSetCategory( " << c << " ) from "
<< catMenu->count() << oendl;
@@ -942,3 +942,3 @@ void AddressbookWindow::slotSetCategory( int c )
cat = "Unfiled";
- Opie::Core::owarn << "Unfiled selected!" << oendl;
+ owarn << "Unfiled selected!" << oendl;
}else{
@@ -965,3 +965,3 @@ void AddressbookWindow::slotViewSwitched( int view )
{
- Opie::Core::owarn << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl;
+ owarn << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl;
int menu = 0;
diff --git a/core/pim/addressbook/configdlg.cpp b/core/pim/addressbook/configdlg.cpp
index 094dbda..22f7291 100644
--- a/core/pim/addressbook/configdlg.cpp
+++ b/core/pim/addressbook/configdlg.cpp
@@ -45,3 +45,3 @@ void ConfigDlg::slotItemUp()
{
- Opie::Core::owarn << "void ConfigDlg::slotItemUp()" << oendl;
+ owarn << "void ConfigDlg::slotItemUp()" << oendl;
@@ -59,3 +59,3 @@ void ConfigDlg::slotItemDown()
{
- Opie::Core::owarn << "void ConfigDlg::slotItemDown()" << oendl;
+ owarn << "void ConfigDlg::slotItemDown()" << oendl;
@@ -72,3 +72,3 @@ void ConfigDlg::slotItemAdd()
{
- Opie::Core::owarn << "void ConfigDlg::slotItemAdd()" << oendl;
+ owarn << "void ConfigDlg::slotItemAdd()" << oendl;
@@ -77,3 +77,3 @@ void ConfigDlg::slotItemAdd()
QString item = allFieldListBox->currentText();
- Opie::Core::owarn << "Adding " << item << oendl;
+ owarn << "Adding " << item << oendl;
fieldListBox->insertItem( item );
@@ -84,3 +84,3 @@ void ConfigDlg::slotItemRemove()
{
- Opie::Core::owarn << "void ConfigDlg::slotItemRemove()" << oendl;
+ owarn << "void ConfigDlg::slotItemRemove()" << oendl;
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() {
void ContactEditor::init() {
- Opie::Core::owarn << "init() START" << oendl;
+ owarn << "init() START" << oendl;
@@ -689,3 +689,3 @@ void ContactEditor::init() {
- Opie::Core::owarn << "init() END" << oendl;
+ owarn << "init() END" << oendl;
}
@@ -693,3 +693,3 @@ void ContactEditor::init() {
void ContactEditor::defaultEmailChanged(int i){
- Opie::Core::odebug << "defaultEmailChanged" << oendl;
+ odebug << "defaultEmailChanged" << oendl;
@@ -700,3 +700,3 @@ void ContactEditor::defaultEmailChanged(int i){
defaultEmail = cmbDefaultEmail->text(i);
- Opie::Core::odebug << "Changed to: " << defaultEmail << oendl;
+ odebug << "Changed to: " << defaultEmail << oendl;
@@ -719,3 +719,3 @@ void ContactEditor::populateDefaultEmailCmb(){
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;
@@ -724,3 +724,3 @@ void ContactEditor::populateDefaultEmailCmb(){
cmbDefaultEmail->setCurrentItem( i );
- Opie::Core::odebug << "set" << oendl;
+ odebug << "set" << oendl;
found = true;
@@ -740,3 +740,3 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w
QString type = slChooserNames[index];
- Opie::Core::owarn << "ContactEditor::cmbChooserChange -> Type: " << type
+ owarn << "ContactEditor::cmbChooserChange -> Type: " << type
<< ", WidgetPos: " << widgetPos << oendl;
@@ -748,3 +748,3 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w
if ( type == "Default Email"){
- Opie::Core::owarn << "Choosing default-email (defaultEmailChooserPosition= "
+ owarn << "Choosing default-email (defaultEmailChooserPosition= "
<< defaultEmailChooserPosition << ") " << oendl;
@@ -782,3 +782,3 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w
// Something else was selected: Hide combo..
- Opie::Core::owarn << " Hiding default-email combo" << oendl;
+ owarn << " Hiding default-email combo" << oendl;
if ( defaultEmailChooserPosition == widgetPos ){
@@ -807,3 +807,3 @@ void ContactEditor::chooserError( int index )
{
- Opie::Core::owarn << "ContactEditor::chooserError( " << index << " )" << oendl;
+ owarn << "ContactEditor::chooserError( " << index << " )" << oendl;
QMessageBox::warning( this, "Chooser Error",
@@ -843,3 +843,3 @@ 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
@@ -848,3 +848,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index,
if ( type == "Default Email"){
- Opie::Core::owarn << "??? Wozu??: " << textChanged << oendl;
+ owarn << "??? Wozu??: " << textChanged << oendl;
defaultEmail = textChanged;
@@ -854,3 +854,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index,
}else if (type == "Emails"){
- Opie::Core::odebug << "emails" << oendl;
+ odebug << "emails" << oendl;
@@ -867,3 +867,3 @@ 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);
@@ -872,3 +872,3 @@ void ContactEditor::slotChooser1Change( const QString &textChanged ) {
void ContactEditor::slotChooser2Change( const QString &textChanged ) {
- Opie::Core::owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl;
+ owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl;
chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2);
@@ -878,3 +878,3 @@ 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);
@@ -883,3 +883,3 @@ void ContactEditor::slotChooser3Change( const QString &textChanged ) {
void ContactEditor::slotChooser4Change( const QString &textChanged ) {
- Opie::Core::owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl;
+ owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl;
chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4);
@@ -953,3 +953,3 @@ 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) ){
@@ -964,3 +964,3 @@ void ContactEditor::slotCmbChooser1Change( int index ) {
void ContactEditor::slotCmbChooser2Change( int index ) {
- Opie::Core::owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl;
+ owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl;
@@ -975,3 +975,3 @@ void ContactEditor::slotCmbChooser2Change( int index ) {
void ContactEditor::slotCmbChooser3Change( int index ) {
- Opie::Core::owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl;
+ owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl;
@@ -986,3 +986,3 @@ void ContactEditor::slotCmbChooser3Change( int index ) {
void ContactEditor::slotCmbChooser4Change( int index ) {
- Opie::Core::owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl;
+ owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl;
@@ -1031,3 +1031,3 @@ void ContactEditor::slotFullNameChange( const QString &textChanged ) {
- Opie::Core::owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl;
+ owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl;
@@ -1055,3 +1055,3 @@ 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:
@@ -1137,3 +1137,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
- Opie::Core::owarn << "Fullname: " << simplifiedName << oendl;
+ owarn << "Fullname: " << simplifiedName << oendl;
@@ -1141,3 +1141,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
if ( commapos >= 0 ) {
- Opie::Core::owarn << " Commapos: " << commapos << oendl;
+ owarn << " Commapos: " << commapos << oendl;
@@ -1150,3 +1150,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
haveLastName = true;
- Opie::Core::owarn << "Fullname without ',': " << simplifiedName << oendl;
+ owarn << "Fullname without ',': " << simplifiedName << oendl;
@@ -1184,6 +1184,6 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
- 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;
@@ -1270,3 +1270,3 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) {
if (defaultEmail.isEmpty()) defaultEmail = emails[0];
- Opie::Core::odebug << "default email=" << defaultEmail << oendl;
+ odebug << "default email=" << defaultEmail << oendl;
@@ -1330,3 +1330,3 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) {
- Opie::Core::owarn << " Filling dynamic Field: " << (*it) << oendl;
+ owarn << " Filling dynamic Field: " << (*it) << oendl;
@@ -1354,3 +1354,3 @@ 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() );
@@ -1587,4 +1587,4 @@ void ContactEditor::saveEntry() {
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 );
@@ -1740,3 +1740,3 @@ void ContactEditor::slotRemoveBirthday()
{
- Opie::Core::owarn << "void ContactEditor::slotRemoveBirthday()" << oendl;
+ owarn << "void ContactEditor::slotRemoveBirthday()" << oendl;
ent.setBirthday( QDate() );
@@ -1747,3 +1747,3 @@ void ContactEditor::slotRemoveAnniversary()
{
- Opie::Core::owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl;
+ owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl;
ent.setAnniversary( QDate() );
diff --git a/core/pim/addressbook/picker.cpp b/core/pim/addressbook/picker.cpp
index df3d6ac..8a9c85b 100644
--- a/core/pim/addressbook/picker.cpp
+++ b/core/pim/addressbook/picker.cpp
@@ -241,3 +241,3 @@ void LetterPicker::newLetter( char letter )
{
- Opie::Core::owarn << "LetterClicked" << oendl;
+ owarn << "LetterClicked" << oendl;
emit letterClicked( letter );