[Kde-bindings] KDE/kdebindings/kalyptus

Arno Rehn kde at arnorehn.de
Fri Jan 9 00:13:10 UTC 2009


SVN commit 907959 by arnorehn:

* better detection for deprecated stuff

CCMAIL: kde-bindings at kde.org



 M  +2 -2      kalyptus  


--- trunk/KDE/kdebindings/kalyptus/kalyptus #907958:907959
@@ -502,7 +502,7 @@
 		$p =~ s/Q_SIGNALS/signals/;
 		$p =~ s/Q_SLOTS/slots/;
 		$p =~ s/ASYNC/void/;
-		$p =~ s/[A-Z_0-9]*_EXPORT_DEPRECATED//;
+		# $p =~ s/[A-Z_0-9]*_EXPORT_DEPRECATED//;
 		$p =~ s/[A-Z_0-9]*_EXPORT\s/ /;
 		$p =~ s/EXPORT_DOCKCLASS//;
 		$p =~ s/DLL_IMP_EXP_KMDICLASS//;
@@ -821,7 +821,7 @@
 	my $skipBlock = 0;
 	my $isDeprecated = 0;
 	
-	if ( $decl =~ s/KDE_DEPRECATED// || $decl =~ s/QT_DEPRECATED// ) {
+	if ( $decl =~ s/KDE_\w*DEPRECATED// || $decl =~ s/QT_DEPRECATED// || $decl =~ s/[A-Z_0-9]*_EXPORT_DEPRECATED//) {
 		$isDeprecated = 1;
 	}
 	# Doc comment



More information about the Kde-bindings mailing list