diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-06 12:46:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-07 16:47:18 +0900 |
commit | c7cf5fd96d2696a522b5a377c53899d8d7bd5d80 (patch) | |
tree | 2283f4bbb7b30689323355558ebb3371a2cfac2c | |
parent | 7f3bcfe1003504498f27b8930e723e0f7562c40a (diff) | |
download | tdelibs-c7cf5fd96d2696a522b5a377c53899d8d7bd5d80.tar.gz tdelibs-c7cf5fd96d2696a522b5a377c53899d8d7bd5d80.zip |
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cc5cf548f13ee0c43c41ac60ad056765e7dccb26)
-rw-r--r-- | CMakeL10n.txt | 4 | ||||
-rw-r--r-- | dcop/dcopidlng/kalyptus | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index fe173f393..005793034 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -34,7 +34,7 @@ endif( ) if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src/xml/qxml.cpp ) # hide "#define" to allow strings to be extracted using xgettext file( READ ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src/xml/qxml.cpp _tqt_qxml ) - string( REGEX REPLACE "\n(#define[^\n]*)(QT_TRANSLATE_NOOP)" "\n/*\\1*/\\2" _tqt_qxml ${_tqt_qxml} ) + string( REGEX REPLACE "\n(#define[^\n]*)(TQT_TRANSLATE_NOOP)" "\n/*\\1*/\\2" _tqt_qxml ${_tqt_qxml} ) file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src/xml/qxml.cpp.tde_l10n "${_tqt_qxml}" ) endif( ) @@ -127,7 +127,7 @@ tde_l10n_create_template( KEYWORDS tr tr:1,2 translate translate:1,2 - QT_TRANSLATE_NOOP QT_TRANSLATE_NOOP:1,2 + TQT_TRANSLATE_NOOP TQT_TRANSLATE_NOOP:1,2 X-POT "-" ) diff --git a/dcop/dcopidlng/kalyptus b/dcop/dcopidlng/kalyptus index 312a62eb1..16d39ac7a 100644 --- a/dcop/dcopidlng/kalyptus +++ b/dcop/dcopidlng/kalyptus @@ -100,7 +100,7 @@ $allowed_k_dcop_accesors_re = join("|", @allowed_k_dcop_accesors); _STYLE_WINDOWS => '', QT_STATIC_CONST => 'static const', Q_EXPORT => '', - Q_REFCOUNT => '', + TQ_REFCOUNT => '', QM_EXPORT_CANVAS => '', QM_EXPORT_DNS => '', QM_EXPORT_ICONVIEW => '', @@ -426,7 +426,7 @@ LOOP: || $p =~ /^\s*TQ_PROPERTY/ # and TQ_PROPERTY || $p =~ /^\s*TQ_OVERRIDE/ # and TQ_OVERRIDE || $p =~ /^\s*TQ_SETS/ - || $p =~ /^\s*Q_DUMMY_COMPARISON_OPERATOR/ + || $p =~ /^\s*TQ_DUMMY_COMPARISON_OPERATOR/ || $p =~ /^\s*K_SYCOCATYPE/ # and K_SYCOCA stuff || $p =~ /^\s*K_SYCOCAFACTORY/ # || $p =~ /^\s*KSVG_/ # and KSVG stuff ;) @@ -708,7 +708,7 @@ sub identifyDecl \s*(class|struct|union|namespace) # 2 struct type \s*([A-Z_]*EXPORT[A-Z_]*)? # 3 export (?:\s*TQ_PACKED)? - (?:\s*Q_REFCOUNT)? + (?:\s*TQ_REFCOUNT)? \s+([\w_]+ # 4 name (?:<[\w_ :,]+?>)? # maybe explicit template # (eat chars between <> non-hungry) |