summaryrefslogtreecommitdiff
path: root/noncore
authoralwin <alwin>2004-11-10 23:41:17 (UTC)
committer alwin <alwin>2004-11-10 23:41:17 (UTC)
commita57e46d9b290712fa1ff106a1be133f4f9751a96 (patch) (unidiff)
treef590e58a0fd1adf01522f596e02ff99eef69e9fe /noncore
parent660b61a7f8b9fb885226507d7f6716ab2dcedbb8 (diff)
downloadopie-a57e46d9b290712fa1ff106a1be133f4f9751a96.zip
opie-a57e46d9b290712fa1ff106a1be133f4f9751a96.tar.gz
opie-a57e46d9b290712fa1ff106a1be133f4f9751a96.tar.bz2
removed a lot of debug messages
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/slave/jpeg_slave.cpp3
-rw-r--r--noncore/graphics/opie-eye/slave/slavereciever.cpp11
-rw-r--r--noncore/graphics/opie-eye/slave/thumbnailtool.cpp3
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) {
185 if (wid < ImageInfo.getWidth() || hei<ImageInfo.getHeight()) { 185 if (wid < ImageInfo.getWidth() || hei<ImageInfo.getHeight()) {
186 odebug << "Scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight()
187 << " to "<<wid<<"x"<<hei<< " ("<<path<<")"<<oendl;
188 QString str = QString( "Fast Shrink( 4 ) Scale( %1, %2, ScaleFree)" ).arg( wid ).arg( hei ); 186 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) {
190 } else { 188 } else {
191 odebug << "Not scaling "<<ImageInfo.getWidth()<<"x"<<ImageInfo.getHeight()<< " ("<<path<<")"<<oendl;
192 } 189 }
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 ) {
43 s >> inf.file >> inf.width >> inf.height; 43 s >> inf.file >> inf.width >> inf.height;
44 owarn << "Recieved " << inf.file.latin1() << " " << inf.width << " " << inf.height << "" << oendl;
45 return s; 44 return s;
@@ -88,3 +87,2 @@ SlaveReciever::~SlaveReciever() {
88void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) { 87void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar) {
89 owarn << "String is " << string.data() << "" << oendl;
90 QDataStream stream(ar, IO_ReadOnly ); 88 QDataStream stream(ar, IO_ReadOnly );
@@ -101,3 +99,2 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar)
101 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { 99 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) {
102 owarn << "Adding thumbinfo for file "+ *it << oendl;
103 inf.file = (*it); 100 inf.file = (*it);
@@ -113,3 +110,2 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar)
113 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) { 110 for(QStringList::Iterator it = lst.begin(); it != lst.end(); ++it ) {
114 owarn << "Adding fullInfo for"+ *it << oendl;
115 inf.file = (*it); 111 inf.file = (*it);
@@ -125,3 +121,2 @@ void SlaveReciever::recieveAnswer( const QCString& string, const QByteArray& ar)
125 for(PixmapList::Iterator it = list.begin(); it != list.end(); ++it ) { 121 for(PixmapList::Iterator it = list.begin(); it != list.end(); ++it ) {
126 owarn << "Got " << (*it).width << " " << (*it).height << " " + (*it).file << oendl;
127 m_inPix.append(*it); 122 m_inPix.append(*it);
@@ -189,3 +184,2 @@ void SlaveReciever::slotThumbNail() {
189 /* pixmap */ 184 /* pixmap */
190 owarn << "Asking for thumbNail in size " << inf.width << " " << inf.height << " for "+inf.file << oendl;
191 if (inf.width>256||inf.height>256) { 185 if (inf.width>256||inf.height>256) {
@@ -214,3 +208,2 @@ void SlaveReciever::slotSend() {
214 208
215 owarn << "Sending " << outPix().count() << " " << outInf().count() << "" << oendl;
216 /* queue it and send */ 209 /* queue it and send */
@@ -222,2 +215,3 @@ void SlaveReciever::slotSend() {
222 answer << outPix(); 215 answer << outPix();
216#if 0
223 for ( PixmapList::Iterator it = m_outPix.begin();it!=m_outPix.end();++it ) { 217 for ( PixmapList::Iterator it = m_outPix.begin();it!=m_outPix.end();++it ) {
@@ -225,2 +219,3 @@ void SlaveReciever::slotSend() {
225 } 219 }
220#endif
226 } 221 }
@@ -229,2 +224,3 @@ void SlaveReciever::slotSend() {
229 answer << outInf(); 224 answer << outInf();
225#if 0
230 for ( StringList::Iterator it = m_outList.begin();it!=m_outList.end();++it ) { 226 for ( StringList::Iterator it = m_outList.begin();it!=m_outList.end();++it ) {
@@ -232,2 +228,3 @@ void SlaveReciever::slotSend() {
232 } 228 }
229#endif
233 } 230 }
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 ) {
33 QFileInfo inf( path ); 33 QFileInfo inf( path );
34 owarn << "Get Thumb" << oendl;
35 if ( !makeThumbDir( inf ) ) { 34 if ( !makeThumbDir( inf ) ) {
@@ -39,3 +38,2 @@ QPixmap ThumbNailTool::getThumb( const QString& path, int width, int height ) {
39 QString str = QString( "/.opie-eye/%1x%2-%3" ).arg( width ).arg( height ).arg( inf.fileName() ); 38 QString str = QString( "/.opie-eye/%1x%2-%3" ).arg( width ).arg( height ).arg( inf.fileName() );
40 owarn << inf.dirPath()+str << oendl;
41 return QPixmap( inf.dirPath()+str,"PNG" ); 39 return QPixmap( inf.dirPath()+str,"PNG" );
@@ -48,3 +46,2 @@ void ThumbNailTool::putThumb( const QString& path, const QPixmap& pix, int width
48 QString str = QString( "/.opie-eye/%1x%2-%3" ).arg( width ).arg( height ).arg( inf.fileName() ); 46 QString str = QString( "/.opie-eye/%1x%2-%3" ).arg( width ).arg( height ).arg( inf.fileName() );
49 owarn << inf.dirPath()+str << oendl;
50 pix.save( inf.dirPath()+str, "PNG" ); 47 pix.save( inf.dirPath()+str, "PNG" );