diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 11:34:47 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-12 11:34:47 +0900 |
commit | 8dac8f1a52cf3a2983af451aff69ca268cfbd6d7 (patch) | |
tree | 0e635c9ea1f00598fe892d77e026cbeb96eff8ef /kompare/tests/diff | |
parent | 3523578cf170d9e98e2c0c5b2f3b6f7de4318a03 (diff) | |
download | tdesdk-8dac8f1a52cf3a2983af451aff69ca268cfbd6d7.tar.gz tdesdk-8dac8f1a52cf3a2983af451aff69ca268cfbd6d7.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kompare/tests/diff')
-rw-r--r-- | kompare/tests/diff/contextm.diff | 12 | ||||
-rw-r--r-- | kompare/tests/diff/edm.diff | 6 | ||||
-rw-r--r-- | kompare/tests/diff/normalm.diff | 12 | ||||
-rw-r--r-- | kompare/tests/diff/rcsm.diff | 6 | ||||
-rw-r--r-- | kompare/tests/diff/unifiedm.diff | 12 |
5 files changed, 24 insertions, 24 deletions
diff --git a/kompare/tests/diff/contextm.diff b/kompare/tests/diff/contextm.diff index 5607c94a..2f0fd151 100644 --- a/kompare/tests/diff/contextm.diff +++ b/kompare/tests/diff/contextm.diff @@ -813,7 +813,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp ! void marshall(QDataStream &arg, int argc, char **argv, int &i, QString type) { -! if (type == TQSTRINGLIST_OBJECT_NAME_STRING) +! if (type == "TQStringList") ! type = "QValueList<QString>"; ! if (type == "QCStringList") ! type = "QValueList<QCString>"; @@ -846,13 +846,13 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp ! arg << s.toDouble(); ! else if ( type == "bool" ) ! arg << mkBool( s ); -! else if ( type == TQSTRING_OBJECT_NAME_STRING ) +! else if ( type == "TQString" ) ! arg << s; ! else if ( type == "QCString" ) ! arg << QCString( argv[i] ); ! else if ( type == "QColor" ) ! arg << mkColor( s ); -! else if ( type == TQPOINT_OBJECT_NAME_STRING ) +! else if ( type == "TQPoint" ) ! arg << mkPoint( s ); ! else if ( type == "QSize" ) ! arg << mkSize( s ); @@ -922,7 +922,7 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp ! void marshall( QDataStream &arg, QCStringList args, uint &i, QString type ) { -! if (type == TQSTRINGLIST_OBJECT_NAME_STRING) +! if (type == "TQStringList") ! type = "QValueList<QString>"; ! if (type == "QCStringList") ! type = "QValueList<QCString>"; @@ -955,13 +955,13 @@ diff -cr dcop/client/marshall.cpp dcop2/client/marshall.cpp ! arg << s.toDouble(); ! else if ( type == "bool" ) ! arg << mkBool( s ); -! else if ( type == TQSTRING_OBJECT_NAME_STRING ) +! else if ( type == "TQString" ) ! arg << s; ! else if ( type == "QCString" ) ! arg << QCString( args[ i ] ); ! else if ( type == "QColor" ) ! arg << mkColor( s ); -! else if ( type == TQPOINT_OBJECT_NAME_STRING ) +! else if ( type == "TQPoint" ) ! arg << mkPoint( s ); ! else if ( type == "QSize" ) ! arg << mkSize( s ); diff --git a/kompare/tests/diff/edm.diff b/kompare/tests/diff/edm.diff index 44489e8d..45d559cc 100644 --- a/kompare/tests/diff/edm.diff +++ b/kompare/tests/diff/edm.diff @@ -623,13 +623,13 @@ diff -er dcop/client/marshall.cpp dcop2/client/marshall.cpp arg << s.toDouble(); else if ( type == "bool" ) arg << mkBool( s ); - else if ( type == TQSTRING_OBJECT_NAME_STRING ) + else if ( type == "TQString" ) arg << s; else if ( type == "QCString" ) arg << QCString( args[ i ] ); else if ( type == "QColor" ) arg << mkColor( s ); - else if ( type == TQPOINT_OBJECT_NAME_STRING ) + else if ( type == "TQPoint" ) arg << mkPoint( s ); else if ( type == "QSize" ) arg << mkSize( s ); @@ -660,7 +660,7 @@ diff -er dcop/client/marshall.cpp dcop2/client/marshall.cpp delim = ")"; . 247,317c - if (type == TQSTRINGLIST_OBJECT_NAME_STRING) + if (type == "TQStringList") type = "QValueList<QString>"; if (type == "QCStringList") type = "QValueList<QCString>"; diff --git a/kompare/tests/diff/normalm.diff b/kompare/tests/diff/normalm.diff index 38676f0e..0344923a 100644 --- a/kompare/tests/diff/normalm.diff +++ b/kompare/tests/diff/normalm.diff @@ -639,7 +639,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp --- > void marshall( QDataStream &arg, QCStringList args, uint &i, QString type ) 247,317c247,256 -< if (type == TQSTRINGLIST_OBJECT_NAME_STRING) +< if (type == "TQStringList") < type = "QValueList<QString>"; < if (type == "QCStringList") < type = "QValueList<QCString>"; @@ -672,13 +672,13 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp < arg << s.toDouble(); < else if ( type == "bool" ) < arg << mkBool( s ); -< else if ( type == TQSTRING_OBJECT_NAME_STRING ) +< else if ( type == "TQString" ) < arg << s; < else if ( type == "QCString" ) < arg << QCString( argv[i] ); < else if ( type == "QColor" ) < arg << mkColor( s ); -< else if ( type == TQPOINT_OBJECT_NAME_STRING ) +< else if ( type == "TQPoint" ) < arg << mkPoint( s ); < else if ( type == "QSize" ) < arg << mkSize( s ); @@ -711,7 +711,7 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp < QByteArray dummy_data; < QDataStream dummy_arg(dummy_data, IO_WriteOnly); --- -> if (type == TQSTRINGLIST_OBJECT_NAME_STRING) +> if (type == "TQStringList") > type = "QValueList<QString>"; > if (type == "QCStringList") > type = "QValueList<QCString>"; @@ -773,13 +773,13 @@ diff -r dcop/client/marshall.cpp dcop2/client/marshall.cpp > arg << s.toDouble(); > else if ( type == "bool" ) > arg << mkBool( s ); -> else if ( type == TQSTRING_OBJECT_NAME_STRING ) +> else if ( type == "TQString" ) > arg << s; > else if ( type == "QCString" ) > arg << QCString( args[ i ] ); > else if ( type == "QColor" ) > arg << mkColor( s ); -> else if ( type == TQPOINT_OBJECT_NAME_STRING ) +> else if ( type == "TQPoint" ) > arg << mkPoint( s ); > else if ( type == "QSize" ) > arg << mkSize( s ); diff --git a/kompare/tests/diff/rcsm.diff b/kompare/tests/diff/rcsm.diff index 588fd7f1..e64fc43f 100644 --- a/kompare/tests/diff/rcsm.diff +++ b/kompare/tests/diff/rcsm.diff @@ -561,7 +561,7 @@ a245 1 void marshall( QDataStream &arg, QCStringList args, uint &i, QString type ) d247 71 a317 10 - if (type == TQSTRINGLIST_OBJECT_NAME_STRING) + if (type == "TQStringList") type = "QValueList<QString>"; if (type == "QCStringList") type = "QValueList<QCString>"; @@ -595,13 +595,13 @@ a346 57 arg << s.toDouble(); else if ( type == "bool" ) arg << mkBool( s ); - else if ( type == TQSTRING_OBJECT_NAME_STRING ) + else if ( type == "TQString" ) arg << s; else if ( type == "QCString" ) arg << QCString( args[ i ] ); else if ( type == "QColor" ) arg << mkColor( s ); - else if ( type == TQPOINT_OBJECT_NAME_STRING ) + else if ( type == "TQPoint" ) arg << mkPoint( s ); else if ( type == "QSize" ) arg << mkSize( s ); diff --git a/kompare/tests/diff/unifiedm.diff b/kompare/tests/diff/unifiedm.diff index 1b62d739..49aff880 100644 --- a/kompare/tests/diff/unifiedm.diff +++ b/kompare/tests/diff/unifiedm.diff @@ -702,7 +702,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp -void marshall(QDataStream &arg, int argc, char **argv, int &i, QString type) +void marshall( QDataStream &arg, QCStringList args, uint &i, QString type ) { -- if (type == TQSTRINGLIST_OBJECT_NAME_STRING) +- if (type == "TQStringList") - type = "QValueList<QString>"; - if (type == "QCStringList") - type = "QValueList<QCString>"; @@ -735,13 +735,13 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp - arg << s.toDouble(); - else if ( type == "bool" ) - arg << mkBool( s ); -- else if ( type == TQSTRING_OBJECT_NAME_STRING ) +- else if ( type == "TQString" ) - arg << s; - else if ( type == "QCString" ) - arg << QCString( argv[i] ); - else if ( type == "QColor" ) - arg << mkColor( s ); -- else if ( type == TQPOINT_OBJECT_NAME_STRING ) +- else if ( type == "TQPoint" ) - arg << mkPoint( s ); - else if ( type == "QSize" ) - arg << mkSize( s ); @@ -773,7 +773,7 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp - i++; - QByteArray dummy_data; - QDataStream dummy_arg(dummy_data, IO_WriteOnly); -+ if (type == TQSTRINGLIST_OBJECT_NAME_STRING) ++ if (type == "TQStringList") + type = "QValueList<QString>"; + if (type == "QCStringList") + type = "QValueList<QCString>"; @@ -834,13 +834,13 @@ diff -aur dcop/client/marshall.cpp dcop2/client/marshall.cpp + arg << s.toDouble(); + else if ( type == "bool" ) + arg << mkBool( s ); -+ else if ( type == TQSTRING_OBJECT_NAME_STRING ) ++ else if ( type == "TQString" ) + arg << s; + else if ( type == "QCString" ) + arg << QCString( args[ i ] ); + else if ( type == "QColor" ) + arg << mkColor( s ); -+ else if ( type == TQPOINT_OBJECT_NAME_STRING ) ++ else if ( type == "TQPoint" ) + arg << mkPoint( s ); + else if ( type == "QSize" ) + arg << mkSize( s ); |