]> Git trees. - libqmvoc.git/commitdiff
deprecated--
authorLaurent Montel <montel@kde.org>
Mon, 6 Feb 2006 14:09:11 +0000 (14:09 +0000)
committerLaurent Montel <montel@kde.org>
Mon, 6 Feb 2006 14:09:11 +0000 (14:09 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=506311

18 files changed:
extdate/extdatepicker.cpp
extdate/extdatetbl.cpp
extdate/extdatetime.cpp
extdate/extdatetimeedit.cpp
extdate/tests/edtedit_widget.cpp
kdeeducore/keduvocdocument.cpp
kdeeducore/keduvockvtmlwriter.cpp
kdeeducore/leitnersystemview.cpp
kdeeduplot/kplotobject.cpp
kdeeduplot/kplotwidget.cpp
kdeeduui/kdeeduglossary.cpp
libscience/chemicaldataobject.cpp
libscience/isotopeparser.cpp
libscience/moleculeparser.cpp
libscience/parser.cpp
libscience/tests/cmlspectest.cpp
libscience/tests/isotopereadingtest.cpp
libscience/tests/xmlreadingtest.cpp

index 79871876ccee9575a935686f1248afa1377bc91a..43e80c0f36855d3f40c60a8235e103a5dad1d4eb 100644 (file)
@@ -236,7 +236,7 @@ ExtDatePicker::resizeEvent(QResizeEvent* e)
 void
 ExtDatePicker::dateChangedSlot(const ExtDate &date)
 {
-    kdDebug(298) << "ExtDatePicker::dateChangedSlot: date changed (" << date.year() << "/" << date.month() << "/" << date.day() << ")." << endl;
+    kDebug(298) << "ExtDatePicker::dateChangedSlot: date changed (" << date.year() << "/" << date.month() << "/" << date.day() << ")." << endl;
 
 
 //must remain commented unless ExtDate gets added to kdelibs
@@ -259,7 +259,7 @@ ExtDatePicker::dateChangedSlot(const ExtDate &date)
 void
 ExtDatePicker::tableClickedSlot()
 {
-  kdDebug(298) << "ExtDatePicker::tableClickedSlot: table clicked." << endl;
+  kDebug(298) << "ExtDatePicker::tableClickedSlot: table clicked." << endl;
   emit(dateSelected(table->getDate()));
   emit(tableClicked());
 }
@@ -286,7 +286,7 @@ ExtDatePicker::setDate(const ExtDate& date)
     }
     else
     {
-        kdDebug(298) << "ExtDatePicker::setDate: refusing to set invalid date." << endl;
+        kDebug(298) << "ExtDatePicker::setDate: refusing to set invalid date." << endl;
         return false;
     }
 }
@@ -437,12 +437,12 @@ ExtDatePicker::lineEnterPressed()
   // -----
   if(val->date(line->text(), temp)==QValidator::Acceptable)
     {
-        kdDebug(298) << "ExtDatePicker::lineEnterPressed: valid date entered." << endl;
+        kDebug(298) << "ExtDatePicker::lineEnterPressed: valid date entered." << endl;
         emit(dateEntered(temp));
         setDate(temp);
     } else {
       KNotifyClient::beep();
-      kdDebug(298) << "ExtDatePicker::lineEnterPressed: invalid date entered." << endl;
+      kDebug(298) << "ExtDatePicker::lineEnterPressed: invalid date entered." << endl;
     }
 }
 
