[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Mon Sep 12 20:36:18 CEST 2005


SVN commit 460032 by staikos:

add revision tag to debug


 M  +7 -0      kstdebug.cpp  
 M  +2 -0      kstdebug.h  


--- trunk/extragear/graphics/kst/kst/kstdebug.cpp #460031:460032
@@ -47,6 +47,7 @@
 : QObject() {
   _applyLimit = false;
   _limit = 10000;
+  _kstRevision = QString::fromLatin1("$Rev:$");
 }
 
 
@@ -175,5 +176,11 @@
   return _messages.size();
 }
 
+
+const QString& KstDebug::kstRevision() const {
+  return _kstRevision;
+}
+
+
 #include "kstdebug.moc"
 // vim: ts=2 sw=2 et
--- trunk/extragear/graphics/kst/kst/kstdebug.h #460031:460032
@@ -54,6 +54,7 @@
     KstDebug::LogMessage message(unsigned n) const;
     QStringList dataSourcePlugins() const;
     QString label(LogLevel level) const;
+    const QString& kstRevision() const;
 
     int limit() const;
 
@@ -79,6 +80,7 @@
     QMap<QString,int> _drawCounter;
 #endif
     QGuardedPtr<QObject> _handler;
+    QString _kstRevision;
 };
 
 


More information about the Kst mailing list