Diffstat (limited to 'noncore/apps/opie-gutenbrowser/fontDialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/fontDialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noncore/apps/opie-gutenbrowser/fontDialog.cpp b/noncore/apps/opie-gutenbrowser/fontDialog.cpp index a17b1d3..fa964a6 100644 --- a/noncore/apps/opie-gutenbrowser/fontDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/fontDialog.cpp @@ -91,5 +91,5 @@ void FontDialog::familyListBoxSlot(const QString & text) // clearListBoxes(); family = text; -// qDebug(family); +// odebug << family << oendl; QStringList styles = fdb.styles( family ); // string list of styles of our current font family styleListBox->insertStringList( styles); @@ -101,5 +101,5 @@ QValueList<int> smoothies = fdb.smoothSizes( family, styleListBox->text(0) ); for ( QValueList<int>::Iterator points = smoothies.begin(); points != smoothies.end(); ++points ) { dstyle = QString::number( *points ); - qDebug(dstyle); + odebug << dstyle << oendl; sizeComboBox->insertItem( dstyle.left( dstyle.length() - 1 )); } @@ -152,5 +152,5 @@ void FontDialog::populateLists() QString family = *f; // if(family == defaultFont.family()) -// qDebug(family); +// odebug << family << oendl; familyListBox->insertItem( family); @@ -210,5 +210,5 @@ void FontDialog::changeText() family = familyListBox->currentText(); } -// qDebug("Font family is "+family); +// odebug << "Font family is "+family << oendl; if( styleListBox->currentItem() == -1) style=styleListBox->text(0); @@ -216,5 +216,5 @@ void FontDialog::changeText() style = styleListBox->currentText(); } -// qDebug("font style is "+style); +// odebug << "font style is "+style << oendl; if( sizeComboBox->currentItem() == -1 ) @@ -224,5 +224,5 @@ void FontDialog::changeText() } -// qDebug("Font size is "+size); +// odebug << "Font size is "+size << oendl; bool ok; int i_size = size.toInt(&ok,10); @@ -232,11 +232,11 @@ void FontDialog::changeText() for ( QStringList::Iterator s = charSetList.begin(); s != charSetList.end();++s ) { // for each font style charSet = *s; -// qDebug(charSet); +// odebug << charSet << oendl; } selectedFont = fdb.font(family,style,i_size,charSet); QFontInfo fontInfo( selectedFont); -// if(fontInfo.italic() ) qDebug("italic"); +// if(fontInfo.italic() ) odebug << "italic" << oendl; selectedFont.setWeight(fontInfo.weight() ); -// qDebug("Style are "+style+" %d ",fontInfo.weight()); +// odebug << "Style are "+style+" " << fontInfo.weight() << " " << oendl; Config cfg("Gutenbrowser"); cfg.setGroup("Font"); @@ -250,5 +250,5 @@ void FontDialog::changeText() selectedFont.setItalic(TRUE); //ya right cfg.writeEntry("Italic","TRUE"); -// qDebug("Style is "+styleListBox->currentText()); +// odebug << "Style is "+styleListBox->currentText() << oendl; } else cfg.writeEntry("Italic","FALSE"); |