|
static int | stricmp (char const *s1, char const *s2) |
|
static int | strnicmp (char const *s1, char const *s2, size_t n) |
|
static QString | getApplicationDir () |
|
static QStringList | splitLines (QByteArray const &ba, std::function< QString(char const *ptr, size_t len)> const &tos) |
| QByteArrayの文字列を行に分割する。 More...
|
|
static QStringList | splitLines (QString const &text) |
| 文字列を行に分割する。 More...
|
|
static void | splitLines (char const *begin, char const *end, std::vector< std::string > *out, bool keep_newline) |
| 文字列を行に分割する。 More...
|
|
static void | splitLines (std::string const &text, std::vector< std::string > *out, bool need_crlf) |
|
static QStringList | splitWords (QString const &text) |
| 文字列を単語に分割する。 More...
|
|
static QString | getFileName (QString const &path) |
|
static QString | makeDateTimeString (const QDateTime &dt) |
|
static bool | starts_with (std::string const &str, std::string const &with) |
|
static std::string | mid (std::string const &str, int start, int length=-1) |
|
static QString | normalizePathSeparator (QString const &str) |
|
static QString | joinWithSlash (QString const &left, QString const &right) |
|
static void | setFixedSize (QWidget *w) |
|
static void | drawFrame (QPainter *pr, int x, int y, int w, int h, QColor color_topleft, QColor color_bottomright=QColor()) |
| 矩形のフレームを描画する。 More...
|
|
static void | dump (const uint8_t *ptr, size_t len) |
| メモリダンプを16進数で表示する。 More...
|
|
static void | dump (QByteArray const *in) |
|
static bool | isText (QString const &mimetype) |
|
static bool | isImage (QString const &mimetype) |
|
static bool | isSVG (QString const &mimetype) |
|
static bool | isPSD (QString const &mimetype) |
|
static QString | abbrevBranchName (QString const &name) |
| ブランチ名を短縮形に変換する。 More...
|
|
static std::string | makeProxyServerURL (std::string text) |
|
static QString | makeProxyServerURL (QString text) |
|
static QPoint | contextMenuPos (QWidget *w, QContextMenuEvent *e) |
|
static bool | isExecutable (QString const &cmd) |
|
static QString | complementRemoteURL (QString url, bool toggle) |
| リモートURLの形式を補完または変換する。 More...
|
|
static QString | collapseWhitespace (QString const &source) |
| 文字列内の連続する空白文字を1つのスペースにまとめる。 More...
|
|
static bool | isValidMailAddress (const QString &email) |
| 文字列が有効なメールアドレスか判定する More...
|
|
static bool | isValidMailAddress (const std::string &email) |
| 文字列が有効なメールアドレスか判定する More...
|
|
static std::string_view | trimmed (std::string_view const &s) |
| 文字列の両端から空白文字を取り除く More...
|
|
static std::string | bin_to_hex_string (const void *begin, const void *end) |
| バイナリデータを16進数文字列に変換する More...
|
|
static std::vector< uint8_t > | hex_string_to_bin (std::string_view const &s, const char *sep=nullptr) |
| 16進数文字列をバイナリデータに変換する More...
|
|
static int | compare (uint8_t const *a, size_t n, uint8_t const *b, size_t m) |
|
static int | compare (std::vector< uint8_t > const &a, std::vector< uint8_t > const &b) |
|