Source Code (Use browser search to find items of interest.)
Class Index
klyx'Logfile (./klyx/src/SendFaxDialog.h:80)
class Logfile: public QDialog
{
Q_OBJECT
public:
Logfile ( LyXView* view, QWidget * parent=0, const char * name=0,
WFlags f=0 );
void loadFile( const QString& filename );
private:
LyXView* _view;
QListBox* listboxLB;
};
#endif
/*
* $Log: SendFaxDialog.h,v $
* Revision 1.4 1999/11/20 17:38:39 kalle
* Qt changed signal signatures, more Unicode-safe
*
* Revision 1.3 1999/11/18 21:36:26 kalle
* Started to port KLyX to KDE 2.0 (~~ 75% done)
*
* Revision 1.2 1998/03/15 07:11:19 kalle
* More Qt-ified
*
* Revision 1.1 1998/01/13 22:10:32 kalle
* Fax sending, phonebook and logfile
* (not really functional yet)
*
*/
klyx'Logfile::Logfile() (./klyx/src/SendFaxDialog.C:324)
Logfile::Logfile( LyXView* view, QWidget* parent,
const char * name,
WFlags f ) :
QDialog( parent, name, false, f ),
_view( view )
{
listboxLB = new QListBox( this );
listboxLB->setGeometry( 0, 0, 300, 300 );
QPushButton* closePB = new QPushButton( i18n( "Close" ),
this );
closePB->setGeometry( 150, 310, 100, 30 );
QObject::connect( closePB, SIGNAL( clicked() ),
this, SLOT( hide() ) );
setCaption( i18n( "Message View" ) );
}
klyx'Logfile::loadFile() (./klyx/src/SendFaxDialog.C:343)
void Logfile::loadFile( const QString& _filename )
{
listboxLB->clear();
QFile file( _filename );
if( file.open( IO_ReadOnly ) )
{
QTextStream stream( &file );
listboxLB->insertItem( stream.readLine() );
file.close();
}
}
/*
* $Log: SendFaxDialog.C,v $
* Revision 1.7 1999/11/20 17:38:39 kalle
* Qt changed signal signatures, more Unicode-safe
*
* Revision 1.6 1999/11/18 21:36:26 kalle
* Started to port KLyX to KDE 2.0 (~~ 75% done)
*
* Revision 1.5 1999/01/05 11:16:52 kulow
* s/klocale->translate/i18n
* updated po files with the newly i18ned file dialogs
*
* Revision 1.4 1998/03/15 07:11:18 kalle
* More Qt-ified
*
* Revision 1.3 1998/03/03 22:36:26 kulow
* removed all those ->show(), they make me crazy
*
* Revision 1.2 1998/01/27 23:09:54 kalle
* The first part of the monster commit. Perhaps not everything
* compiles yet...
* The ViewLogfile dialog is in, but not yet tested.
*
* Revision 1.1 1998/01/13 22:10:32 kalle
* Fax sending, phonebook and logfile
* (not really functional yet)
*
*/