From 80effa9443f3310f4b668d99837b95c3c2feda78 Mon Sep 17 00:00:00 2001 From: Theofilos Intzoglou Date: Sun, 9 Oct 2011 02:41:21 +0300 Subject: Add some helper function used mostly for convertions between datatypes --- src/Qt/helper.cpp | 28 ++++++++++++++++++++++++++++ src/Qt/helper.h | 5 +++++ 2 files changed, 33 insertions(+) create mode 100644 src/Qt/helper.cpp create mode 100644 src/Qt/helper.h (limited to 'src/Qt') diff --git a/src/Qt/helper.cpp b/src/Qt/helper.cpp new file mode 100644 index 0000000..93a00fe --- /dev/null +++ b/src/Qt/helper.cpp @@ -0,0 +1,28 @@ +#include "helper.h" +#include + +QStringList CListToQStringList(StringList *clist) +{ + QStringList list; + + for (int i=0; i +#include + +QStringList CListToQStringList(StringList *); +StringList* QStringListToCList(const QStringList&); \ No newline at end of file -- cgit v1.2.3-65-gdbad