#include "Basics_Utils.hxx"
#include <QString>
#include <QDebug>
Go to the source code of this file.
|
| #define | QCHARSTAR(qstring) qstring.toLatin1().data() |
| |
| #define | S2QS(string) QString(string.c_str()) |
| |
| #define | QS2S(qstring) ToString(QCHARSTAR(qstring)) |
| |
| #define | QSTRING(any) S2QS(ToString(any)) |
| |
| #define | GETTEXT(widget) ToString(QCHARSTAR(widget->text().trimmed())) |
| |
| #define | SETTEXT(widget, str) widget->setText(str.c_str()) |
| |
| #define | QDEBUG qWarning() |
| |
| #define | QLOG(data) QDEBUG << __FILE__<<" ["<<__LINE__<<"] : " << data |
| |
| #define | LOG QLOG |
| |
| #define GETTEXT |
( |
|
widget | ) |
ToString(QCHARSTAR(widget->text().trimmed())) |
| #define QCHARSTAR |
( |
|
qstring | ) |
qstring.toLatin1().data() |
| #define QDEBUG qWarning() |
| #define QLOG |
( |
|
data | ) |
QDEBUG << __FILE__<<" ["<<__LINE__<<"] : " << data |
| #define QS2S |
( |
|
qstring | ) |
ToString(QCHARSTAR(qstring)) |
| #define QSTRING |
( |
|
any | ) |
S2QS(ToString(any)) |
| #define S2QS |
( |
|
string | ) |
QString(string.c_str()) |
| #define SETTEXT |
( |
|
widget, |
|
|
|
str |
|
) |
| widget->setText(str.c_str()) |