[Kde-bindings] branches/KDE/4.4/kdebindings/php/phpqt/src

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Feb 2 18:01:02 UTC 2010


SVN commit 1084210 by rdale:

* The PHPQt::smoke() method was defined as 'inline' in a .cpp file, and was 
undefined in the target .so library. So add a declaration for it in the header
and define it normally in the .cpp file.

CCMAIL: kde-bindings at kde.org


 M  +1 -1      phpqt_internals.cpp  
 M  +1 -0      phpqt_internals.h  


--- branches/KDE/4.4/kdebindings/php/phpqt/src/phpqt_internals.cpp #1084209:1084210
@@ -613,7 +613,7 @@
     return result;
 }
 
-inline Smoke* PHPQt::smoke(){ return qt_Smoke; }
+Smoke* PHPQt::smoke(){ return qt_Smoke; }
 
 extern SmokeBinding* qt_binding;
 SmokeBinding* PHPQt::binding(){ return qt_binding; }
--- branches/KDE/4.4/kdebindings/php/phpqt/src/phpqt_internals.h #1084209:1084210
@@ -295,6 +295,7 @@
      */
     const QString printType(int type);
 
+    Smoke* smoke();
 }; // namespace PHPQt
 
 #endif



More information about the Kde-bindings mailing list