18 const size_t und = label.find_first_of(
"@");
19 if(und != std::string::npos) {
20 owner = label.substr(0,und);
21 name = label.substr(und+1,std::string::npos);
50 std::string ret =
owner;
#define Q_BEGIN_NAMESPACE
label for QObject in the QEvent
std::string GetStringLabel() const
get string in the format "owner@name"
bool operator<(const QEventLabel &other) const
less operator
QEventLabel()
default constructor
std::string owner
owner of the QObject
const QEventLabel & operator=(const std::string &label)
assignment operator
bool operator==(const QEventLabel &other) const
comparison operator
std::string name
name of the QObject
void Init(const std::string &)
function called in constructors