[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/bindings/smokegenerator
From:       Arno Rehn <kde () arnorehn ! de>
Date:       2009-08-10 18:19:27
Message-ID: 1249928367.630480.406.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1009724 by arnorehn:

include all functions in namespaces starting with 'K'


 M  +12 -0     examples/kde/smokeconfig.xml  
 M  +5 -1      type.cpp  


--- trunk/playground/bindings/smokegenerator/examples/kde/smokeconfig.xml \
#1009723:1009724 @@ -22,6 +22,16 @@
         <signature>.*::virtual_hook\(int, void\*\).*</signature>
         <signature>.*QDebug.*</signature>
         <signature>.*Q3.*</signature>
+        
+        <signature>.*stat\*.*</signature>
+        <signature>.*utimbuf\*.*</signature>
+        
+        <!-- these don't link.. -->
+        <signature>.*KIO::file_move\(const KUrl&amp;, const KUrl&amp;, \
KIO::JobFlags\)</signature> +        \
<signature>.*KIO::buildHTMLErrorString.*</signature> +        \
<signature>.*KStandardShortcut::insert\(\)</signature> +        \
<signature>.*KServiceTypeProfile::clearCache\(\)</signature> +        
         <!-- internal use only, not exported -->
         <signature>.*KWallet::Wallet::Wallet\(const \
                KWallet::Wallet&amp;\)</signature>
         <!-- operator(<<|>>)(QDataStream&, KDateTime*) - why are these operators not \
implemented/exported? --> @@ -31,6 +41,8 @@
         <!-- include functions starting with 'k' -->
         <name>^k.*</name>
         <name>.*::k.*</name>
+        
+        <name>K.*::.*</name>
         <!-- and operators -->
         <name>.*operator.*</name>
         <!-- and i18n functions -->
--- trunk/playground/bindings/smokegenerator/type.cpp #1009723:1009724
@@ -122,7 +122,11 @@
 
 QString GlobalVar::toString() const
 {
-    return m_type->toString() + " " + m_name;
+    QString ret = m_type->toString() + " ";
+    if (!m_nspace.isEmpty())
+        ret += m_nspace + "::";
+    ret += m_name;
+    return ret;
 }
 
 QString Function::toString() const


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic