Use standard C99 (and Qt) types for 64-bit integers
[novacoin.git] / src / qt / guiutil.h
index 012e497..4a4cc62 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef GUIUTIL_H
 #define GUIUTIL_H
 
+#include <QtGlobal>
 #include <QString>
 
 QT_BEGIN_NAMESPACE
@@ -12,12 +13,14 @@ class QUrl;
 QT_END_NAMESPACE
 class SendCoinsRecipient;
 
+/** Static utility functions used by the Bitcoin Qt UI.
+ */
 class GUIUtil
 {
 public:
     // Create human-readable string from date
-    static QString DateTimeStr(qint64 nTime);
-    static QString DateTimeStr(const QDateTime &datetime);
+    static QString dateTimeStr(qint64 nTime);
+    static QString dateTimeStr(const QDateTime &datetime);
 
     // Render bitcoin addresses in monospace font
     static QFont bitcoinAddressFont();
@@ -27,6 +30,7 @@ public:
     static void setupAmountWidget(QLineEdit *widget, QWidget *parent);
 
     // Parse "bitcoin:" URL into recipient object, return true on succesful parsing
+    // See Bitcoin URL definition discussion here: https://bitcointalk.org/index.php?topic=33490.0
     static bool parseBitcoinURL(const QUrl *url, SendCoinsRecipient *out);
 };