File indexing completed on 2024-05-26 05:09:14

0001 /*
0002     SPDX-FileCopyrightText: 2013-2015 Christian Dávid <christian-david@web.de>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef GWENHYWFARQTOPERATORS_H
0007 #define GWENHYWFARQTOPERATORS_H
0008 
0009 #include <gwenhywfar/stringlist.h>
0010 
0011 class QString;
0012 #include "qcontainerfwd.h"
0013 
0014 /**
0015  * @defgroup gwenhywfarqtoperators Helper functions for using gwenhywfar with Qt
0016  *
0017  * These functions are similar to original gwenhywfar ones. They are meant to glue qt and gwenhywfar.
0018  *
0019  * @{
0020  */
0021 
0022 /**
0023  * @brief Create GWEN_STRINGLIST from QStringList
0024  */
0025 GWEN_STRINGLIST* GWEN_StringList_fromQStringList(const QStringList& input);
0026 
0027 /**
0028  * @brief Create GWEN_STRINGLIST from QString
0029  */
0030 GWEN_STRINGLIST* GWEN_StringList_fromQString(const QString& input);
0031 
0032 /** @} */ // end of gwenhywfarqtoperators
0033 
0034 #endif // GWENHYWFARQTOPERATORS_H