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

List:       kde-commits
Subject:    KDE/kdebindings/generator/generators/smoke
From:       Richard Dale <richard.j.dale () gmail ! com>
Date:       2010-10-09 7:02:42
Message-ID: 20101009070242.DF624AC892 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1184025 by rdale:

* Fix spelling of instanstiated


 M  +5 -5      helpers.cpp  
 M  +1 -1      writeClasses.cpp  


--- trunk/KDE/kdebindings/generator/generators/smoke/helpers.cpp #1184024:1184025
@@ -244,7 +244,7 @@
         if (meth.isConstructor()) {
             ctorFound = true;
             if (meth.access() != Access_private) {
-                // this class can be instanciated
+                // this class can be instanstiated
                 publicCtorFound = true;
             }
         } else if ((meth.flags() & Method::PureVirtual) && meth.access() == Access_private) {
@@ -252,9 +252,9 @@
         }
     }
     
-    // The class can be instanciated if it has a public constructor or no constructor at all
+    // The class can be instanstiated if it has a public constructor or no constructor at all
     // because then it has a default one generated by the compiler.
-    // If it has private pure virtuals, then it can't be instanciated either.
+    // If it has private pure virtuals, then it can't be instanstiated either.
     bool ret = ((publicCtorFound || !ctorFound) && !privatePureVirtualsFound);
     cache[klass] = ret;
     return ret;
@@ -375,7 +375,7 @@
             list << &meth;
     }
     
-    // abstract classes can't be instanciated - remove the constructors
+    // abstract classes can't be instanstiated - remove the constructors
     if (hasPrivatePureVirtuals) {
         foreach (const Method* ctor, list) {
             klass->methodsRef().removeOne(*ctor);
@@ -718,7 +718,7 @@
 {
     static QHash<const Class*, QList<const Method*> > cache;
     
-    // virtual method callbacks for classes that can't be instanciated aren't useful
+    // virtual method callbacks for classes that can't be instanstiated aren't useful
     if (!Util::canClassBeInstanciated(klass))
         return QList<const Method*>();
     
--- trunk/KDE/kdebindings/generator/generators/smoke/writeClasses.cpp #1184024:1184025
@@ -469,7 +469,7 @@
     }
     
     // destructor
-    // if the class can't be instanciated, a callback when it's deleted is unnecessary
+    // if the class can't be instanstiated, a callback when it's deleted is unnecessary
     if (Util::canClassBeInstanciated(klass)) {
         out << "    ~" << smokeClassName << "() ";
         if (destructor && destructor->hasExceptionSpec()) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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