Mudlet  0
Mudclient
ircuser.h File Reference
#include <IrcGlobal>
#include <QtCore/qobject.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qscopedpointer.h>

Go to the source code of this file.

Data Structures

class  IrcUser
 

Functions

IRC_MODEL_EXPORT QDebug operator<< (QDebug debug, const IrcUser *user)
 

Function Documentation

◆ operator<<()

IRC_MODEL_EXPORT QDebug operator<< ( QDebug  debug,
const IrcUser user 
)

Definition at line 260 of file ircuser.cpp.

References IRC_END_NAMESPACE, and IrcUser::name.

261 {
262  if (!user)
263  return debug << "IrcUser(0x0) ";
264  debug.nospace() << user->metaObject()->className() << '(' << (void*) user;
265  if (!user->objectName().isEmpty())
266  debug.nospace() << ", name=" << qPrintable(user->objectName());
267  if (!user->name().isEmpty())
268  debug.nospace() << ", user=" << qPrintable(user->name());
269  debug.nospace() << ')';
270  return debug.space();
271 }
QString name
Definition: ircuser.h:46