4
0
mirror of https://github.com/QuasarApp/QuasarAppLib.git synced 2025-04-28 18:54:39 +00:00

39 lines
719 B
C
Raw Normal View History

2020-02-18 22:28:17 +03:00
#ifndef HELPDATA_H
#define HELPDATA_H
#include <QHash>
namespace QuasarAppUtils{
namespace Help {
typedef QHash<QString, QString> Options;
typedef QHash<QString, Options> Charters;
/**
* @brief print - line of help
* @param key - option name
* @param value - description of option
*/
void print(const QString& key, const QString& value);
/**
* @brief print = help Charter
* @param charter - charter of help
*/
void print(const Options& charter);
/**
* @brief print - all help
* @param help - help for printing
*/
void print(const Charters& help);
/**
* @brief setLineLength - sets new length of helps line
* @param newLength - new size
*/
void setLineLength(int newLength);
}
}
#endif // HELPDATA_H