устранил "warning : ignoring <defaultcodec> element"
[novacoin.git] / src / qt / guiutil.h
index db100bd..fd72668 100644 (file)
@@ -30,7 +30,7 @@ namespace GUIUtil
     void setupAddressWidget(QLineEdit *widget, QWidget *parent);
     void setupAmountWidget(QLineEdit *widget, QWidget *parent);
 
-    // Parse "bitcoin:" URI into recipient object, return true on successful parsing
+    // Parse "novacoin:" URI into recipient object, return true on successful parsing
     // See Bitcoin URI definition discussion here: https://bitcointalk.org/index.php?topic=33490.0
     bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out);
     bool parseBitcoinURI(QString uri, SendCoinsRecipient *out);
@@ -73,7 +73,8 @@ namespace GUIUtil
 
     // Open debug.log
     void openDebugLogfile();
-
+    // Open novacoin.conf
+    void openConfigfile();
     /** Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text
       representation if needed. This assures that Qt can word-wrap long tooltip messages.
       Tooltips longer than the provided size threshold (in characters) are wrapped.
@@ -114,6 +115,8 @@ namespace GUIUtil
         QString coreOptions;
         QString uiOptions;
     };
+    /* Convert seconds into a QString with days, hours, mins, secs */
+    QString formatDurationStr(int secs);
 
 } // namespace GUIUtil