It's a c++: use string.clear()
[novacoin.git] / src / qt / guiutil.h
index e640e59..97838bb 100644 (file)
@@ -8,6 +8,8 @@
 #include <QEvent>
 #include <QTextEdit>
 
+#include <boost/filesystem.hpp>
+
 QT_BEGIN_NAMESPACE
 class QFont;
 class QLineEdit;
@@ -22,6 +24,11 @@ class SendCoinsRecipient;
  */
 namespace GUIUtil
 {
+     /* Convert QString to OS specific boost path through UTF-8 */
+    boost::filesystem::path qstringToBoostPath(const QString &path);
+     /* Convert OS specific boost path to QString through UTF-8 */
+    QString boostPathToQString(const boost::filesystem::path &path);
+
     // Create human-readable string from date
     QString dateTimeStr(const QDateTime &datetime);
     QString dateTimeStr(qint64 nTime);