[Uml-devel] KDE/kdesdk/umbrello/umbrello

Ralf Habacker ralf.habacker at gmail.com
Tue Jan 10 14:34:34 UTC 2012


SVN commit 1272956 by habacker:

Added debug operator for IDType.

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


--- trunk/KDE/kdesdk/umbrello/umbrello/basictypes.cpp #1272955:1272956
@@ -922,5 +922,11 @@
 
 //-----------------------------------------------------------------------------
 
+QDebug operator<<(QDebug out, IDType &type)
+{
+    out.nospace() << "IDType: " << ID2STR(type);
+    return out.space();
+}
 
+
 }  // end namespace Uml
--- trunk/KDE/kdesdk/umbrello/umbrello/basictypes.h #1272955:1272956
@@ -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