mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
29 lines
825 B
C++
29 lines
825 B
C++
/* Copyright (C) 2016
|
|
* swift project Community / Contributors
|
|
*
|
|
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
|
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
|
|
* or distributed except according to the terms contained in the LICENSE file.
|
|
*/
|
|
|
|
//! \file
|
|
|
|
#ifndef BLACKMISC_HTMLUTILS_H
|
|
#define BLACKMISC_HTMLUTILS_H
|
|
|
|
#include "blackmisc/blackmiscexport.h"
|
|
#include <QStringBuilder>
|
|
|
|
//! Free functions in BlackMisc
|
|
namespace BlackMisc
|
|
{
|
|
//! Values as HTML table
|
|
BLACKMISC_EXPORT QString toHtmTable(const QStringList &values, int columns);
|
|
|
|
//! As hyperlink
|
|
BLACKMISC_EXPORT QString asHyperlink(const QString &url, const QString &text = "");
|
|
|
|
} // ns
|
|
|
|
#endif // guard
|