diff options
-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) |