summaryrefslogtreecommitdiffstats
path: root/kompare/tests/diff
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:36:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:36:05 -0600
commitdd844d7919e7f0f95c010378e7af1434ea904fff (patch)
tree50727ca63550e4397ff76e4d039c162e225d59fc /kompare/tests/diff
parent7df4eaa9f8fa84d2b859cc59d21134cc2334651c (diff)
downloadtdesdk-dd844d7919e7f0f95c010378e7af1434ea904fff.tar.gz
tdesdk-dd844d7919e7f0f95c010378e7af1434ea904fff.zip
Rename additional global TQt functions
Diffstat (limited to 'kompare/tests/diff')
-rw-r--r--kompare/tests/diff/contextm.diff32
-rw-r--r--kompare/tests/diff/edm.diff8
-rw-r--r--kompare/tests/diff/normalm.diff16
-rw-r--r--kompare/tests/diff/rcsm.diff8
-rw-r--r--kompare/tests/diff/unifiedm.diff24
5 files changed, 44 insertions, 44 deletions
diff --git a/kompare/tests/diff/contextm.diff b/kompare/tests/diff/contextm.diff
index 38db371e..570d23fa 100644
--- a/kompare/tests/diff/contextm.diff
+++ b/kompare/tests/diff/contextm.diff
@@ -119,7 +119,7 @@ diff -cr dcop/client/dcop.cpp dcop2/client/dcop.cpp
}
if ( realfunc.isEmpty() )
{
- qWarning("no such function");
+ tqWarning("no such function");
! exit(1);
}
f = realfunc;
@@ -135,7 +135,7 @@ diff -cr dcop/client/dcop.cpp dcop2/client/dcop.cpp
}
if ( realfunc.isEmpty() )
{
- qWarning("no such function");
+ tqWarning("no such function");
! // exit(1);
! return;
}
@@ -151,7 +151,7 @@ diff -cr dcop/client/dcop.cpp dcop2/client/dcop.cpp
! marshall(arg, argc, args, i, *it);
! }
! if ( i != argc ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
--- 271,282 ----
@@ -164,7 +164,7 @@ diff -cr dcop/client/dcop.cpp dcop2/client/dcop.cpp
!
! if ( i != args.count() )
! {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
***************
@@ -753,7 +753,7 @@ diff -cr dcop/client/dcopfind.cpp dcop2/client/dcopfind.cpp
}
! if ( (int) types.count() != argc ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
--- 118,124 ----
@@ -761,7 +761,7 @@ diff -cr dcop/client/dcopfind.cpp dcop2/client/dcopfind.cpp
}
! if ( types.count() != args.count() ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
***************
@@ -772,7 +772,7 @@ diff -cr dcop/client/dcopfind.cpp dcop2/client/dcopfind.cpp
! marshall(arg, argc, args, i, *it);
}
! if ( (int) i != argc ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
--- 128,136 ----
@@ -782,7 +782,7 @@ diff -cr dcop/client/dcopfind.cpp dcop2/client/dcopfind.cpp
! marshall(arg, args, i, *it);
}
! if ( (uint) i != args.count() ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
***************
@@ -822,7 +822,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
! type = "QValueList<QCString>";
! if (i >= argc)
! {
-! qWarning("Not enough arguments.");
+! tqWarning("Not enough arguments.");
! exit(1);
! }
! QString s = QString::fromLocal8Bit(argv[i]);
@@ -894,7 +894,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
! while (true) {
! if (j >= argc)
! {
-! qWarning("List end-delimiter '%s' not found.", delim.latin1());
+! tqWarning("List end-delimiter '%s' not found.", delim.latin1());
! exit(1);
! }
! if (argv[j] == delim) break;
@@ -906,14 +906,14 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
! while (true) {
! if (i >= argc)
! {
-! qWarning("List end-delimiter '%s' not found.", delim.latin1());
+! tqWarning("List end-delimiter '%s' not found.", delim.latin1());
! exit(1);
! }
! if (argv[i] == delim) break;
! marshall(arg, argc, argv, i, type);
! }
! } else {
-! qWarning( "cannot handle datatype '%s'", type.latin1() );
+! tqWarning( "cannot handle datatype '%s'", type.latin1() );
! exit(1);
! }
i++;
@@ -931,7 +931,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
! type = "QValueList<QCString>";
! if( i > args.count() )
! {
-! qWarning("Not enough arguments.");
+! tqWarning("Not enough arguments.");
! exit(1);
! }
! QString s = QString::fromLocal8Bit( args[ i ] );
@@ -1003,7 +1003,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ while (true) {
+ if( j > args.count() )
+ {
-+ qWarning("List end-delimiter '%s' not found.", delim.latin1());
++ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
+ exit(1);
+ }
+ if( QString::fromLocal8Bit( args[ j ] ) == delim )
@@ -1016,7 +1016,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ while (true) {
+ if( i > args.count() )
+ {
-+ qWarning("List end-delimiter '%s' not found.", delim.latin1());
++ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
+ exit(1);
+ }
+ if( QString::fromLocal8Bit( args[ i ] ) == delim )
@@ -1024,7 +1024,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ marshall( arg, args, i, type );
+ }
+ } else {
-+ qWarning( "cannot handle datatype '%s'", type.latin1() );
++ tqWarning( "cannot handle datatype '%s'", type.latin1() );
+ exit(1);
+ }
+ i++;
diff --git a/kompare/tests/diff/edm.diff b/kompare/tests/diff/edm.diff
index 2d802765..654e1131 100644
--- a/kompare/tests/diff/edm.diff
+++ b/kompare/tests/diff/edm.diff
@@ -578,7 +578,7 @@ diff -er dcop/client/marshall.cpp dcop2/client/marshall.cpp
while (true) {
if( j > args.count() )
{
- qWarning("List end-delimiter '%s' not found.", delim.latin1());
+ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
exit(1);
}
if( QString::fromLocal8Bit( args[ j ] ) == delim )
@@ -591,7 +591,7 @@ diff -er dcop/client/marshall.cpp dcop2/client/marshall.cpp
while (true) {
if( i > args.count() )
{
- qWarning("List end-delimiter '%s' not found.", delim.latin1());
+ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
exit(1);
}
if( QString::fromLocal8Bit( args[ i ] ) == delim )
@@ -599,7 +599,7 @@ diff -er dcop/client/marshall.cpp dcop2/client/marshall.cpp
marshall( arg, args, i, type );
}
} else {
- qWarning( "cannot handle datatype '%s'", type.latin1() );
+ tqWarning( "cannot handle datatype '%s'", type.latin1() );
exit(1);
}
i++;
@@ -670,7 +670,7 @@ diff -er dcop/client/marshall.cpp dcop2/client/marshall.cpp
type = "QValueList<QCString>";
if( i > args.count() )
{
- qWarning("Not enough arguments.");
+ tqWarning("Not enough arguments.");
exit(1);
}
QString s = QString::fromLocal8Bit( args[ i ] );
diff --git a/kompare/tests/diff/normalm.diff b/kompare/tests/diff/normalm.diff
index 2ce10d6a..d3c9d893 100644
--- a/kompare/tests/diff/normalm.diff
+++ b/kompare/tests/diff/normalm.diff
@@ -649,7 +649,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
< type = "QValueList<QCString>";
< if (i >= argc)
< {
-< qWarning("Not enough arguments.");
+< tqWarning("Not enough arguments.");
< exit(1);
< }
< QString s = QString::fromLocal8Bit(argv[i]);
@@ -721,7 +721,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
> type = "QValueList<QCString>";
> if( i > args.count() )
> {
-> qWarning("Not enough arguments.");
+> tqWarning("Not enough arguments.");
> exit(1);
> }
> QString s = QString::fromLocal8Bit( args[ i ] );
@@ -732,7 +732,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
< while (true) {
< if (j >= argc)
< {
-< qWarning("List end-delimiter '%s' not found.", delim.latin1());
+< tqWarning("List end-delimiter '%s' not found.", delim.latin1());
< exit(1);
< }
< if (argv[j] == delim) break;
@@ -744,14 +744,14 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
< while (true) {
< if (i >= argc)
< {
-< qWarning("List end-delimiter '%s' not found.", delim.latin1());
+< tqWarning("List end-delimiter '%s' not found.", delim.latin1());
< exit(1);
< }
< if (argv[i] == delim) break;
< marshall(arg, argc, argv, i, type);
< }
< } else {
-< qWarning( "cannot handle datatype '%s'", type.latin1() );
+< tqWarning( "cannot handle datatype '%s'", type.latin1() );
< exit(1);
< }
---
@@ -822,7 +822,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
> while (true) {
> if( j > args.count() )
> {
-> qWarning("List end-delimiter '%s' not found.", delim.latin1());
+> tqWarning("List end-delimiter '%s' not found.", delim.latin1());
> exit(1);
> }
> if( QString::fromLocal8Bit( args[ j ] ) == delim )
@@ -835,7 +835,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
> while (true) {
> if( i > args.count() )
> {
-> qWarning("List end-delimiter '%s' not found.", delim.latin1());
+> tqWarning("List end-delimiter '%s' not found.", delim.latin1());
> exit(1);
> }
> if( QString::fromLocal8Bit( args[ i ] ) == delim )
@@ -843,7 +843,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp
> marshall( arg, args, i, type );
> }
> } else {
-> qWarning( "cannot handle datatype '%s'", type.latin1() );
+> tqWarning( "cannot handle datatype '%s'", type.latin1() );
> exit(1);
> }
> i++;
diff --git a/kompare/tests/diff/rcsm.diff b/kompare/tests/diff/rcsm.diff
index ac8061f5..d2a6aa73 100644
--- a/kompare/tests/diff/rcsm.diff
+++ b/kompare/tests/diff/rcsm.diff
@@ -571,7 +571,7 @@ a317 10
type = "QValueList<QCString>";
if( i > args.count() )
{
- qWarning("Not enough arguments.");
+ tqWarning("Not enough arguments.");
exit(1);
}
QString s = QString::fromLocal8Bit( args[ i ] );
@@ -644,7 +644,7 @@ a347 34
while (true) {
if( j > args.count() )
{
- qWarning("List end-delimiter '%s' not found.", delim.latin1());
+ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
exit(1);
}
if( QString::fromLocal8Bit( args[ j ] ) == delim )
@@ -657,7 +657,7 @@ a347 34
while (true) {
if( i > args.count() )
{
- qWarning("List end-delimiter '%s' not found.", delim.latin1());
+ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
exit(1);
}
if( QString::fromLocal8Bit( args[ i ] ) == delim )
@@ -665,7 +665,7 @@ a347 34
marshall( arg, args, i, type );
}
} else {
- qWarning( "cannot handle datatype '%s'", type.latin1() );
+ tqWarning( "cannot handle datatype '%s'", type.latin1() );
exit(1);
}
i++;
diff --git a/kompare/tests/diff/unifiedm.diff b/kompare/tests/diff/unifiedm.diff
index 7763ce5e..85adad04 100644
--- a/kompare/tests/diff/unifiedm.diff
+++ b/kompare/tests/diff/unifiedm.diff
@@ -87,7 +87,7 @@ diff -aur dcop/client/dcop.cpp dcop2/client/dcop.cpp
}
if ( realfunc.isEmpty() )
{
- qWarning("no such function");
+ tqWarning("no such function");
- exit(1);
+// exit(1);
+ return;
@@ -109,7 +109,7 @@ diff -aur dcop/client/dcop.cpp dcop2/client/dcop.cpp
+
+ if ( i != args.count() )
+ {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
@@ -266,78 +295,479 @@
@@ -667,7 +667,7 @@ diff -aur dcop/client/dcopfind.cpp dcop2/client/dcopfind.cpp
- if ( (int) types.count() != argc ) {
+ if ( types.count() != args.count() ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
@@ -128,9 +128,9 @@
@@ -679,7 +679,7 @@ diff -aur dcop/client/dcopfind.cpp dcop2/client/dcopfind.cpp
}
- if ( (int) i != argc ) {
+ if ( (uint) i != args.count() ) {
- qWarning( "arguments do not match" );
+ tqWarning( "arguments do not match" );
exit(1);
}
@@ -221,7 +221,11 @@
@@ -711,7 +711,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
- type = "QValueList<QCString>";
- if (i >= argc)
- {
-- qWarning("Not enough arguments.");
+- tqWarning("Not enough arguments.");
- exit(1);
- }
- QString s = QString::fromLocal8Bit(argv[i]);
@@ -782,7 +782,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ type = "QValueList<QCString>";
+ if( i > args.count() )
+ {
-+ qWarning("Not enough arguments.");
++ tqWarning("Not enough arguments.");
+ exit(1);
+ }
+ QString s = QString::fromLocal8Bit( args[ i ] );
@@ -793,7 +793,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
- while (true) {
- if (j >= argc)
- {
-- qWarning("List end-delimiter '%s' not found.", delim.latin1());
+- tqWarning("List end-delimiter '%s' not found.", delim.latin1());
- exit(1);
- }
- if (argv[j] == delim) break;
@@ -805,14 +805,14 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
- while (true) {
- if (i >= argc)
- {
-- qWarning("List end-delimiter '%s' not found.", delim.latin1());
+- tqWarning("List end-delimiter '%s' not found.", delim.latin1());
- exit(1);
- }
- if (argv[i] == delim) break;
- marshall(arg, argc, argv, i, type);
- }
- } else {
-- qWarning( "cannot handle datatype '%s'", type.latin1() );
+- tqWarning( "cannot handle datatype '%s'", type.latin1() );
- exit(1);
- }
+ if ( type == "int" )
@@ -882,7 +882,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ while (true) {
+ if( j > args.count() )
+ {
-+ qWarning("List end-delimiter '%s' not found.", delim.latin1());
++ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
+ exit(1);
+ }
+ if( QString::fromLocal8Bit( args[ j ] ) == delim )
@@ -895,7 +895,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ while (true) {
+ if( i > args.count() )
+ {
-+ qWarning("List end-delimiter '%s' not found.", delim.latin1());
++ tqWarning("List end-delimiter '%s' not found.", delim.latin1());
+ exit(1);
+ }
+ if( QString::fromLocal8Bit( args[ i ] ) == delim )
@@ -903,7 +903,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp
+ marshall( arg, args, i, type );
+ }
+ } else {
-+ qWarning( "cannot handle datatype '%s'", type.latin1() );
++ tqWarning( "cannot handle datatype '%s'", type.latin1() );
+ exit(1);
+ }
+ i++;