diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:07 -0600 |
commit | 3ed7c09d22a5f310a97516f5bab6068e5688a813 (patch) | |
tree | 23ba07d28f7fad17824db1fc40e9cf1ad4942480 /kalyptus/kalyptusCxxToKimono.pm | |
parent | 3a8473ba2620b85b165b5a2fa1a6b153f5945800 (diff) | |
download | tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.tar.gz tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kalyptus/kalyptusCxxToKimono.pm')
-rw-r--r-- | kalyptus/kalyptusCxxToKimono.pm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kalyptus/kalyptusCxxToKimono.pm b/kalyptus/kalyptusCxxToKimono.pm index 1c59aac1..f228af7b 100644 --- a/kalyptus/kalyptusCxxToKimono.pm +++ b/kalyptus/kalyptusCxxToKimono.pm @@ -558,7 +558,7 @@ sub cplusplusToCSharp || kalyptusDataDict::ctypemap($cplusplusType) =~ /qt_QDomNodeList\s*\*/ || kalyptusDataDict::ctypemap($cplusplusType) =~ /qt_QWidgetList\s*\*/ || kalyptusDataDict::ctypemap($cplusplusType) =~ /kde_KURLList\s*\*/ - || kalyptusDataDict::ctypemap($cplusplusType) =~ /kde_KMainWindow\s*\*/ + || kalyptusDataDict::ctypemap($cplusplusType) =~ /kde_TDEMainWindow\s*\*/ || kalyptusDataDict::ctypemap($cplusplusType) =~ /kde_KFileItemList\s*\*/ || kalyptusDataDict::ctypemap($cplusplusType) =~ /kde_KFileViewItemList\s*\*/ || kalyptusDataDict::ctypemap($cplusplusType) =~ /kde_DOMNodeList\s*\*/ @@ -911,11 +911,11 @@ sub preParseClass || ($classNode->{astNodeName} eq 'SlaveBase' and $name eq 'checkCachedAuthentication') || ($classNode->{astNodeName} eq 'SlaveBase' and $name eq 'cacheAuthentication') || ($classNode->{astNodeName} eq 'KInputDialog' and $name eq 'getDouble') - || ($classNode->{astNodeName} eq 'KToolBar' and $name eq 'enable') - || ($classNode->{astNodeName} eq 'KAccel' and $name eq 'insert' and @{$m->{ParamList}} == 2) - || ($classNode->{astNodeName} eq 'KAccel' and $name eq 'autoupdate') - || ($classNode->{astNodeName} eq 'KAccel' and $name eq 'getAutoUpdate') - || ($classNode->{astNodeName} eq 'KStdAccel' and $name eq 'insert') + || ($classNode->{astNodeName} eq 'TDEToolBar' and $name eq 'enable') + || ($classNode->{astNodeName} eq 'TDEAccel' and $name eq 'insert' and @{$m->{ParamList}} == 2) + || ($classNode->{astNodeName} eq 'TDEAccel' and $name eq 'autoupdate') + || ($classNode->{astNodeName} eq 'TDEAccel' and $name eq 'getAutoUpdate') + || ($classNode->{astNodeName} eq 'TDEStdAccel' and $name eq 'insert') || ($classNode->{astNodeName} eq 'KBookmarkMenu' and $name eq 'invalid') || ($classNode->{astNodeName} eq 'KCharsets' and $name eq 'languages') || ($classNode->{astNodeName} eq 'KCombiView' and $name eq 'setDropOptions') @@ -1347,7 +1347,7 @@ sub writeClassDoc print CLASS $quridragExtras; } elsif ( $className eq 'TDEApplication' ) { print CLASS $kapplicationExtras; - } elsif ( $className eq 'KMainWindow' ) { + } elsif ( $className eq 'TDEMainWindow' ) { print CLASS $kmainwindowExtras; } @@ -1940,13 +1940,13 @@ sub generateMethod($$$$$$$) $name = "iconId"; } elsif ( $name eq 'icon' and $csharpClassName eq 'KURLBarItemDialog' ) { $name = "iconName"; - } elsif ( $name eq 'iconText' and $csharpClassName eq 'KToolBar' ) { + } elsif ( $name eq 'iconText' and $csharpClassName eq 'TDEToolBar' ) { $name = "iconTextId"; } elsif ( $name eq 'reset' and $csharpClassName eq 'KExtendedSocket' ) { $name = "resetSocket"; } elsif ( $name eq 'palette' and $csharpClassName eq 'KPaletteTable' ) { $name = "paletteName"; - } elsif ( $name eq 'size' and $csharpClassName eq 'KFontCombo' ) { + } elsif ( $name eq 'size' and $csharpClassName eq 'TDEFontCombo' ) { $name = "pointSize"; } elsif ($csharpSignature eq "icon()" and $csharpClassName eq 'KIconButton') { $name = "iconName"; |