summaryrefslogtreecommitdiffstats
path: root/src/regexps.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-18 15:41:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-05-18 16:03:02 +0900
commitc46af70011cf1050c6ed158cc42d3fcaa67e791d (patch)
tree9b2057b8fe09128264e2696c7a2bbe123bff9222 /src/regexps.cpp
parentcb0f5bc7df4a16224d017b2b987a0b05a6c98812 (diff)
downloadtdeio-apt-c46af70011cf1050c6ed158cc42d3fcaa67e791d.tar.gz
tdeio-apt-c46af70011cf1050c6ed158cc42d3fcaa67e791d.zip
Use dedicated kdDebug area.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit eb5c989f90ef1f8faf29fb0b39e9c46257f56fc9)
Diffstat (limited to 'src/regexps.cpp')
-rw-r--r--src/regexps.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/regexps.cpp b/src/regexps.cpp
index 32031c0..d407d6b 100644
--- a/src/regexps.cpp
+++ b/src/regexps.cpp
@@ -9,7 +9,6 @@
***************************************************************************/
#include "regexps.h"
-#include "debug.h"
#include <kdebug.h>
@@ -18,16 +17,16 @@ bool match_dversion(TQString version)
static TQRegExp rx_revision(rxs_revision);
TQString allowed_vchars = ".+\\w";
- kdDebug(DEBUG_ZONE) << version << endl;
+ kdDebug(7130) << version << endl;
if (version[1] == ':')
{
allowed_vchars += ":";
if (! version[0].isDigit()) return false;
- kdDebug(DEBUG_ZONE) << "Matched epoch" << endl;
+ kdDebug(7130) << "Matched epoch" << endl;
version = version.right( version.length() - 2 );
}
- kdDebug(DEBUG_ZONE) << version << endl;
+ kdDebug(7130) << version << endl;
int rev_pos = version.findRev('-');
if (rev_pos > -1)
{
@@ -36,7 +35,7 @@ bool match_dversion(TQString version)
if (! rx_revision.exactMatch(revision))
return false;
- kdDebug(DEBUG_ZONE) << "Matched revision" << endl;
+ kdDebug(7130) << "Matched revision" << endl;
version.truncate( version.length() - rev_pos - 1 );
}