[Uml-devel] branches/work/soc-umbrello/umbrello

Andi Fischer andi.fischer at hispeed.ch
Thu Jan 12 22:12:52 UTC 2012


SVN commit 1273349 by fischer:

Debug operator for IDType added. Patch from Ralf Habacker also applied to branch.

 M  +6 -0      basictypes.cpp  
 M  +1 -0      basictypes.h  


--- branches/work/soc-umbrello/umbrello/basictypes.cpp #1273348:1273349
@@ -922,5 +922,11 @@
 
 //-----------------------------------------------------------------------------
 
+QDebug operator<<(QDebug out, IDType &type)
+{
+    out.nospace() << "IDType: " << ID2STR(type);
+    return out.space();
+}
 
+
 }  // end namespace Uml
--- branches/work/soc-umbrello/umbrello/basictypes.h #1273348:1273349
@@ -329,6 +329,7 @@
 
 # define STR2ID(id)  qPrintable(id)
 # define ID2STR(id)  QString(id.c_str())
+    QDebug operator<<(QDebug out, IDType &type);
 //    }
 
 }  // end namespace Uml




More information about the umbrello-devel mailing list