obexclientwindow.h Example File
obex/simpleobexdemo/obexclientwindow.h
#ifndef OBEXCLIENTWINDOW_H
#define OBEXCLIENTWINDOW_H
#include <QMainWindow>
class QObexClientSession;
class QTcpSocket;
class QTextEdit;
class QHostAddress;
class ObexClientWindow : public QMainWindow
{
Q_OBJECT
public:
ObexClientWindow(const QHostAddress &serverAddress,
quint16 serverPort,
QWidget *parent = 0,
Qt::WFlags f = 0);
private slots:
void socketConnected();
void buttonClicked();
void socketReadyRead();
private:
QTcpSocket *m_socket;
QObexClientSession *m_obexClient;
QTextEdit *m_textEdit;
void setupUi();
};
#endif
Copyright © 2009 Trolltech |
Trademarks |
Qt Extended 4.4.3 |