index 94b29210db6bc0a63edce39f539ec073dc7adade..391f0faae3345584b335984a93de9eb4e46dd820 100644 (file)
@@ -131,7 +131,7 @@ ExtDateTable::ExtDateTable(QWidget *parent, ExtDate date_, const char* name, Qt:
   setFontSize(10);
   if(!date_.isValid())
     {
-      kdDebug() << "ExtDateTable ctor: WARNING: Given date is invalid, using current date." << endl;
+      kDebug() << "ExtDateTable ctor: WARNING: Given date is invalid, using current date." << endl;
       date_=ExtDate::currentDate();
     }
   setFocusPolicy( Qt::StrongFocus );
@@ -479,7 +479,7 @@ ExtDateTable::setDate(const ExtDate& date_)
   // -----
   if(!date_.isValid())
     {
-      kdDebug() << "ExtDateTable::setDate: refusing to set invalid date." << endl;
+      kDebug() << "ExtDateTable::setDate: refusing to set invalid date." << endl;
       return false;
     }
   if(date!=date_)
@@ -495,7 +495,7 @@ ExtDateTable::setDate(const ExtDate& date_)
 
   d->calendar->setYMD(temp, d->calendar->year(date), d->calendar->month(date), 1);
   //temp.setYMD(date.year(), date.month(), 1);
-  //kdDebug() << "firstDayInWeek: " << temp.toString() << endl;
+  //kDebug() << "firstDayInWeek: " << temp.toString() << endl;
   firstday=temp.dayOfWeek();
   numdays=d->calendar->daysInMonth(date);
 
@@ -535,7 +535,7 @@ ExtDateTable::sizeHint() const
       return QSize(maxCell.width()*numCols()+2*frameWidth(),
              (maxCell.height()+2)*numRows()+2*frameWidth());
     } else {
-      kdDebug() << "ExtDateTable::sizeHint: obscure failure - " << endl;
+      kDebug() << "ExtDateTable::sizeHint: obscure failure - " << endl;
       return QSize(-1, -1);
     }
 }
index 38710487554c98c6350a0e351c60d53e02f02755..f7c6d2f8b09ac911008c2387206caf45cf5134e9 100644 (file)
@@ -963,7 +963,7 @@ int ExtDateTime::daysTo( const ExtDateTime &dt ) const
     \code
     ExtDateTime dt = ExtDateTime::currentDateTime();
     ExtDateTime xmas( ExtDate(dt.date().year(),12,24), QTime(17,00) );
-    kdDebug( ) << "There are " << dt.secsTo(xmas) << " seconds to Christmas" << endl;
+    kDebug( ) << "There are " << dt.secsTo(xmas) << " seconds to Christmas" << endl;
     \endcode
 
     \sa addSecs(), daysTo(), QTime::secsTo()
index 1f322adf90c077b53fc9ae15a5feb0717cae6ac5..47d0e1075b5ff7537324c9e1d53ead8e0510c70a 100644 (file)
@@ -105,7 +105,7 @@ void ExtDateEdit::highlightActiveField() {
        lineEdit()->setSelection( iStart, iLength );
 
 //     //DEBUG
-//     kdDebug() << "selected text: " << lineEdit()->selectedText() << endl;
+//     kDebug() << "selected text: " << lineEdit()->selectedText() << endl;
 
 }
 
@@ -178,7 +178,7 @@ bool ExtDateEdit::focusNextPrevChild( bool next ) {
                if ( c == 'Y' ) NewField = 2;
 
 //             //DEBUG
-//             kdDebug() << pos << "  " << c << "  " << NewField << endl;
+//             kDebug() << pos << "  " << c << "  " << NewField << endl;
 
        }
 
