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

List:       kde-commits
Subject:    [kdb] src: Add the Signedness enum
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2015-06-30 22:09:05
Message-ID: E1ZA3iD-00042Q-Oh () scm ! kde ! org
[Download RAW message or body]

Git commit eff968b6f9c55f39fed595f04bf283c3b9b3d491 by Jaroslaw Staniek.
Committed on 30/06/2015 at 16:51.
Pushed by staniek into branch 'master'.

Add the Signedness enum

M  +7    -0    src/KDbGlobal.h

http://commits.kde.org/kdb/eff968b6f9c55f39fed595f04bf283c3b9b3d491

diff --git a/src/KDbGlobal.h b/src/KDbGlobal.h
index 66fb101..169f156 100644
--- a/src/KDbGlobal.h
+++ b/src/KDbGlobal.h
@@ -147,6 +147,13 @@ enum IdentifierEscapingType {
     KDbEscaping     //!< Identifiers are escaped using KDb's generic convention
 };
 
+//! A property of numeric values
+enum Signedness
+{
+    Signed = 0,  //!< Values can be both positive and negative
+    Unsigned = 1 //!< Values can be both non-negative
+};
+
 }
 
 //! Macros for marking future QObject::tr() translations.

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

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