Diffstat (limited to 'noncore/graphics/opie-eye/slave') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/slave/jpeg_slave.cpp | 3 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/slave/slavereciever.cpp | 11 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/slave/thumbnailtool.cpp | 3 |
3 files changed, 4 insertions, 13 deletions
diff --git a/noncore/graphics/opie-eye/slave/jpeg_slave.cpp b/noncore/graphics/opie-eye/slave/jpeg_slave.cpp index 668ad13..0f41359 100644 --- a/noncore/graphics/opie-eye/slave/jpeg_slave.cpp +++ b/noncore/graphics/opie-eye/slave/jpeg_slave.cpp @@ -185,4 +185,2 @@ QPixmap JpegSlave::pixmap( const QString& path, int wid, int hei) { if (wid < ImageInfo.getWidth() || hei<ImageInfo.getHeight()) { - odebug << "Scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight() - << " to "<<wid<<"x"<<hei<< " ("<<path<<")"<<oendl; QString str = QString( "Fast Shrink( 4 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei ); @@ -190,3 +188,2 @@ QPixmap JpegSlave::pixmap( const QString& path, int wid, int hei) { } else { - odebug << "Not scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight()<< " ("<<path<<")"<<oendl; } diff --git a/noncore/graphics/opie-eye/slave/slavereciever.cpp b/noncore/graphics/opie-eye/slave/slavereciever.cpp index 941a5df..3b11c04 100644 --- a/noncore/graphics/opie-eye/slave/slavereciever.cpp +++ b/noncore/graphics/opie-eye/slave/slavereciever.cpp @@ -43,3 +43,2 @@ QDataStream &operator>>( QDataStream& s, PixmapInfo& inf ) { s >> inf.file >> inf.width >> inf.height; - owarn << "Recieved " << inf.file.latin1() << " " << inf.width << " " << inf.height << "" << oendl; return s; @@ -88,3 +87,2 @@ SlaveReciever::~SlaveReciever() { void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) { - owarn << "String is " << string.data() << "" << oendl; QDataStream stream(ar, IO_ReadOnly ); @@ -101,3 +99,2 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { - owarn << "Adding thumbinfo for file "+ *it << oendl; inf.file = (*it); @@ -113,3 +110,2 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { - owarn << "Adding fullInfo for"+ *it << oendl; inf.file = (*it); @@ -125,3 +121,2 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) for(PixmapList::Iterator it = list.begin(); it != list.end(); ++it ) { - owarn << "Got " << (*it).width << " " << (*it).height << " " + (*it).file << oendl; m_inPix.append(*it); @@ -189,3 +184,2 @@ void SlaveReciever::slotThumbNail() { /* pixmap */ - owarn << "Asking for thumbNail in size " << inf.width << " " << inf.height << " for "+inf.file << oendl; if (inf.width>256||inf.height>256) { @@ -214,3 +208,2 @@ void SlaveReciever::slotSend() { - owarn << "Sending " << outPix().count() << " " << outInf().count() << "" << oendl; /* queue it and send */ @@ -222,2 +215,3 @@ void SlaveReciever::slotSend() { answer << outPix(); +#if 0 for ( PixmapList::Iterator it = m_outPix.begin();it!=m_outPix.end();++it ) { @@ -225,2 +219,3 @@ void SlaveReciever::slotSend() { } +#endif } @@ -229,2 +224,3 @@ void SlaveReciever::slotSend() { answer << outInf(); +#if 0 for ( StringList::Iterator it = m_outList.begin();it!=m_outList.end();++it ) { @@ -232,2 +228,3 @@ void SlaveReciever::slotSend() { } +#endif } diff --git a/noncore/graphics/opie-eye/slave/thumbnailtool.cpp b/noncore/graphics/opie-eye/slave/thumbnailtool.cpp index d2e169c..62bb1e6 100644 --- a/noncore/graphics/opie-eye/slave/thumbnailtool.cpp +++ b/noncore/graphics/opie-eye/slave/thumbnailtool.cpp @@ -33,3 +33,2 @@ QPixmap ThumbNailTool::getThumb( const QString& path, int width, int height ) { QFileInfo inf( path ); - owarn << "Get Thumb" << oendl; if ( !makeThumbDir( inf ) ) { @@ -39,3 +38,2 @@ QPixmap ThumbNailTool::getThumb( const QString& path, int width, int height ) { QString str = QString( "/.opie-eye/%1x%2-%3" ).arg( width ).arg( height ).arg( inf.fileName() ); - owarn << inf.dirPath()+str << oendl; return QPixmap( inf.dirPath()+str,"PNG" ); @@ -48,3 +46,2 @@ void ThumbNailTool::putThumb( const QString& path, const QPixmap& pix, int width QString str = QString( "/.opie-eye/%1x%2-%3" ).arg( width ).arg( height ).arg( inf.fileName() ); - owarn << inf.dirPath()+str << oendl; pix.save( inf.dirPath()+str, "PNG" ); |