@@ -195,7 +195,7 @@ void ExtDateEdit::invokeKey( Qt::Key k ) {
 
 void ExtDateEdit::focusInEvent( QFocusEvent *e ) {
 //     //DEBUG
-//     kdDebug() << "focusInEvent()" << endl;
+//     kDebug() << "focusInEvent()" << endl;
 
        QSpinBox::focusInEvent(e);
        highlightActiveField();
@@ -230,7 +230,7 @@ edLineEdit::edLineEdit( QWidget *parent ) : QLineEdit( parent ) {
 
 void edLineEdit::mouseReleaseEvent( QMouseEvent * ) {
 //     //DEBUG
-//     kdDebug() << "mousePressEvent()" << endl;
+//     kDebug() << "mousePressEvent()" << endl;
 
        //assumes no prefix/suffix!
        QString sdf = edParent->simpleDateFormat();
@@ -245,14 +245,14 @@ void edLineEdit::mouseReleaseEvent( QMouseEvent * ) {
        else if ( c == 'Y' ) edParent->setActiveField( 2 );
 
 //     //DEBUG
-//     kdDebug() << "ActiveField = " << edParent->activeField() << endl;
+//     kDebug() << "ActiveField = " << edParent->activeField() << endl;
 
        edParent->highlightActiveField();
 }
 
 void edLineEdit::keyPressEvent( QKeyEvent *e ) {
 //     //DEBUG
-//     kdDebug() << "keyPressEvent()" << endl;
+//     kDebug() << "keyPressEvent()" << endl;
 
        switch ( e->key() ) {
                case Qt::Key_Up:
index d6bba180f53844095f988d391bed0dcdbafddb14..e54eafde378b612ce0e7448af316830333174511 100644 (file)
@@ -40,8 +40,8 @@ EDTEdit::EDTEdit( QWidget *p=0, const char *name=0 ) : KMainWindow( p, name ) {
 
 EDTEdit::~EDTEdit() {
        //Output current date setting on exit
-       kdDebug() << "ExDateEdit:     " << ed->date().toString() << endl;
-       kdDebug() << "ExDateTimeEdit: " << edt->date().toString() << endl;
+       kDebug() << "ExDateEdit:     " << ed->date().toString() << endl;
+       kDebug() << "ExDateTimeEdit: " << edt->date().toString() << endl;
 }
 
 #include "edtedit_widget.moc"
index f0243f1668b3179599c5c062ee03573c9c5c0b66..71426b1ea4075e30b900beb9540e302f9a30e67e 100644 (file)
@@ -255,7 +255,7 @@ bool KEduVocDocument::saveAs(QObject *parent, const KUrl & url, FileType ft, con
       break;
 
       default: {
-        kdError() << "kvcotrainDoc::saveAs(): unknown filetype" << endl;
+        kError() << "kvcotrainDoc::saveAs(): unknown filetype" << endl;
       }
       break;
     }
index b99e2923f8e62f42de3d7dee8bcc507a340d7125..7f324f18fe75766e7fd2db11369fadc38ed28fe7 100644 (file)
@@ -709,7 +709,7 @@ bool KEduVocKvtmlWriter::writeDoc(KEduVocDocument *doc, const QString &generator
       if (lm > (int) m_doc->m_lessonDescriptions.size() )
       {
         // should not be
-        kdError() << "index of lesson member too high: " << lm << endl;
+        kError() << "index of lesson member too high: " << lm << endl;
         lm = 0;
       }
       ls.setNum (lm);
index a2865bc0856293fa2924b57340def69d825066df..f94096581579270fe19a987096d85a96d1c7e95f 100644 (file)
@@ -184,7 +184,7 @@ void LeitnerSystemView::calculateSize()
 
 void LeitnerSystemView::mousePressEvent(QMouseEvent* e)
 {
-       kdDebug() << "mouseClick" << endl;
+       kDebug() << "mouseClick" << endl;
        //if the user has clicked into a box
        if( e->y() > m_imageY && e->y() < m_imageY + 64 && e->x() < width() )
        {
index e197103d6a26768d5bc9949ecc821a88203ca67a..7de632303fd4ddcd5626c4a1e37d4f99a41110b3 100644 (file)
@@ -42,7 +42,7 @@ KPlotObject::~KPlotObject()
 
 QPointF* KPlotObject::point( int index ) {
        if ( index < 0 || index >= pList.count() ) {
-               kdWarning() << "KPlotObject::object(): index " << index << " out of range!" << endl;
+               kWarning() << "KPlotObject::object(): index " << index << " out of range!" << endl;
                return 0;
        }
        return pList.at(index);
@@ -56,7 +56,7 @@ void KPlotObject::addPoint( QPointF *p ) {
 
 void KPlotObject::removePoint( int index ) {
        if ( ( index < 0 ) || ( index >= pList.count() ) ) {
-               kdWarning() << "KPlotObject::removePoint(): index " << index << " out of range!" << endl;
+               kWarning() << "KPlotObject::removePoint(): index " << index << " out of range!" << endl;
                return;
        }
 
index 70027ef718a70d83506a349b7da4b297741bcd7d..126429b222808ebc8383e818481e8be59de66526 100644 (file)
@@ -94,12 +94,12 @@ void KPlotWidget::setLimits( double x1, double x2, double y1, double y2 ) {
 void KPlotWidget::updateTickmarks() {
        // Determine the number and spacing of tickmarks for the current plot limits.
        if ( dataWidth() == 0.0 ) {
-               kdWarning() << "KPlotWidget::updateTickmarks(): X range [" << x() << ", " << x2() << "] invalid!" << endl;
+               kWarning() << "KPlotWidget::updateTickmarks(): X range [" << x() << ", " << x2() << "] invalid!" << endl;
                DataRect.setWidth( 1.0 );
                return;
        }
        if ( dataHeight() == 0.0 ) {
-               kdWarning() << "KPlotWidget::updateTickmarks(): Y range [" << y() << ", " << y2() << "] invalid!" << endl;
+               kWarning() << "KPlotWidget::updateTickmarks(): Y range [" << y() << ", " << y2() << "] invalid!" << endl;
                DataRect.setHeight( 1.0 );
                return;
        }
@@ -171,7 +171,7 @@ void KPlotWidget::replaceObject( int i, KPlotObject *o ) {
 
 KPlotObject *KPlotWidget::object( int i ) {
        if ( i < 0 || i >= ObjectList.count() ) {
-               kdWarning() << "KPlotWidget::object(): index " << i << " out of range!" << endl;
+               kWarning() << "KPlotWidget::object(): index " << i << " out of range!" << endl;
                return 0;
        }
        return ObjectList.at(i);
@@ -350,7 +350,7 @@ void KPlotWidget::drawObjects( QPainter *p ) {
 
                                case KPlotObject::UNKNOWN_TYPE :
                                default:
-                                       kdDebug() << "KPlotWidget::drawObjects(): Unknown object type: " << po->type() << endl;
+                                       kDebug() << "KPlotWidget::drawObjects(): Unknown object type: " << po->type() << endl;
                        }
                }
        }
index 300893cd77f1ea39a7b8d55e74a305867c187931..af4f8db996d6083088d6bcfa1363587659289931 100644 (file)
@@ -73,7 +73,7 @@ bool Glossary::loadLayout( QDomDocument &Document, const KUrl& url )
 
        if ( !layoutFile.exists() )
        {
-               kdDebug() << "no such file: " << layoutFile.name() << endl;
+               kDebug() << "no such file: " << layoutFile.name() << endl;
                return false;
        }
 
@@ -83,7 +83,7 @@ bool Glossary::loadLayout( QDomDocument &Document, const KUrl& url )
        // check if document is well-formed
        if ( !Document.setContent( &layoutFile ) )
        {
-               kdDebug() << "wrong xml of " << layoutFile.name() << endl;
+               kDebug() << "wrong xml of " << layoutFile.name() << endl;
                layoutFile.close();
                return false;
        }
@@ -120,7 +120,7 @@ void Glossary::setBackgroundPicture( const QString& filename )
 
 void Glossary::fixImagePath()
 {
-       kdDebug() << "Glossary::fixImagePath()" << endl;
+       kDebug() << "Glossary::fixImagePath()" << endl;
        QList<GlossaryItem*>::iterator it = m_itemlist.begin();
        const QList<GlossaryItem*>::iterator itEnd = m_itemlist.end();
        QString imgtag = "<img src=\"" + m_picturepath + "/" + "\\1\" />";
@@ -322,8 +322,8 @@ void GlossaryDialog::addGlossary( Glossary* newgloss )
        if ( newgloss->isEmpty() ) return;
        m_glossaries.append( newgloss );
 
-       kdDebug() << "Count of the new glossary: " << newgloss->itemlist().count() << endl;
-       kdDebug() << "Number of glossaries: " << m_glossaries.count() << endl;
+       kDebug() << "Count of the new glossary: " << newgloss->itemlist().count() << endl;
+       kDebug() << "Number of glossaries: " << m_glossaries.count() << endl;
 
        updateTree();
 }
index ce02cafd6971d8b0bf870ef9528915c4f0979373..1a79d65a5075c2df506fc044b9cbca484d749eac 100644 (file)
@@ -47,7 +47,7 @@ ChemicalDataObject::ChemicalDataObject() : d(new ChemicalDataObjectPrivate())
 
 bool ChemicalDataObject::operator==( const int v ) const
 {
-       kdDebug() << "ChemicalDataObject::operator==() with int" << endl;
+       kDebug() << "ChemicalDataObject::operator==() with int" << endl;
        if ( d->m_value.type() != QVariant::Int )       
                return false;
        
@@ -56,7 +56,7 @@ bool ChemicalDataObject::operator==( const int v ) const
 
 bool ChemicalDataObject::operator==( const bool v ) const
 {
-       kdDebug() << "ChemicalDataObject::operator==() with bool" << endl;
+       kDebug() << "ChemicalDataObject::operator==() with bool" << endl;
        if ( d->m_value.type() != QVariant::Bool )      
                return false;
        
@@ -65,7 +65,7 @@ bool ChemicalDataObject::operator==( const bool v ) const
 
 bool ChemicalDataObject::operator==( const double v ) const
 {
-       kdDebug() << "ChemicalDataObject::operator==() with double" << endl;
+       kDebug() << "ChemicalDataObject::operator==() with double" << endl;
        if ( d->m_value.type() != QVariant::Double )    
                return false;
        
@@ -74,7 +74,7 @@ bool ChemicalDataObject::operator==( const double v ) const
 
 bool ChemicalDataObject::operator==( const QString& v ) const
 {
-       kdDebug() << "ChemicalDataObject::operator==() with QString" << endl;
+       kDebug() << "ChemicalDataObject::operator==() with QString" << endl;
        if ( d->m_value.type() != QVariant::String )    
                return false;
 
index f76da7a8df9fc8a9159497af99fafe53fee9a421..cff25829c297384e95eee01db880611e8af2cac2 100644 (file)
@@ -118,7 +118,7 @@ bool IsotopeParser::startElement(const QString&, const QString &localName, const
                                d->inExactMass = true;
                }
        } else if (d->inIsotope && localName == "bo:relativeAbundance") {
-               kdDebug() << "bo:relativeAbundance" << endl;
+               kDebug() << "bo:relativeAbundance" << endl;
                d->inAbundance = true;
        }
        return true;
index 8a013a8504ef073a2e51315b934e5f7f8c4d67fb..4c9a634f792ff002bc3ca5147f4ce7348b3269b7 100644 (file)
@@ -170,7 +170,7 @@ MoleculeParser::parseSubmolecule(double          *_resultMass,
     *_resultMass = 0.0;
        _resultMap->clear();
     while (parseTerm(&subMass, &subMap)) {
-               //kdDebug() << "Parsed a term, weight = " << subresult << endl;
+               //kDebug() << "Parsed a term, weight = " << subresult << endl;
 
                // Add the mass and composition of the submolecule to the total.
                *_resultMass += subMass;
@@ -199,7 +199,7 @@ MoleculeParser::parseTerm(double          *_resultMass,
        _resultMap->clear();
  
     if (nextToken() == ELEMENT_TOKEN) {
-               //kdDebug() << "Parsed an element: " << m_elementVal->symbol() << endl;
+               //kDebug() << "Parsed an element: " << m_elementVal->symbol() << endl;
                *_resultMass = m_elementVal->dataAsVariant( ChemicalDataObject::mass ).toDouble();
                _resultMap->add(m_elementVal, 1);
 
@@ -214,7 +214,7 @@ MoleculeParser::parseTerm(double          *_resultMass,
 
                // Must end in a ")".
                if (nextToken() == ')') {
-                       //kdDebug() << "Parsed a submolecule. weight = " << *_result << endl;
+                       //kDebug() << "Parsed a submolecule. weight = " << *_result << endl;
                        getNextToken();
                }
                else
@@ -226,7 +226,7 @@ MoleculeParser::parseTerm(double          *_resultMass,
 
     // Optional number.
     if (nextToken() == INT_TOKEN) {
-               //kdDebug() << "Parsed a number: " << intVal() << endl;
+               //kDebug() << "Parsed a number: " << intVal() << endl;
 
        *_resultMass *= intVal();
                _resultMap->multiply(intVal());
@@ -234,7 +234,7 @@ MoleculeParser::parseTerm(double          *_resultMass,
                getNextToken();
     }
 
-    kdDebug() << "Weight of term = " << *_resultMass << endl;
+    kDebug() << "Weight of term = " << *_resultMass << endl;
     return true;
 }
 
@@ -251,7 +251,7 @@ MoleculeParser::getNextToken()
     QString  elementName;
 
 #if 0
-    kdDebug() << "getNextToken(): Next character = "
+    kDebug() << "getNextToken(): Next character = "
              << nextChar() << endl;
 #endif
 
@@ -288,11 +288,11 @@ MoleculeParser::getNextToken()
 Element *
 MoleculeParser::lookupElement( const QString& _name )
 {
-    kdDebug() << "looking up " << _name << endl;
+    kDebug() << "looking up " << _name << endl;
 
        foreach( Element* e, m_elementList ){
                if ( e->dataAsVariant(ChemicalDataObject::symbol) == _name ) {
-                       kdDebug() << "Found element " << _name << endl;
+                       kDebug() << "Found element " << _name << endl;
                        return e;
                }
        }
@@ -300,7 +300,7 @@ MoleculeParser::lookupElement( const QString& _name )
        //if there is an error make m_error true.
        m_error = true;
 
-       kdDebug() << k_funcinfo << "no such element, parsing error!: " << _name << endl;
+       kDebug() << k_funcinfo << "no such element, parsing error!: " << _name << endl;
 
        return NULL;
 }
index 42eb2887305b7abc701114488fac980f3a987dc4..7a2d82d90370c018e843f28dbe70dc78b37747d0 100644 (file)
@@ -139,8 +139,8 @@ Parser::parseSimpleFloat(double *_result)
 int
 Parser::getNextChar()
 {
-//     kdDebug() << "Parser::getNextChar(): char = " << m_nextChar << endl;
-//     kdDebug() << "m_str.size() " << m_str.size()  << " with m_str: " << m_str  << " and m_index: " << m_index << endl;
+//     kDebug() << "Parser::getNextChar(): char = " << m_nextChar << endl;
+//     kDebug() << "m_str.size() " << m_str.size()  << " with m_str: " << m_str  << " and m_index: " << m_index << endl;
        
        m_index++;
        
index 937400280e12fa3a979508e2881fd5c67e3f8589..0974c5720fa84876b8653c3731031f2627ba4a8e 100644 (file)
@@ -19,7 +19,7 @@ int main(int argc, char *argv[])
 //X            if ( e )
 //X            {
 //X                    ChemicalDataObject* o = e->data();
-//X                    kdDebug() << "Name: " << o->dictRef() << " " << o->valueAsString()  << " errorMargin: " << e->errorMargin() << " parent Element: " << e->parentElementSymbol() << endl;
+//X                    kDebug() << "Name: " << o->dictRef() << " " << o->valueAsString()  << " errorMargin: " << e->errorMargin() << " parent Element: " << e->parentElementSymbol() << endl;
 //X            }
 //X 
 //X    }
index 92bc7d5ac5a0867d1a96dda8685ecca75eb90b9d..6cf51870c64d16394fd434ca4a7402397b7e4503 100644 (file)
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
                if ( e )
                {
                        ChemicalDataObject* o = e->data();
-                       kdDebug() << "Name: " << o->dictRef() << " " << o->valueAsString()  << " errorMargin: " << e->errorMargin() << " parent Element: " << e->parentElementSymbol() << endl;
+                       kDebug() << "Name: " << o->dictRef() << " " << o->valueAsString()  << " errorMargin: " << e->errorMargin() << " parent Element: " << e->parentElementSymbol() << endl;
                }
 
        }
index a0e77df4b7e298c78f99e7cb68cf070204ef4825..b9a89f8b4da050dac184b0d03a93a639ee6030ce 100644 (file)
@@ -29,14 +29,14 @@ int main(int argc, char *argv[])
 
                        //Test: Check if the string-comparison works
 //X                    if ( e->data( ChemicalDataObject::name ) == "Helium" )
-//X                            kdDebug() << "Mass: " << e->dataAsString( ChemicalDataObject::mass ) << endl;
+//X                            kDebug() << "Mass: " << e->dataAsString( ChemicalDataObject::mass ) << endl;
                        
                        //Test: Check if the double-comparison works
 //X                    if ( e->data( ChemicalDataObject::mass ) == 4.002602 )
-//X                            kdDebug() << "Correct mass found" << endl;
+//X                            kDebug() << "Correct mass found" << endl;
 
                        //Test: Give me the name of the element
-//X                    kdDebug() << "Name: " << e->dataAsString( ChemicalDataObject::name ) << endl;
+//X                    kDebug() << "Name: " << e->dataAsString( ChemicalDataObject::name ) << endl;
                        
                        //Test: give me all data available
                        foreach( ChemicalDataObject*o, list ){
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
                                        QString unit = o->unitAsString();
                                        if ( unit == "bo:noUnit" )
                                                unit = "";
-                                       kdDebug() << "Name: " << o->dictRef() << " " << o->valueAsString()  <<" "  << unit << endl;
+                                       kDebug() << "Name: " << o->dictRef() << " " << o->valueAsString()  <<" "  << unit << endl;
                                }
                        }
                }