<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- /home/reggie/tmp/qt-3.1-reggie-23625/qt-x11-free-3.1.1/include/qassistantclient.h:1 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>qassistantclient.h Include File</title> <style type="text/css"><!-- h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } a:visited { color: #672967; text-decoration: none } body { background: #ffffff; color: black; } --></style> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="#E5E5E5"> <td valign=center> <a href="index.html"> <font color="#004faf">Home</font></a> | <a href="classes.html"> <font color="#004faf">All Classes</font></a> | <a href="mainclasses.html"> <font color="#004faf">Main Classes</font></a> | <a href="annotated.html"> <font color="#004faf">Annotated</font></a> | <a href="groups.html"> <font color="#004faf">Grouped Classes</font></a> | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>qassistantclient.h</h1> <p>This is the verbatim text of the qassistantclient.h include file. It is provided only for illustration; the copyright remains with Trolltech. <hr> <pre> /********************************************************************** ** Copyright (C) 2002 Trolltech AS. All rights reserved. ** ** This file is part of the QAssistantClient library. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #ifndef QASSISTANTCLIENT_H #define QASSISTANTCLIENT_H #include <qobject.h> class QSocket; class QProcess; class QAssistantClient : public QObject { Q_OBJECT Q_PROPERTY( bool open READ isOpen ) public: QAssistantClient( const QString &path, QObject *parent = 0, const char *name = 0 ); ~QAssistantClient(); bool isOpen() const; public slots: virtual void openAssistant(); virtual void closeAssistant(); virtual void showPage( const QString &page ); signals: void assistantOpened(); void assistantClosed(); void error( const QString &msg ); private slots: void socketConnected(); void socketConnectionClosed(); void readPort(); private: QSocket *socket; QProcess *proc; Q_UINT16 port; QString host, assistantCommand, pageBuffer; bool opened; }; #endif </pre> <!-- eof --> <p><address><hr><div align=center> <table width=100% cellspacing=0 border=0><tr> <td>Copyright © 2002 <a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a> <td align=right><div align=right>Qt version 3.1.1</div> </table></div></address></body> </html>