Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::Core::Internal::DebugBackend Struct Reference

Collaboration diagram for Opie::Core::Internal::DebugBackend:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DebugBackend ()
 ~DebugBackend ()
void debug (unsigned short level, unsigned int, const QString &data)

Private Member Functions

void debugFile (const QString &, const QString &data)
void debugMsgB (const QString &, const QString &data)
void debugShel (const QString &, const QString &data)
void debugSysl (int, const QString &)
void debugSock (const QString &, const QString &data)
QCString line (const QString &, const QString &data)

Private Attributes

bool m_opened: 1
QFilem_file
QHostAddress m_addr
int m_port
QSocketDevice * m_sock
short m_outp

Constructor & Destructor Documentation

Opie::Core::Internal::DebugBackend::DebugBackend  )  [inline]
 

Definition at line 97 of file odebug.cpp.

References Opie::Core::OGlobalSettings::debugMode(), and m_outp.

Opie::Core::Internal::DebugBackend::~DebugBackend  )  [inline]
 

Definition at line 100 of file odebug.cpp.

References m_file, and m_sock.


Member Function Documentation

void Opie::Core::Internal::DebugBackend::debug unsigned short  level,
unsigned  int,
const QString data
 

Definition at line 121 of file odebug.cpp.

References debugFile(), debugMsgB(), debugShel(), debugSock(), debugSysl(), m_outp, oApp, Opie::Core::Internal::ODEBUG_ERROR, Opie::Core::Internal::ODEBUG_FATAL, Opie::Core::ODEBUG_FILE, Opie::Core::ODEBUG_IGNORE, Opie::Core::Internal::ODEBUG_INFO, Opie::Core::ODEBUG_MSGBOX, Opie::Core::ODEBUG_SOCKET, Opie::Core::ODEBUG_STDERR, Opie::Core::ODEBUG_SYSLOG, Opie::Core::Internal::ODEBUG_WARN, Opie::Internal::priority(), and qDebug().

void Opie::Core::Internal::DebugBackend::debugFile const QString ,
const QString data
[inline, private]
 

Definition at line 167 of file odebug.cpp.

References QFile::at(), Opie::Core::OGlobalSettings::debugOutput(), IO_Append, IO_WriteOnly, QCString::length(), line(), m_file, m_opened, QFile::open(), qDebug(), QFile::size(), and QFile::writeBlock().

Referenced by debug().

void Opie::Core::Internal::DebugBackend::debugMsgB const QString ,
const QString data
[private]
 

Definition at line 188 of file odebug.cpp.

References l, and warning().

Referenced by debug().

void Opie::Core::Internal::DebugBackend::debugShel const QString ,
const QString data
[private]
 

Definition at line 192 of file odebug.cpp.

References QString::local8Bit(), and output.

Referenced by debug().

void Opie::Core::Internal::DebugBackend::debugSock const QString ,
const QString data
[private]
 

Definition at line 202 of file odebug.cpp.

References Opie::Core::OGlobalSettings::debugOutput(), QString::find(), QString::left(), QCString::length(), QString::length(), line(), m_addr, m_opened, m_port, m_sock, qDebug(), QString::right(), and QString::toInt().

Referenced by debug().

void Opie::Core::Internal::DebugBackend::debugSysl int  ,
const QString
[private]
 

Definition at line 198 of file odebug.cpp.

References QString::local8Bit().

Referenced by debug().

QCString Opie::Core::Internal::DebugBackend::line const QString ,
const QString data
[private]
 

Definition at line 227 of file odebug.cpp.

References QString::local8Bit(), and str.

Referenced by debugFile(), and debugSock().


Member Data Documentation

QHostAddress Opie::Core::Internal::DebugBackend::m_addr [private]
 

Definition at line 115 of file odebug.cpp.

Referenced by debugSock().

QFile* Opie::Core::Internal::DebugBackend::m_file [private]
 

Definition at line 114 of file odebug.cpp.

Referenced by debugFile(), and ~DebugBackend().

bool Opie::Core::Internal::DebugBackend::m_opened [private]
 

Definition at line 113 of file odebug.cpp.

Referenced by debugFile(), and debugSock().

short Opie::Core::Internal::DebugBackend::m_outp [private]
 

Definition at line 118 of file odebug.cpp.

Referenced by debug(), and DebugBackend().

int Opie::Core::Internal::DebugBackend::m_port [private]
 

Definition at line 116 of file odebug.cpp.

Referenced by debugSock().

QSocketDevice* Opie::Core::Internal::DebugBackend::m_sock [private]
 

Definition at line 117 of file odebug.cpp.

Referenced by debugSock(), and ~DebugBackend().


The documentation for this struct was generated from the following file:
Generated on Sat Nov 5 18:01:09 2005 for OPIE by  doxygen 1.4.2