Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

lobtracestreamqt.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00019 /*
00020    $Id: lobtracestreamqt.h,v 1.3 2002/12/02 00:51:07 lbayle Exp $
00021 
00022    This file is part of the LobTraceStream project
00023    Copyright (C) 2002 Louis BAYLE <lbayle@users.sourceforge.net>
00024 
00025    This library is free software; you can redistribute it and/or
00026    modify it under the terms of the GNU Library General Public
00027    License as published by the Free Software Foundation; either
00028    version 2 of the License, or (at your option) any later version.
00029 
00030 */
00031 //========================================================================
00032 
00033 #include "lobtracestream.h"
00034 
00035 class QString;
00036 class QStringList;
00037 class QLineEdit;
00038 class QTextEdit;
00039 class QTable;
00040 class QRadioButton;
00041 class QCheckBox;
00042 
00043 class LobTraceStreamQt : public LobTraceStream
00044 {
00045 public:
00046     LobTraceStreamQt(LobTraceProvider *tp = &g_lobTraceProvider);
00047 
00048     // LobTraceStream operators
00049     LobTraceStreamQt& operator<< ( const int&    param )
00050     {
00051         LobTraceStream::operator<< (param);
00052         return *this;
00053     }
00054     LobTraceStreamQt& operator<< ( const char*   param )
00055     {
00056         LobTraceStream::operator<< (param);
00057         return *this;
00058     }
00059     LobTraceStreamQt& operator<< ( const double& param )
00060     {
00061         LobTraceStream::operator<< (param);
00062         return *this;
00063     }
00064     LobTraceStreamQt& operator<< ( LobTraceStreamEnd& param )
00065     {
00066         LobTraceStream::operator<< (param);
00067         return *this;
00068     }
00069 
00070     // Qt specific operators
00071     LobTraceStreamQt& operator<< ( QString*        param );
00072     LobTraceStreamQt& operator<< ( QStringList*    param );
00073     LobTraceStreamQt& operator<< ( QLineEdit*      param );
00074     LobTraceStreamQt& operator<< ( QTextEdit*      param );
00075     LobTraceStreamQt& operator<< ( QTable*         param );
00076     LobTraceStreamQt& operator<< ( QRadioButton*   param );
00077     LobTraceStreamQt& operator<< ( QCheckBox*      param );
00078 
00079     LobTraceStreamQt& operator<< ( QString&        param );
00080     LobTraceStreamQt& operator<< ( QStringList&    param );
00081     LobTraceStreamQt& operator<< ( QLineEdit&      param );
00082     LobTraceStreamQt& operator<< ( QTextEdit&      param );
00083     LobTraceStreamQt& operator<< ( QTable&         param );
00084     LobTraceStreamQt& operator<< ( QRadioButton&   param );
00085     LobTraceStreamQt& operator<< ( QCheckBox&      param );
00086 
00087     // other
00088     virtual void dump( );
00089 
00093     friend ostream & operator<< (ostream& os, LobTraceStreamQt& lts)
00094     {
00095        os << "LobTraceStreamQt Instance (" << &lts << ") sending to LobTraceProvider : " << lts.m_pTraceProvider;
00096        return os;
00097     }
00098 
00099 };
00100 
00101 //========================================================================

Generated on Sun Dec 15 23:17:21 2002 for LobTraceStream by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001