summaryrefslogtreecommitdiffstats
path: root/src/barcode
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:23:03 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:23:03 -0600
commit426799905b91f0005c33c4792c444b2b87e774d9 (patch)
treef41ba725664b320255c32f9a949576285410b59c /src/barcode
parent68e3faaecb4ea50a46d014eea65e11bb9df16980 (diff)
downloadtellico-426799905b91f0005c33c4792c444b2b87e774d9.tar.gz
tellico-426799905b91f0005c33c4792c444b2b87e774d9.zip
Rename additional global TQt functions
Diffstat (limited to 'src/barcode')
-rw-r--r--src/barcode/barcode.cpp2
-rw-r--r--src/barcode/barcode_v4l.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/barcode/barcode.cpp b/src/barcode/barcode.cpp
index 1c2d1f2..05302b3 100644
--- a/src/barcode/barcode.cpp
+++ b/src/barcode/barcode.cpp
@@ -146,7 +146,7 @@ Barcode_EAN13 barcodeRecognitionThread::recognize( TQImage img )
#ifdef BarcodeDecoder_DEBUG
// show the information that has been recognized along the scanline:
- qDebug( "Scanline %i result: %s\n", i, ean13_code.toString().latin1() );
+ tqDebug( "Scanline %i result: %s\n", i, ean13_code.toString().latin1() );
#endif
}
diff --git a/src/barcode/barcode_v4l.cpp b/src/barcode/barcode_v4l.cpp
index 73cbbd2..10f501a 100644
--- a/src/barcode/barcode_v4l.cpp
+++ b/src/barcode/barcode_v4l.cpp
@@ -274,7 +274,7 @@ int ng_vid_driver::xioctl( int fd, int cmd, void *arg )
if (rc == 0)
return 0;
//print_ioctl(stderr,ioctls_v4l1,PREFIX,cmd,arg);
- qDebug( ": %s\n",(rc == 0) ? "ok" : strerror(errno) );
+ tqDebug( ": %s\n",(rc == 0) ? "ok" : strerror(errno) );
return rc;
}
@@ -340,7 +340,7 @@ bool ng_vid_driver_v4l::open2( TQString device )
{
/* open device */
if ((m_fd = ::open( device.latin1(), O_RDWR )) == -1) {
- qDebug( "v4l: open %s: %s\n", device.latin1(), strerror(errno) );
+ tqDebug( "v4l: open %s: %s\n", device.latin1(), strerror(errno) );
return false;
}
if (ioctl( m_fd, VIDIOCGCAP, &m_capability ) == -1) {
@@ -349,7 +349,7 @@ bool ng_vid_driver_v4l::open2( TQString device )
}
#ifdef Barcode_DEBUG
- qDebug( "v4l: open: %s (%s)\n", device.latin1(), m_capability.name );
+ tqDebug( "v4l: open: %s (%s)\n", device.latin1(), m_capability.name );
#endif
fcntl( m_fd, F_SETFD, FD_CLOEXEC ); // close on exit
@@ -358,8 +358,8 @@ bool ng_vid_driver_v4l::open2( TQString device )
myDebug() << " capabilities: " << endl;
for (int i = 0; device_cap[i] != NULL; i++)
if (m_capability.type & (1 << i))
- qDebug( " %s", device_cap[i] );
- qDebug( " size : %dx%d => %dx%d", m_capability.minwidth, m_capability.minheight, m_capability.maxwidth, m_capability.maxheight );
+ tqDebug( " %s", device_cap[i] );
+ tqDebug( " size : %dx%d => %dx%d", m_capability.minwidth, m_capability.minheight, m_capability.maxwidth, m_capability.maxheight );
#endif
#ifdef Barcode_DEBUG